/* ============================================
   BLAKE WIRE — Design System
   ============================================ */

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

:root {
  --navy:        #0D1B2A;
  --navy-light:  #1A2F4A;
  --blue:        #0070F3;
  --blue-light:  #E8F2FF;
  --orange:      #F97316;
  --orange-dark: #EA6A0A;
  --white:       #FFFFFF;
  --gray-50:     #F8FAFC;
  --gray-100:    #F1F5F9;
  --gray-200:    #E2E8F0;
  --gray-400:    #94A3B8;
  --gray-600:    #475569;
  --text:        #0F172A;
  --radius:      12px;
  --radius-sm:   8px;
  --shadow:      0 4px 16px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg:   0 20px 48px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.06);
  --transition:  0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font:        'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: var(--gray-400); border-radius: 3px; }

/* ---- Helpers ---- */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(13, 27, 42, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

.site-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover { color: white; background: rgba(255,255,255,0.09); }

.nav-cta {
  background: var(--orange) !important;
  color: white !important;
  padding: 9px 18px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}

.nav-cta:hover { background: var(--orange-dark) !important; }

/* ---- Resources dropdown ---- */
.nav-dropdown { position: relative; }

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-dropdown-toggle svg { transition: transform var(--transition); }

.nav-dropdown-menu {
  display: none;
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  min-width: 230px;
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 1001;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown.open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu li a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-dropdown-menu li a:hover { color: white; background: rgba(255,255,255,0.08); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: white; border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

/* ---- Hero slideshow ---- */
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 1.6s ease-in-out;
}

.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(13,27,42,0.93) 28%, rgba(13,27,42,0.68) 58%, rgba(13,27,42,0.48) 100%),
    linear-gradient(to top, rgba(13,27,42,0.65) 0%, transparent 40%);
}

.hero-slide-1 { background-image: url('../images/hero-wires.jpg'); }
.hero-slide-2 { background-image: url('../images/hero-aerospace.jpg'); opacity: 0; }
.hero-slide-3 { background-image: url('../images/aerospaceWireancCable.png'); opacity: 0; }
.hero-slide-4 { background-image: url('../BlakeQuality2.png'); background-position: center 30%; opacity: 0; }
.hero-slide-5 { background-image: url('../images/Databus2.png'); opacity: 0; }
.hero-slide-6 { background-image: url('../images/ULHookupWire4.png'); background-position: center 40%; opacity: 0; }
.hero-slide-7 { background-image: url('../images/Spools.png'); opacity: 0; }
.hero-slide-8 { background-image: url('../images/WireAndCableTechnical.png'); opacity: 0; }

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,112,243,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,112,243,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 30% 50%, black 10%, transparent 65%);
}

.hero-wires { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.wire {
  position: absolute;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(0,112,243,0.5), rgba(0,112,243,0.2), transparent);
  animation: wirePulse 5s ease-in-out infinite;
}

.wire:nth-child(1) { top: 28%; width: 45%; left: -45%; animation-delay: 0s; }
.wire:nth-child(2) { top: 52%; width: 55%; left: -55%; animation-delay: 1.5s; }
.wire:nth-child(3) { top: 72%; width: 38%; left: -38%; animation-delay: 3s; }
.wire:nth-child(4) { top: 18%; width: 50%; right: -50%; left: auto; animation: wirePulseR 5s ease-in-out infinite; animation-delay: 0.8s; }
.wire:nth-child(5) { top: 62%; width: 42%; right: -42%; left: auto; animation: wirePulseR 5s ease-in-out infinite; animation-delay: 2.2s; }

@keyframes wirePulse {
  0% { transform: translateX(0); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateX(160vw); opacity: 0; }
}

@keyframes wirePulseR {
  0% { transform: translateX(0); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateX(-160vw); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,112,243,0.14);
  border: 1px solid rgba(0,112,243,0.28);
  color: #60A5FA;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #60A5FA;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.75); }
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  color: white;
  margin-bottom: 24px;
  letter-spacing: -0.025em;
}

.hero h1 .accent { color: var(--blue); display: block; }

.hero p {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange);
  color: white; font-weight: 600; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 10px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(249,115,22,0.3);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249,115,22,0.4);
}

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.07);
  color: white; font-weight: 600; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  transition: background var(--transition), border-color var(--transition);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.24);
}

.scroll-indicator {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.35);
  font-size: 0.68rem; letter-spacing: 0.1em;
  animation: fadeUp 1s ease 1.2s both;
}

.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid rgba(255,255,255,0.25);
  border-bottom: 2px solid rgba(255,255,255,0.25);
  transform: rotate(45deg);
  animation: arrowBounce 2s ease-in-out infinite;
}

@keyframes arrowBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(5px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--navy-light);
  padding: 52px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  text-align: center;
  padding: 0 28px;
  border-right: 1px solid rgba(255,255,255,0.07);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number .unit { color: var(--blue); }

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header { text-align: center; margin-bottom: 52px; }

.section-header h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  color: var(--navy);
  margin: 10px 0 14px;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--gray-600);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ============================================
   PRODUCT PREVIEW CARDS (HOME)
   ============================================ */
.products-section { background: var(--gray-50); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-card:hover::before { transform: scaleX(1); }

.product-icon {
  width: 48px; height: 48px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.product-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: 8px; }

.product-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 18px;
}

.product-link {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--blue);
  font-size: 0.85rem; font-weight: 600;
  transition: gap var(--transition);
}

.product-link:hover { gap: 9px; }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section { background: white; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-visual-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  height: 100%;
}

.about-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

.about-stats-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
}

.about-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat-num span { color: var(--blue); }

.about-stat-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.4;
}

.about-cert-row {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: auto;
}

.about-cert {
  background: rgba(0,112,243,0.14);
  border: 1px solid rgba(0,112,243,0.24);
  color: #60A5FA;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 7px;
}

.about-content h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  color: var(--navy);
  margin: 10px 0 18px;
  letter-spacing: -0.02em;
}

.about-content > p {
  color: var(--gray-600);
  font-size: 0.975rem;
  line-height: 1.78;
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.feature-item { display: flex; align-items: flex-start; gap: 12px; }

.feature-icon {
  width: 32px; height: 32px;
  background: var(--blue-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0;
}

.feature-item h4 { font-size: 0.85rem; color: var(--navy); margin-bottom: 3px; }
.feature-item p { font-size: 0.78rem; color: var(--gray-600); line-height: 1.5; }

/* ============================================
   CERTIFICATIONS BAR
   ============================================ */
.cert-section {
  background: var(--navy);
  padding: 52px 0;
}

.cert-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.cage-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  color: var(--navy);
  font-size: 0.875rem;
  padding: 8px 16px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.cage-tooltip::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: white;
}

#cage-code-badge.open .cage-tooltip { opacity: 1; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(140deg, #0055CC 0%, #003FA8 100%);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute; top: -40%; left: -40%;
  width: 180%; height: 180%;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 65%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  color: white;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  position: relative;
}

.cta-section p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 440px;
  margin-left: auto; margin-right: auto;
  position: relative;
}

.cta-actions {
  display: flex; gap: 14px;
  justify-content: center; flex-wrap: wrap;
  position: relative;
}

.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; color: var(--blue);
  font-weight: 700; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 10px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.14);
}

.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.2); }

.btn-ghost-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); color: white;
  font-weight: 600; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.22);
  transition: background var(--transition);
}

.btn-ghost-white:hover { background: rgba(255,255,255,0.18); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--navy);
  padding: 60px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 44px;
  margin-bottom: 44px;
}

.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,0.4); font-size: 0.85rem; line-height: 1.7; max-width: 240px; }

.footer-col h4 {
  color: white; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em;
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }

.footer-col ul a {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer-col ul a:hover { color: rgba(255,255,255,0.8); }

.footer-contact p { color: rgba(255,255,255,0.4); font-size: 0.85rem; line-height: 1.8; }
.footer-contact a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-contact a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}

.footer-bottom p { color: rgba(255,255,255,0.25); font-size: 0.78rem; }

.social-links { display: flex; gap: 8px; }

.social-link {
  width: 30px; height: 30px;
  border-radius: 7px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}

.social-link:hover { background: rgba(255,255,255,0.11); color: white; }

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: var(--navy);
  padding: 136px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(0,112,243,0.14) 0%, transparent 55%),
    linear-gradient(140deg, #0D1B2A 0%, #162840 100%);
}

.page-hero-content { position: relative; z-index: 2; }

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: white;
  letter-spacing: -0.025em;
  margin: 10px 0 14px;
}

.page-hero p { color: rgba(255,255,255,0.55); font-size: 1rem; max-width: 440px; margin: 0 auto; }

/* ============================================
   CATALOG PAGE
   ============================================ */
.catalog-section { background: var(--gray-50); padding: 60px 0; }

.search-wrap {
  margin-bottom: 48px;
}

.search-box {
  position: relative;
  max-width: 520px;
}

.search-box input {
  width: 100%;
  padding: 13px 18px 13px 46px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 16px;
  outline: none;
  transition: border-color var(--transition);
  background: white;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.search-box input:focus { border-color: var(--blue); }
.search-box input::placeholder { color: var(--gray-400); }

.search-icon {
  position: absolute; left: 15px; top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  pointer-events: none;
}

/* Category sections */
.catalog-category { margin-bottom: 56px; }
.catalog-category.hidden { display: none; }

.catalog-section-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 2px solid var(--gray-200);
}

.catalog-section-header h2 {
  font-size: 1.15rem; color: var(--navy);
  letter-spacing: -0.01em; font-weight: 700;
}

.section-tag {
  background: var(--navy); color: white;
  font-size: 0.63rem; font-weight: 700;
  padding: 3px 9px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* Product cards (SEA Wire style) */
.sea-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.sea-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}

.sea-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.sea-card.hidden { display: none; }

.sea-card-img {
  height: 148px;
  background-image: url('../images/hero-wires.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}

.sea-card-img::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(13,27,42,0.72);
}

.sea-card-spec {
  position: relative; z-index: 1;
  color: white; font-size: 1.05rem; font-weight: 800;
  letter-spacing: 0.01em; text-align: center;
  padding: 0 12px; line-height: 1.3;
}

.sea-card-body { padding: 14px 16px 18px; flex: 1; display: flex; flex-direction: column; }

.sea-card-body h3 {
  font-size: 0.82rem; color: var(--navy);
  line-height: 1.45; margin-bottom: 12px;
  font-weight: 600; flex: 1;
}

.sea-card-link {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--blue); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  text-decoration: none;
  transition: gap var(--transition);
}

.sea-card-link:hover { gap: 9px; }

.no-results {
  text-align: center;
  padding: 80px 0;
  color: var(--gray-400);
}

.no-results h3 { font-size: 1.1rem; color: var(--gray-600); margin-bottom: 8px; }

@media (max-width: 900px) { .sea-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .sea-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section { padding: 80px 0; background: var(--gray-50); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--navy);
  margin: 10px 0 14px;
  letter-spacing: -0.02em;
}

.contact-info > p {
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.contact-detail {
  display: flex; align-items: flex-start; gap: 13px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 38px; height: 38px;
  background: var(--blue-light); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 0.7rem; color: var(--gray-400);
  text-transform: uppercase; letter-spacing: 0.07em;
  margin-bottom: 3px;
}

.contact-detail p, .contact-detail a {
  color: var(--navy); font-size: 0.9rem; font-weight: 500;
}

.contact-detail a { color: var(--blue); }

/* ---- Multi-step form ---- */
.form-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.form-progress {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
}

.step-node {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  flex-shrink: 0;
}

.step-circle {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700;
  color: var(--gray-400);
  background: white;
  transition: all var(--transition);
}

.step-circle.active { background: var(--blue); border-color: var(--blue); color: white; }
.step-circle.done { background: var(--navy); border-color: var(--navy); color: white; }

.step-name {
  font-size: 0.65rem; color: var(--gray-400); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap;
}

.step-name.active { color: var(--blue); }
.step-name.done { color: var(--navy); }

.step-line {
  flex: 1;
  height: 2px;
  background: var(--gray-200);
  margin: 0 8px;
  margin-bottom: 18px;
  transition: background var(--transition);
}

.step-line.done { background: var(--blue); }

.form-panel { display: none; }
.form-panel.active { display: block; animation: panelFade 0.3s ease; }

@keyframes panelFade { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: translateX(0); } }

.form-panel h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 20px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 0.72rem; font-weight: 700;
  color: var(--navy);
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 16px;
  outline: none;
  transition: border-color var(--transition);
  color: var(--text); background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); }

.form-group textarea { resize: vertical; min-height: 110px; }

.field-error {
  font-size: 0.75rem; color: #DC2626;
  margin-top: 5px; display: none;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea { border-color: #DC2626; }

.form-group.has-error .field-error { display: block; }

.form-actions {
  display: flex; gap: 10px; justify-content: flex-end;
  margin-top: 22px;
}

.btn-back {
  padding: 11px 22px; border-radius: 8px;
  border: 2px solid var(--gray-200);
  font-size: 0.88rem; font-weight: 600;
  color: var(--gray-600);
  transition: all var(--transition);
}

.btn-back:hover { border-color: var(--navy); color: var(--navy); }

.btn-next {
  padding: 11px 24px; border-radius: 8px;
  background: var(--blue); color: white;
  font-size: 0.88rem; font-weight: 600;
  transition: background var(--transition);
}

.btn-next:hover { background: #0060D9; }

.btn-submit {
  padding: 11px 28px; border-radius: 8px;
  background: var(--orange); color: white;
  font-size: 0.9rem; font-weight: 600;
  transition: background var(--transition);
}

.btn-submit:hover { background: var(--orange-dark); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-submit-error {
  display: none;
  background: #FEF2F2; border: 1px solid #FCA5A5; border-radius: 8px;
  padding: 12px 14px; margin-top: 16px;
  font-size: 0.85rem; color: #DC2626;
}

.review-block {
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 14px;
}

.review-block h4 {
  font-size: 0.7rem; color: var(--gray-400);
  text-transform: uppercase; letter-spacing: 0.07em;
  margin-bottom: 10px;
}

.review-row { display: flex; justify-content: space-between; margin-bottom: 6px; }
.review-row:last-child { margin-bottom: 0; }
.review-key { font-size: 0.83rem; color: var(--gray-600); }
.review-val { font-size: 0.83rem; font-weight: 600; color: var(--navy); text-align: right; max-width: 60%; }

/* Success state */
.success-view {
  display: none;
  text-align: center;
  padding: 32px 0;
}

.success-icon {
  width: 68px; height: 68px;
  background: #DCFCE7; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin: 0 auto 18px;
}

.success-view h3 { font-size: 1.4rem; color: var(--navy); margin-bottom: 10px; }
.success-view p { color: var(--gray-600); font-size: 0.95rem; }

/* ============================================
   SIMPLE CONTACT PAGE (contact-us.html)
   ============================================ */
.contact-us-page .site-header {
  background: rgba(13, 27, 42, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07);
}

.simple-contact-section { padding: 90px 0; background: white; }

.simple-contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}

.msg-form h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.msg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }

.msg-field {
  width: 100%;
  padding: 16px 20px;
  border: none;
  border-radius: 14px;
  background: var(--gray-100);
  font-family: var(--font); font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: background var(--transition);
}

.msg-field::placeholder { color: var(--gray-400); }
.msg-field:focus { background: var(--gray-200); }

textarea.msg-field { resize: vertical; min-height: 160px; margin-bottom: 24px; }

.btn-send {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 42px; border-radius: 14px;
  background: var(--navy-light); color: white;
  font-family: var(--font); font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn-send:hover { background: var(--navy); transform: translateY(-1px); }

.hq-info h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}

.hq-info h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 22px;
}

.hq-detail {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
}

.hq-detail-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}

.hq-detail span, .hq-detail a {
  font-size: 1rem; font-weight: 600;
  color: var(--navy);
}

.hq-detail a:hover { color: var(--blue); }

@media (max-width: 860px) {
  .simple-contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .msg-row { grid-template-columns: 1fr; gap: 0; }
}

/* ============================================
   TIMELINE (About page)
   ============================================ */
.timeline-section { background: white; }

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 104px;
  top: 6px; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--gray-200));
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 28px;
}

.timeline-era {
  width: 96px;
  flex-shrink: 0;
  text-align: right;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--blue);
  padding-top: 4px;
  padding-right: 16px;
  letter-spacing: 0.02em;
}

.timeline-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 5px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 3px rgba(0,112,243,0.18), 0 0 0 5px rgba(0,112,243,0.06);
}

.timeline-card {
  flex: 1;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  border: 1px solid var(--gray-200);
  margin-left: 22px;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.timeline-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--gray-300);
}

.timeline-card h4 { font-size: 0.9rem; color: var(--navy); margin-bottom: 6px; }
.timeline-card p { font-size: 0.83rem; color: var(--gray-600); line-height: 1.65; }

.timeline-card .client-tags {
  display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px;
}

.client-tag {
  font-size: 0.68rem; font-weight: 700;
  color: var(--gray-600);
  background: white;
  border: 1px solid var(--gray-200);
  padding: 3px 8px; border-radius: 5px;
}

/* ---- Space Race section ---- */
.space-race-section {
  background: var(--navy);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.space-race-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(0,112,243,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 80%, rgba(249,115,22,0.06) 0%, transparent 45%);
}

.space-race-inner { position: relative; z-index: 1; }

.space-race-section .eyebrow { color: #60A5FA; }

.space-race-section h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: white;
  margin: 10px 0 18px;
  letter-spacing: -0.02em;
}

.space-race-section p {
  color: rgba(255,255,255,0.6);
  font-size: 0.975rem;
  line-height: 1.78;
  max-width: 680px;
  margin-bottom: 16px;
}

.client-grid {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 28px;
}

.client-chip {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem; font-weight: 600;
  padding: 7px 14px; border-radius: 7px;
}

/* ---- Auth distributor cards ---- */
.auth-section { background: var(--gray-50); }

.auth-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.auth-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--gray-200);
}

.auth-card-icon {
  width: 44px; height: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.auth-card h3 { font-size: 0.975rem; color: var(--navy); margin-bottom: 10px; }
.auth-card p { font-size: 0.85rem; color: var(--gray-600); line-height: 1.65; }

@media (max-width: 640px) {
  .timeline::before { left: 72px; }
  .timeline-era { width: 64px; font-size: 0.72rem; }
  .auth-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .auth-grid { grid-template-columns: 1fr 1fr; }
}

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

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-overview-grid { grid-template-columns: 1fr !important; gap: 36px !important; }
}

@media (max-width: 640px) {
  section { padding: 56px 0; }
  .products-grid { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .stat-item { border-right: none; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.07); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .form-row-3 { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .catalog-controls { flex-direction: column; }
  .search-box { max-width: 100%; }
}

.nav-links.open {
  display: flex; flex-direction: column;
  position: fixed; inset: 70px 0 0 0;
  background: rgba(13, 27, 42, 0.98);
  padding: 20px; gap: 4px; align-items: stretch;
  z-index: 999;
}

.nav-links.open a { padding: 14px 16px; border-radius: 8px; }
.nav-links.open .nav-cta { margin-top: 8px; text-align: center; }

.nav-links.open .nav-dropdown-menu {
  display: block;
  position: static;
  background: rgba(255,255,255,0.05);
  border: none;
  box-shadow: none;
  margin: 2px 0 4px;
  padding: 4px 4px 4px 14px;
}

.nav-links.open .nav-dropdown-menu li a { padding: 12px 14px; font-size: 0.85rem; }
.nav-links.open .nav-dropdown-toggle svg { transform: rotate(180deg); }

/* ============================================
   SCROLLABLE SPEC TABLES — mobile scroll hint
   (applies to every page's .spec-table-wrap;
   only shows when content actually overflows,
   and fades out once scrolled to the end)
   ============================================ */
.spec-table-wrap { position: relative; }

.spec-table-wrap.is-scrollable::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 36px;
  background: linear-gradient(to right, transparent, rgba(15,23,42,0.14));
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.spec-table-wrap.is-scrollable.at-end::after {
  opacity: 0;
}
