/* ══════════════════════════════════════════════════════
   EMPIRE INFRASTRUCTURE — Shared Stylesheet
   ══════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:       #AC162C;
  --red-dark:  #8F1124;
  --navy:      #2D3436;
  --navy-dark: #1E2526;
  --navy-mid:  #3A4A4B;
  --white:     #FFFFFF;
  --off-white: #F7F5F2;
  --concrete:  #E8E6E2;
  --text:      #1A1A1A;
  --mid:       #6B7280;
  --font:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --max-w:     1280px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: clip;
}

/* ── LAYOUT ─────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 56px; }
@media (max-width: 768px) { .container { padding: 0 24px; } }

/* ── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 15px 36px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.18s;
  cursor: pointer;
  line-height: 1;
}
.btn-red          { background: var(--red);   color: var(--white); border-color: var(--red);   }
.btn-red:hover    { background: var(--red-dark); border-color: var(--red-dark); }
.btn-navy         { background: var(--navy);  color: var(--white); border-color: var(--navy);  }
.btn-navy:hover   { background: var(--navy-dark); border-color: var(--navy-dark); }
.btn-od           { background: transparent; color: var(--navy);  border-color: var(--navy);  }
.btn-od:hover     { background: var(--navy); color: var(--white); }
.btn-ow           { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-ow:hover     { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-or           { background: transparent; color: var(--red);   border-color: var(--red);   }
.btn-or:hover     { background: var(--red);  color: var(--white); }

/* ── TYPOGRAPHY ─────────────────────────────────────── */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--red);
  display: block;
  flex-shrink: 0;
}
.eyebrow-w { color: rgba(255,255,255,0.55); }
.eyebrow-w::before { background: var(--red); }

.section-title {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.section-title em { font-style: normal; color: var(--red); }
.section-title-w  { color: var(--white); }

.section-sub {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--mid);
  max-width: 560px;
}
.section-sub-w { color: rgba(255,255,255,0.55); }

/* ── PAGE HERO BANNER (inner pages) ─────────────────── */
.page-hero {
  background: var(--navy);
  padding: 80px 0;
  border-top: 4px solid var(--red);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(172,22,44,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(172,22,44,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
}
.page-hero-inner { position: relative; }
.page-hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.page-hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: 680px;
  margin-bottom: 20px;
}
.page-hero-title em { font-style: normal; color: var(--red); }
.page-hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
}

/* ── NAVIGATION ─────────────────────────────────────── */
#nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--concrete);
  transition: box-shadow 0.2s;
}
#nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.09); border-bottom-color: transparent; }

.nav-inner {
  display: flex;
  align-items: center;
  height: 104px;
  gap: 0;
}

.nav-logo { text-decoration: none; display: flex; align-items: center; flex-shrink: 0; margin-right: 40px; }
.nav-logo img { height: 56px; width: auto; display: block; }

/* Links fill remaining space, evenly spread */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  flex: 1;
  justify-content: space-between;
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--red); }
.nav-links a.active { color: var(--red); text-decoration: underline; text-underline-offset: 4px; }

.nav-portal-a {
  color: var(--mid) !important;
  font-size: 12px !important;
  border-left: 1px solid var(--concrete);
  padding-left: 20px !important;
}
.nav-portal-a:hover { color: var(--navy) !important; }

.nav-rfq {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 13px 24px !important;
  border: none !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.18s;
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
}
.nav-rfq:hover { background: var(--red-dark) !important; color: var(--white) !important; }

.nav-lnl {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 13px 24px !important;
  border: none !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.18s;
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
}
.nav-lnl:hover { background: var(--red-dark) !important; color: var(--white) !important; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span { display: block; width: 26px; height: 2px; background: var(--navy); transition: transform 0.25s, opacity 0.25s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  background: var(--white);
  border-top: 1px solid var(--concrete);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.nav-mobile.open { max-height: 500px; }
.nav-mobile a {
  display: block;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--concrete);
}
.nav-mobile a:hover { background: var(--off-white); color: var(--red); }
.nav-mobile a:last-child { border-bottom: none; color: var(--white); background: var(--red); }
.nav-mobile a:last-child:hover { background: var(--red-dark); }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* ── FOOTER ─────────────────────────────────────────── */
#footer {
  background: var(--navy);
  padding: 20px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo { display: inline-block; margin-bottom: 10px; text-decoration: none; background: #fff; padding: 5px 11px; }
.footer-logo img {
  height: 26px;
  width: auto;
  display: block;
}

.footer-addr { font-size: 12px; line-height: 1.6; color: rgba(255,255,255,0.42); }
.footer-addr strong { color: rgba(255,255,255,0.78); font-weight: 600; font-size: 11px; letter-spacing: 0.04em; }

.footer-contact { margin-top: 0; }
.footer-cicon { width: 12px; height: 12px; flex-shrink: 0; }
.footer-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 4px;
  transition: color 0.15s;
}
.footer-phone:hover { color: var(--red); }
.footer-email {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: rgba(255,255,255,0.42);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-email:hover { color: rgba(255,255,255,0.78); }

.footer-col-title { font-size: 9px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 10px; }

.footer-links { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 7px 16px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.52); text-decoration: none; transition: color 0.15s; white-space: nowrap; }
.footer-links a:hover { color: var(--white); }

.footer-li-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 7px 14px;
  margin-bottom: 6px;
  transition: border-color 0.18s, color 0.18s;
}
.footer-li-link:hover { border-color: var(--red); color: var(--white); }
.footer-li-link svg { width: 13px; height: 13px; fill: currentColor; }

.footer-note { font-size: 12px; color: rgba(255,255,255,0.32); line-height: 1.65; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 0;
}
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.25); }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: 11px; color: rgba(255,255,255,0.25); text-decoration: none; transition: color 0.15s; }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── SUPPLIER BAR ───────────────────────────────────── */
#partners {
  background: var(--off-white);
  border-top: 1px solid var(--concrete);
  border-bottom: 1px solid var(--concrete);
  overflow: hidden;
}
.partners-inner { display: flex; align-items: stretch; }
.partners-label {
  flex-shrink: 0;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.partners-scroll {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 18px 48px;
  overflow-x: auto;
  scrollbar-width: none;
}
.partners-scroll::-webkit-scrollbar { display: none; }
.partner-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
  white-space: nowrap;
}
.partner-dot { width: 4px; height: 4px; background: var(--red); border-radius: 50%; flex-shrink: 0; }
