/* ═══════════════════════════════════════════
   STELLAR INDUSTRIAL SERVICES — DESIGN SYSTEM
   ═══════════════════════════════════════════ */

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

:root {
  --black:       #080808;
  --steel:       #111520;
  --steel-mid:   #1a2035;
  --steel-light: #232c45;
  --orange:      #e8580a;
  --orange-hi:   #ff6b1a;
  --orange-lo:   #b04008;
  --white:       #f0ede8;
  --white-dim:   #c0bbb2;
  --grey:        #7a7a7a;
  --border:      rgba(232,88,10,0.22);
  --border-dim:  rgba(255,255,255,0.06);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 70px;
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem; font-weight: 900; letter-spacing: 0.1em;
  color: var(--white); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo .accent { color: var(--orange); }
.nav-logo-img {
  height: 52px; width: 52px;
  object-fit: contain;
  border-radius: 4px;
  filter: drop-shadow(0 0 6px rgba(232,88,10,0.45));
  transition: filter 0.2s;
}
.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 0 10px rgba(232,88,10,0.75));
}
.logo-hex {
  width: 34px; height: 34px;
  background: var(--orange);
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  display: grid; place-items: center; flex-shrink: 0;
}
.logo-hex svg { width: 15px; height: 15px; fill: white; }
.footer-logo-img {
  width: 80px; height: 80px;
  object-fit: contain;
  border-radius: 6px;
  filter: drop-shadow(0 0 8px rgba(232,88,10,0.4));
}
.nav-links { display: flex; gap: 0; list-style: none; }
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--white-dim);
  text-decoration: none; padding: 0 16px;
  display: flex; align-items: center; height: 70px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--orange); border-bottom-color: var(--orange); }
.nav-cta {
  background: var(--orange); color: white;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none;
  padding: 9px 22px;
  clip-path: polygon(10px 0%,100% 0%,calc(100% - 10px) 100%,0% 100%);
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--orange-hi); }

/* Mobile hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: 0.3s; }
.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0;
  background: var(--steel); z-index: 190; border-bottom: 1px solid var(--border);
  flex-direction: column; padding: 16px 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--white-dim);
  text-decoration: none; padding: 14px 5vw;
  border-bottom: 1px solid var(--border-dim);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--orange); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 140px 5vw 80px;
  position: relative; overflow: hidden;
  background: var(--steel);
  border-bottom: 1px solid var(--border);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(232,88,10,0.1) 0%, transparent 70%),
    linear-gradient(135deg, var(--steel-mid) 0%, var(--steel) 100%);
}
.page-hero-photo {
  position: absolute; inset: 0;
  background-size: cover; background-repeat: no-repeat;
  animation: pgZoom 22s ease-in-out infinite alternate;
}
@keyframes pgZoom {
  0%   { transform: scale(1.04); }
  100% { transform: scale(1.1) translateX(-12px); }
}
.page-hero-ov1 { position:absolute;inset:0;background:linear-gradient(105deg,rgba(5,5,8,0.95) 0%,rgba(10,12,20,0.85) 45%,rgba(10,12,20,0.6) 70%,rgba(5,5,8,0.8) 100%); }
.page-hero-ov2 { position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,0.28) 0%,transparent 40%,rgba(0,0,0,0.6) 100%); }
.page-hero-ov3 { position:absolute;inset:0;background:radial-gradient(ellipse 50% 60% at 75% 50%,rgba(232,88,10,0.15) 0%,transparent 65%); }
.page-hero-scan { position:absolute;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,var(--orange),rgba(232,88,10,0.5),transparent);animation:pgScan 5s ease-in-out infinite;opacity:0.4; }
@keyframes pgScan { 0%{top:15%;opacity:0} 8%{opacity:0.4} 92%{opacity:0.4} 100%{top:85%;opacity:0} }
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(232,88,10,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,88,10,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(to right, transparent, black 30%, black 70%, transparent);
}
.page-hero-inner { position: relative; max-width: 1200px; margin: 0 auto; z-index: 2; }
.breadcrumb {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--orange);
  display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
}
.breadcrumb a { color: var(--grey); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--orange); }
.page-hero h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 900; line-height: 0.9; color: var(--white);
  margin-bottom: 20px;
}
.page-hero h1 em { font-style: normal; color: var(--orange); }
.page-hero p {
  font-size: 1.05rem; font-weight: 300; line-height: 1.75;
  color: var(--white-dim); max-width: 560px;
}

/* ── SECTION UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; }
section { padding: 90px 5vw; }
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--orange);
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.section-label::before { content: ''; display: block; width: 28px; height: 2px; background: var(--orange); }
.section-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900; line-height: 1; color: var(--white); margin-bottom: 18px;
}
.section-desc {
  font-size: 0.97rem; font-weight: 300; line-height: 1.8;
  color: var(--white-dim); max-width: 520px;
}

/* ── BUTTONS ── */
.btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.92rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none;
  display: inline-block; padding: 13px 32px;
  transition: 0.2s;
}
.btn-primary {
  background: var(--orange); color: white;
  clip-path: polygon(11px 0%,100% 0%,calc(100% - 11px) 100%,0% 100%);
}
.btn-primary:hover { background: var(--orange-hi); transform: translateY(-2px); }
.btn-outline {
  border: 1px solid var(--border); color: var(--white);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

/* ── CARDS ── */
.card {
  background: var(--steel); border: 1px solid var(--border-dim);
  padding: 36px 32px; position: relative; overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.card:hover { border-color: var(--border); transform: translateY(-3px); }
.card:hover::after { transform: scaleX(1); }

/* ── DIVIDER ── */
.divider {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* ── FOOTER ── */
footer {
  background: var(--black); padding: 60px 5vw 28px;
  border-top: 2px solid var(--orange);
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid var(--border-dim);
}
.footer-brand .logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem; font-weight: 900; letter-spacing: 0.08em;
  color: var(--white); margin-bottom: 6px;
}
.footer-brand .logo span { color: var(--orange); }
.footer-brand .tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--grey); margin-bottom: 16px;
}
.footer-brand p { font-size: 0.85rem; color: var(--grey); line-height: 1.7; }
.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a {
  font-size: 0.87rem; color: var(--grey); text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px; margin: 24px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 0.78rem; color: var(--grey); }
.footer-copy span { color: var(--orange); }
.footer-email a {
  font-size: 0.82rem; color: var(--orange); text-decoration: none;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.fade-up { opacity: 0; animation: fadeUp 0.65s ease forwards; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  section { padding: 60px 5vw; }
}
