/* ═══════════════════════════════════════════════════════════
   Karachi Galvanizing & Engineering Co. — Design System
   Industrial dark theme · glassmorphism · molten ember accents
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Steel backgrounds */
  --bg-950: #020617;
  --bg-900: #0f172a;
  --bg-800: #1e293b;

  /* Brand glow accents */
  --brand-orange: #ff6a00;
  --brand-amber: #ff9d00;
  --zinc-blue: #38bdf8;

  /* Text */
  --text-white: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #0a0e13;

  /* Glassmorphism */
  --border-card: rgba(255, 255, 255, 0.08);
  --border-brand: rgba(255, 106, 0, 0.3);
  --glass-bg: rgba(30, 41, 59, 0.7);
  --glass-blur: blur(12px);

  /* Radii / shadows */
  --radius: 12px;
  --shadow-glow: 0 0 40px rgba(255, 106, 0, 0.25);
  --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.45);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Outfit", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-950);
  color: var(--text-muted);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--brand-orange); color: var(--text-dark); }
img { max-width: 100%; display: block; }
section { scroll-margin-top: 84px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text-white); }
a { color: inherit; text-decoration: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.mono { font-family: var(--font-mono); }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.w-full { width: 100%; }
.link { color: var(--brand-amber); text-decoration: underline; text-underline-offset: 3px; }

/* ─── Custom scrollbar ─── */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-950); }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 6px; border: 2px solid var(--bg-950); }
::-webkit-scrollbar-thumb:hover { background: var(--brand-orange); }

/* ─── Hazard bar ─── */
.hazard-bar {
  height: 4px;
  background: repeating-linear-gradient(-45deg, var(--brand-orange), var(--brand-orange) 10px, #020617 10px, #020617 20px);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.5rem; border-radius: 8px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-orange); color: var(--text-dark); font-weight: 700; }
.btn-primary:hover { background: var(--brand-amber); box-shadow: var(--shadow-glow); transform: translateY(-2px); }
.btn-whatsapp { background: #16a34a; color: #fff; }
.btn-whatsapp:hover { background: #22c55e; box-shadow: 0 8px 28px rgba(22, 163, 74, 0.35); transform: translateY(-2px); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

/* ─── Glassmorphic card ─── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover { border-color: var(--border-brand); transform: translateY(-4px); }

/* ─── Header / nav ─── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 90; }
.nav-shell {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 0.65rem 1.25rem;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-card);
  max-width: 1280px; margin: 0 auto;
  transition: background 0.3s ease;
}
.site-header.scrolled .nav-shell { background: rgba(2, 6, 23, 0.92); }
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-badge {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-amber));
  color: var(--text-dark); font-family: var(--font-mono); font-weight: 700; font-size: 0.8rem;
  clip-path: polygon(0 0, 100% 0, 100% 76%, 50% 100%, 0 76%);
  box-shadow: 0 0 18px rgba(255, 106, 0, 0.4);
}
.brand-name { display: block; font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; color: var(--text-white); letter-spacing: 0.02em; line-height: 1.1; }
.brand-sub { display: block; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.2em; color: var(--brand-amber); text-transform: uppercase; }
.status-badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.35); background: rgba(34, 197, 94, 0.08);
  padding: 0.35rem 0.7rem; border-radius: 999px; white-space: nowrap;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.6);} 50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(34,197,94,0);} }
.main-nav { display: flex; align-items: center; gap: 1.4rem; margin-left: auto; }
.main-nav a:not(.btn) { font-size: 0.88rem; font-weight: 600; color: var(--text-muted); border-bottom: 2px solid transparent; padding: 0.3rem 0; transition: color 0.2s, border-color 0.2s; }
.main-nav a:not(.btn):hover { color: var(--text-white); border-color: var(--brand-orange); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border-card); border-radius: 8px; padding: 0.55rem; cursor: pointer; margin-left: auto; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text-white); margin: 4px 0; transition: 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; flex-direction: column; gap: 0.4rem; padding: 0.6rem 1.25rem 1.25rem; background: rgba(2, 6, 23, 0.96); border-bottom: 1px solid var(--border-card); }
.mobile-nav.open { display: flex; }
.mobile-nav a:not(.btn) { color: var(--text-muted); font-weight: 600; padding: 0.6rem 0.2rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.mobile-nav .btn { margin-top: 0.6rem; }

/* ─── Hero ─── */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
#emberCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url("https://res.cloudinary.com/fteiyskk/image/upload/q_auto,f_auto,w_1920/karachi-galv/hero-factory.jpg");
  background-size: cover; background-position: center;
}
.hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(2,6,23,0.96) 20%, rgba(2,6,23,0.78) 55%, rgba(2,6,23,0.45) 100%),
              linear-gradient(to top, rgba(2,6,23,0.9), transparent 40%);
}
.hero-inner { position: relative; z-index: 3; max-width: 1180px; margin: 0 auto; padding: 8rem 1.25rem 5rem; width: 100%; }
.eyebrow { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand-amber); margin-bottom: 1.25rem; }
.eyebrow-line { width: 42px; height: 2px; background: var(--brand-orange); }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.4rem; }
.grad-text { background: linear-gradient(90deg, var(--brand-orange), var(--brand-amber), var(--zinc-blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { max-width: 640px; font-size: 1.08rem; color: var(--text-muted); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.2rem; }
.metric-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: #cbd5e1; border: 1px solid var(--border-card); background: rgba(255,255,255,0.04);
  padding: 0.4rem 0.8rem; border-radius: 999px;
}

/* ─── Stats band ─── */
.stats-band { background: var(--bg-900); border-block: 1px solid var(--border-card); padding: 3.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat-card { text-align: center; padding: 1rem; }
.stat-num { font-family: var(--font-mono); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--text-white); line-height: 1; }
.stat-card:nth-child(1) .stat-num { color: var(--brand-orange); text-shadow: 0 0 24px rgba(255,106,0,0.5); }
.stat-card:nth-child(2) .stat-num { color: var(--brand-amber); }
.stat-card:nth-child(3) .stat-num { color: var(--zinc-blue); }
.stat-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.5rem; }

/* ─── Sections ─── */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-900); }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.015em; margin-bottom: 0.8rem; }
.section-sub { color: var(--text-muted); }

/* ─── Calculators ─── */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; }
.calc-controls, .calc-outputs { padding: 1.75rem; }
.field-label { display: block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem; }
.field {
  width: 100%; background: rgba(2, 6, 23, 0.6); border: 1px solid var(--border-card); border-radius: 8px;
  color: var(--text-white); padding: 0.75rem 0.9rem; font-size: 0.95rem; font-family: var(--font-body);
  transition: border-color 0.2s ease;
}
.field:focus { outline: none; border-color: var(--brand-orange); }
.field::placeholder { color: #64748b; }
select.field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; }
input[type="range"] { width: 100%; appearance: none; -webkit-appearance: none; height: 6px; border-radius: 4px; background: linear-gradient(90deg, var(--brand-orange), var(--brand-amber)); outline: none; margin: 0.8rem 0 0.3rem; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--text-white); border: 4px solid var(--brand-orange); box-shadow: 0 0 14px rgba(255,106,0,0.7); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--text-white); border: 4px solid var(--brand-orange); cursor: grab; }
.range-scale { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.62rem; color: #64748b; }
.hint { font-size: 0.78rem; color: #64748b; margin-top: 0.8rem; }
.out-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px dashed rgba(255,255,255,0.08); }
.out-row:last-of-type { border-bottom: none; }
.out-label { font-size: 0.85rem; color: var(--text-muted); }
.out-value { font-size: 1.05rem; font-weight: 700; color: var(--text-white); }
.out-badge { font-family: var(--font-mono); font-size: 0.72rem; color: #86efac; border: 1px solid rgba(34,197,94,0.4); background: rgba(34,197,94,0.1); padding: 0.25rem 0.6rem; border-radius: 999px; }
.lifebar { height: 10px; border-radius: 6px; background: rgba(255,255,255,0.08); margin-top: 1.2rem; overflow: hidden; }
.lifebar-fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--brand-orange), var(--zinc-blue)); transition: width 0.45s ease; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ─── Services ─── */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.service-card { padding: 1.75rem; }
.service-icon { font-size: 1.7rem; margin-bottom: 1rem; filter: drop-shadow(0 0 12px rgba(255,106,0,0.5)); }
.service-card h3 { font-size: 1.12rem; margin-bottom: 0.7rem; }
.service-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1rem; }
.tick-list { list-style: none; }
.tick-list li { font-size: 0.84rem; color: #cbd5e1; padding: 0.3rem 0 0.3rem 1.3rem; position: relative; }
.tick-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-amber); font-weight: 700; }

/* ─── Process lifecycle ─── */
.proc-track { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.proc-step {
  flex: 1 1 130px; display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem;
  background: rgba(30, 41, 59, 0.5); border: 1px solid var(--border-card); border-radius: 10px;
  padding: 0.9rem 1rem; color: var(--text-muted); cursor: pointer; text-align: left;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
  font-family: var(--font-body);
}
.proc-step:hover { border-color: var(--border-brand); transform: translateY(-2px); }
.proc-step.active { border-color: var(--brand-orange); background: rgba(255, 106, 0, 0.1); box-shadow: 0 0 24px rgba(255,106,0,0.15); }
.proc-num { font-family: var(--font-mono); font-size: 0.72rem; color: var(--brand-amber); }
.proc-step.active .proc-num { color: var(--brand-orange); }
.proc-name { font-weight: 600; font-size: 0.86rem; color: var(--text-white); }
.proc-panel { padding: 1.75rem; min-height: 130px; }
.proc-panel h3 { margin-bottom: 0.6rem; font-size: 1.2rem; }
.proc-panel p { color: var(--text-muted); font-size: 0.95rem; }

/* ─── Before/After slider ─── */
.ba-wrap { position: relative; width: 100%; aspect-ratio: 16/9; max-height: 620px; border: 1px solid var(--border-card); border-radius: var(--radius); overflow: hidden; user-select: none; touch-action: none; background: var(--bg-900); }
.ba { position: absolute; inset: 0; overflow: hidden; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after img { transform: none; }
.ba-before { width: 50%; z-index: 2; border-right: 2px solid var(--brand-orange); }
.ba-before img { width: 100%; height: 100%; object-fit: cover; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 44px; display: grid; place-items: center; cursor: ew-resize; outline: none;
}
.ba-grip { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-orange); color: var(--text-dark); display: grid; place-items: center; font-size: 1.1rem; font-weight: 700; box-shadow: 0 0 0 4px rgba(255,106,0,0.25), 0 8px 24px rgba(0,0,0,0.5); }
.ba-handle:focus-visible .ba-grip { box-shadow: 0 0 0 4px var(--zinc-blue), 0 8px 24px rgba(0,0,0,0.5); }
.ba-tag { position: absolute; top: 1rem; z-index: 3; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.4rem 0.75rem; border-radius: 999px; pointer-events: none; }
.ba-tag-left { left: 1rem; background: rgba(2,6,23,0.8); color: #fca5a5; border: 1px solid rgba(248,113,113,0.4); }
.ba-tag-right { right: 1rem; background: rgba(2,6,23,0.8); color: #86efac; border: 1px solid rgba(34,197,94,0.4); }

/* ─── Gallery ─── */
.g-filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.75rem; }
.g-filter { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); background: rgba(30,41,59,0.5); border: 1px solid var(--border-card); padding: 0.5rem 1rem; border-radius: 999px; cursor: pointer; transition: 0.2s; }
.g-filter:hover { border-color: var(--border-brand); color: var(--text-white); }
.g-filter.active { background: var(--brand-orange); color: var(--text-dark); border-color: var(--brand-orange); font-weight: 700; }
.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.g-item { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-card); cursor: zoom-in; aspect-ratio: 1; transition: transform 0.3s, border-color 0.3s; }
.g-item:hover { transform: translateY(-4px); border-color: var(--border-brand); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, filter 0.4s ease; filter: saturate(0.92); }
.g-item:hover img { transform: scale(1.07); filter: saturate(1.12); }
.g-item figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 2.4rem 0.9rem 0.8rem; background: linear-gradient(to top, rgba(2,6,23,0.95), transparent); transform: translateY(6px); opacity: 0; transition: 0.3s; }
.g-item:hover figcaption { opacity: 1; transform: none; }
.g-cat { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-amber); }
.g-item figcaption p { color: var(--text-white); font-weight: 600; font-size: 0.86rem; margin-top: 0.15rem; }
.g-item.hide { display: none; }

/* ─── Lightbox ─── */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(2,6,23,0.94); backdrop-filter: blur(8px); }
.lightbox.open { display: flex; }
.lightbox img { max-width: 86vw; max-height: 82vh; border-radius: 10px; border: 1px solid var(--border-card); box-shadow: 0 30px 80px rgba(0,0,0,0.7); }
.lb-btn { position: absolute; z-index: 5; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border-card); background: rgba(30,41,59,0.7); color: var(--text-white); font-size: 1.4rem; cursor: pointer; display: grid; place-items: center; transition: 0.2s; }
.lb-btn:hover { background: var(--brand-orange); color: var(--text-dark); border-color: var(--brand-orange); }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-cap { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 0.8rem; color: #cbd5e1; background: rgba(2,6,23,0.8); padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid var(--border-card); white-space: nowrap; }

/* ─── Standards ─── */
.standards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.standard-card { padding: 1.6rem; }
.std-code { display: inline-block; font-family: var(--font-mono); font-weight: 700; font-size: 0.95rem; color: var(--brand-orange); border: 1px solid var(--border-brand); background: rgba(255,106,0,0.08); padding: 0.35rem 0.7rem; border-radius: 6px; margin-bottom: 0.9rem; }
.standard-card p { font-size: 0.87rem; color: var(--text-muted); }

/* ─── RFQ / contact ─── */
.rfq-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 1.5rem; align-items: start; }
.rfq-form { padding: 1.9rem; }
.contact-card { padding: 1.9rem; }
.contact-card h3 { margin-bottom: 1.1rem; }
.contact-list { list-style: none; margin-bottom: 1.4rem; }
.contact-list li { display: flex; align-items: center; gap: 0.7rem; padding: 0.55rem 0; color: #cbd5e1; font-size: 0.92rem; }
.contact-list a:hover { color: var(--brand-amber); }
.c-icon { width: 34px; height: 34px; display: grid; place-items: center; background: rgba(255,106,0,0.1); border: 1px solid var(--border-brand); border-radius: 8px; font-size: 0.95rem; }
.map-frame { margin-top: 1.4rem; border-radius: 10px; overflow: hidden; border: 1px solid var(--border-card); filter: grayscale(0.85) contrast(1.05); }
.map-frame iframe { display: block; width: 100%; height: 240px; border: 0; }

/* ─── Footer ─── */
.site-footer { background: var(--bg-950); border-top: 1px solid var(--border-card); padding: 3.5rem 0 2rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.foot-brand { font-family: var(--font-display); font-weight: 800; color: var(--text-white); letter-spacing: 0.02em; margin-bottom: 0.5rem; }
.foot-brand span { color: var(--brand-orange); }
.foot-text { font-size: 0.85rem; color: var(--text-muted); max-width: 380px; }
.site-footer h4 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.8rem; }
.foot-links { list-style: none; }
.foot-links li { padding: 0.25rem 0; }
.foot-links a { font-size: 0.88rem; color: var(--text-muted); transition: color 0.2s; }
.foot-links a:hover { color: var(--brand-amber); }
.foot-copy { margin-top: 1.6rem; font-size: 0.75rem; color: #475569; }

/* ─── Floating WhatsApp ─── */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 150;
  width: 58px; height: 58px; border-radius: 50%;
  background: #16a34a; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  transition: transform 0.2s, background 0.2s;
}
.wa-float:hover { background: #22c55e; transform: translateY(-3px) scale(1.05); }
.wa-float::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(22,163,74,0.55); animation: pulse-ring 2.2s ease-out infinite; }
@keyframes pulse-ring { 0% { transform: scale(0.85); opacity: 1; } 70% { transform: scale(1.35); opacity: 0; } 100% { transform: scale(1.35); opacity: 0; } }

/* ─── Reveal animation ─── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .services-grid, .standards-grid { grid-template-columns: repeat(2, 1fr); }
  .g-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .status-badge { display: none; }
  .rfq-grid, .calc-grid { grid-template-columns: 1fr; }
  .g-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .hero-inner { padding-top: 7rem; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .proc-step { flex: 1 1 100%; }
}
@media (max-width: 520px) {
  .services-grid, .standards-grid { grid-template-columns: 1fr; }
  .g-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .two-col { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .ba-tag { font-size: 0.56rem; padding: 0.3rem 0.55rem; }
  .wa-float { width: 54px; height: 54px; right: 1rem; bottom: 1rem; }
}

/* ═══ FAQ ═══ */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item { background: var(--glass-bg); border: 1px solid var(--border-card); border-radius: var(--radius); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); padding: 0 1.4rem; transition: border-color .25s ease; }
.faq-item[open] { border-color: var(--border-brand); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; font-family: var(--font-display); font-weight: 600; color: var(--text-white); font-size: 1.02rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.15rem; color: var(--brand-orange); transition: transform .25s ease; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 1.25rem; font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; }
.faq-item p b { color: var(--text-white); }

/* ═══ Responsive: product & service cards ═══ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   SEO sub-pages (products hub, product pages, blog) � additive
   ============================================================ */
.card-link { color: inherit; transition: color 0.2s; }
.card-link:hover { color: var(--brand-amber); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-size: 0.82rem; color: var(--text-muted); padding: 1.25rem 0 0; }
.breadcrumb a { color: var(--brand-amber); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { opacity: 0.5; }

.prod-hero { padding: 2.5rem 0 1rem; }
.prod-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -0.02em; margin: 0.6rem 0 1rem; line-height: 1.15; }
.prod-hero .lead { max-width: 820px; color: #cbd5e1; font-size: 1.05rem; }

.prod-media { margin: 2rem 0 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-card); }
.prod-media img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 16/9; }

.prose p { margin-bottom: 1rem; color: #cbd5e1; }
.prose h2 { font-size: 1.45rem; margin: 2.4rem 0 0.9rem; letter-spacing: -0.01em; }
.prose h3 { font-size: 1.15rem; margin: 1.8rem 0 0.6rem; }
.prose ul { margin: 0 0 1.2rem; padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding: 0.35rem 0 0.35rem 1.6rem; color: #cbd5e1; }
.prose ul li::before { content: "\25B8"; position: absolute; left: 0; color: var(--brand-orange); }
.prose strong { color: var(--text-white); }

.article-body { max-width: 780px; }

.two-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .two-col-grid { grid-template-columns: 1fr; } }

.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem; margin-bottom: 2.5rem; }
.blog-card { display: block; padding: 1.5rem; border: 1px solid var(--border-card); }
.blog-card:hover { border-color: var(--border-brand); transform: translateY(-2px); }
.blog-card h3 { margin-bottom: 0.6rem; font-size: 1.1rem; line-height: 1.3; }
.blog-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.9rem; }
.blog-meta { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--brand-amber); margin-bottom: 0.6rem; display: block; }

.cta-band { margin: 2.5rem 0 0; padding: 2.5rem; border-radius: 14px; background: linear-gradient(135deg, rgba(255,106,0,0.14), rgba(56,189,248,0.08)); border: 1px solid var(--border-brand); text-align: center; }
.cta-band h2 { margin-bottom: 0.5rem; }
.cta-band p { margin-bottom: 1.4rem; color: #cbd5e1; }
.cta-band .btn { margin: 0.25rem; }

/* Brand logo — light variant, transparent, larger */
.brand-logo { height: 44px; width: auto; object-fit: contain; display: block; }
