/* ============================================
   AEHI, Inc. - Aerospace Distribution
   Main Stylesheet
   ============================================ */

:root {
  --navy: #0a2342;
  --navy-deep: #061a33;
  --blue: #1456a0;
  --blue-light: #2b7de0;
  --red: #c8102e;
  --red-dark: #a30d26;
  --gray-bg: #f4f7fb;
  --gray-border: #e2e8f2;
  --text-dark: #1a2538;
  --text-muted: #5a6577;
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(10, 35, 66, 0.06);
  --shadow-md: 0 8px 30px rgba(10, 35, 66, 0.10);
  --shadow-lg: 0 18px 50px rgba(10, 35, 66, 0.16);
  --radius: 12px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  line-height: 1.65;
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
  color: var(--blue);
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

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

.section {
  padding: 90px 0;
}

.section-sm {
  padding: 60px 0;
}

.bg-gray {
  background: var(--gray-bg);
}

.bg-navy {
  background: var(--navy);
  color: var(--white);
}

.bg-navy h2, .bg-navy h3 {
  color: var(--white);
}

/* ---------- Section Headings ---------- */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-head .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.08rem;
}

.section-head.light .eyebrow { color: #ff6b81; }
.section-head.light p { color: rgba(255,255,255,0.8); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(200, 16, 46, 0.32);
}

.btn-secondary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn-secondary:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-border);
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-lg {
  padding: 16px 38px;
  font-size: 1.05rem;
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
}

/* ---- Top Utility Bar ---- */
.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
}

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

.topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.topbar-left .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34d07f;
  box-shadow: 0 0 0 3px rgba(52, 208, 127, 0.2);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 26px;
}

.topbar-right a,
.topbar-right span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.topbar-right a:hover { color: #fff; }

.topbar-right svg { width: 15px; height: 15px; fill: #ff6b81; }

.topbar-right .divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.18);
  padding: 0;
}

/* ---- Main Nav ---- */
.nav-wrap {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 64px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin-left: auto;
}

.nav-menu > li > a {
  display: block;
  padding: 9px 14px;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-menu > li > a:hover {
  color: var(--blue);
  background: var(--gray-bg);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--navy);
  border-radius: 3px;
  transition: var(--transition);
}

/* ============================================
   HERO (wing/engine with slowly drifting clouds)
   ============================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding-top: 118px;
  overflow: hidden;
}

/* Sky/wing layer with a slow cinematic drift (looking out the window) */
.hero-sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Clouds drift slowly behind the static wing. The image is centered and kept
   zoomed-in with generous margin, and the drift stays well inside that margin,
   so an edge / blank never appears. */
.hero-sky img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140%;
  height: 140%;
  object-fit: cover;
  object-position: center;
  transform: translate(-50%, -50%) scale(1.08);
  animation: hero-drift 26s ease-in-out infinite alternate;
  will-change: transform;
}

/* Pans only left/up from a centered, zoomed-in base, so an edge never shows */
@keyframes hero-drift {
  from { transform: translate(-50%, -50%) scale(1.08); }
  to   { transform: translate(-56%, -53%) scale(1.14); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-sky img { animation: none; transform: translate(-50%, -50%) scale(1.08); }
}

/* Static wing in front of the drifting clouds */
.hero-wing-fg {
  position: absolute;
  left: 0;
  right: 0;
  /* bottom: 0; */
  z-index: 1;
  pointer-events: none;
}

.hero-wing-fg img {
  width: 100%;
  height: auto;
  display: block;
}

/* Dark scrim on the left so the white text stays readable; sky stays bright on the right */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(8,24,48,0.74) 0%, rgba(8,24,48,0.5) 34%, rgba(8,24,48,0.12) 58%, rgba(8,24,48,0) 78%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.hero-content {
  width: 100%;
  max-width: 760px;
  padding: 40px 0;
}

.hero h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  color: #fff;
  margin-bottom: 22px;
  line-height: 1.18;
}

.hero h1 .accent {
  color: #ff5e74;
}

.hero p {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: rgba(255,255,255,0.92);
  margin-bottom: 30px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-light {
  background: rgba(255,255,255,0.9);
  color: var(--navy);
  border-color: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 11px 20px;
}

.btn-light:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: translateY(-2px);
}

.hero-badges {
  display: flex;
  gap: 20px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.95rem;
  color: #fff;
  font-weight: 600;
}

.hero-badge .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-badge .check svg { width: 13px; height: 13px; fill: #fff; }

/* Soft script tagline, bottom-right under the wing */
.hero-tagline {
  position: absolute;
  right: 1%;
  bottom: 1%;
  max-width: 50%;
  font-family: 'Dancing Script', cursive;
  font-size: clamp(1.3rem, 2.1vw, 2rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(8,24,48,0.55);
  z-index: 2;
  pointer-events: none;
}

/* ============================================
   SCROLLING TICKER
   ============================================ */
.ticker {
  background: var(--navy);
  overflow: hidden;
  white-space: nowrap;
  padding: 16px 0;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding-left: 30px;
  animation: ticker-scroll 30s linear infinite;
}

.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker-item {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  font-weight: 500;
}

.ticker-item b { color: #fff; font-weight: 800; margin-right: 4px; }

.ticker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ============================================
   ABOUT / WHY AEHI
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img {
  position: relative;
}

.about-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-img .badge-float {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--navy);
  color: var(--white);
  padding: 24px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-img .badge-float .big {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.about-img .badge-float .small {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  margin-top: 6px;
}

.about-content .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.about-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 20px;
}

.about-content > p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 18px;
}

.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-list .ico {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(20, 86, 160, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-list .ico svg { width: 22px; height: 22px; fill: var(--blue); }

.feature-list .ftxt strong {
  display: block;
  color: var(--navy);
  font-size: 1.02rem;
  margin-bottom: 2px;
}

.feature-list .ftxt span {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ============================================
   DIVISION CARDS (Metal / Parts)
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}

.card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 26px 24px;
}

.card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 16px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-tags span {
  font-size: 0.8rem;
  padding: 5px 12px;
  background: var(--gray-bg);
  color: var(--text-muted);
  border-radius: 50px;
  font-weight: 500;
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 56px;
}

.service-card {
  display: flex;
  gap: 22px;
  padding: 30px 6px;
  border-bottom: 1px solid var(--gray-border);
}

.service-card .s-ico {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-card .s-ico svg { width: 28px; height: 28px; fill: var(--blue); }

.service-card h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================
   QUALITY / CERTIFICATIONS
   ============================================ */
.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cert-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.cert-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
}

.cert-card:hover {
  background: rgba(255,255,255,0.1);
}

.cert-card .cert-ico {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-card .cert-ico svg { width: 28px; height: 28px; fill: #fff; }

.cert-card h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.cert-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
}

/* Clickable Terms & Conditions card */
.cert-card.cert-doc {
  display: block;
  text-decoration: none;
}

.cert-card.cert-doc:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
}

.cert-card.cert-doc p { color: #ffd0d6; font-weight: 600; }

.quality-text .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff6b81;
  margin-bottom: 14px;
}

.quality-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--white);
  margin-bottom: 20px;
}

.quality-text p {
  color: rgba(255,255,255,0.82);
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.quality-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.quality-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.9);
}

.quality-list .qcheck {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.quality-list .qcheck svg { width: 12px; height: 12px; fill: #fff; }

/* ============================================
   GLOBAL NETWORK / CUSTOMERS
   ============================================ */
.network {
  position: relative;
}

.customers {
  margin-top: 50px;
}

.customers-label {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.customers-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  justify-content: center;
  gap: 14px;
  max-width: 940px;
  margin: 0 auto;
}
.customers-grid .customer-chip { text-align: center; }
@media (max-width: 860px) {
  .customers-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 560px; }
}
@media (max-width: 520px) {
  .customers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 340px; }
}

.customer-chip {
  padding: 12px 26px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 50px;
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.customer-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy-deep), var(--blue));
}

.cta-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 18px;
}

.cta p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr 1.4fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer-brand img {
  height: 56px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.94rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 11px;
}

.footer ul a {
  color: rgba(255,255,255,0.7);
  font-size: 0.94rem;
}

.footer ul a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.94rem;
  margin-bottom: 14px;
}

.footer-contact svg {
  width: 18px; height: 18px;
  fill: var(--red);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact a { color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
}

.footer-bottom-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-bottom-brand img {
  height: 44px;
  background: #fff;
  padding: 6px 10px;
  border-radius: 7px;
  flex-shrink: 0;
}

.footer-bottom .certs-mini {
  display: flex;
  gap: 18px;
}

.footer-bottom .certs-mini span {
  color: rgba(255,255,255,0.55);
}

/* ============================================
   RFQ MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 26, 51, 0.75);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-header {
  background: var(--navy);
  color: var(--white);
  padding: 26px 30px;
  border-radius: var(--radius) var(--radius) 0 0;
  position: relative;
}

.modal-header h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.modal-header p {
  color: rgba(255,255,255,0.75);
  font-size: 0.92rem;
}

.modal-close {
  position: absolute;
  top: 22px;
  right: 24px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.modal-close:hover { background: var(--red); }

.modal-body {
  padding: 30px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}

.form-group label .req { color: var(--red); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-border);
  border-radius: 8px;
  font-size: 0.96rem;
  font-family: inherit;
  color: var(--text-dark);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20, 86, 160, 0.12);
}

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

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================
   PRODUCT FORMS STRIP
   ============================================ */
.forms-strip {
  margin-top: 50px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.forms-strip .fs-label {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.forms-strip .fs-label svg { width: 26px; height: 26px; fill: var(--red); }

.forms-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--gray-bg);
  border: 1px solid var(--gray-border);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  transition: var(--transition);
}

.form-pill:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.form-pill .pd { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

/* ============================================
   INDUSTRIES SERVED
   ============================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.industry-card {
  text-align: center;
  padding: 20px 16px;
}

.industry-card .ind-ico {
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.industry-card .ind-ico svg { width: 36px; height: 36px; fill: var(--blue); }

.industry-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.industry-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ============================================
   OUR HISTORY TIMELINE
   ============================================ */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 57px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: var(--gray-border);
}

.tl-item {
  padding: 0 22px;
  position: relative;
}

.tl-year {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 24px;
}

.tl-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--red);
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
}

.tl-item h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.tl-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.faq-intro .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.faq-intro h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  margin-bottom: 16px;
}

.faq-intro > p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.faq-item {
  border: 1px solid var(--gray-border);
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--white);
  transition: border-color 0.25s ease;
}

.faq-item.open { border-color: var(--blue); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
  user-select: none;
}

.faq-q .chev {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-q .chev svg { width: 24px; height: 24px; fill: var(--red); }
.faq-item.open .chev { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-a-inner {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-img img {
  border-radius: var(--radius);
  width: 100%;
  height: 480px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

/* ============================================
   VISIT / CONTACT MAP
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-border);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  display: block;
}

.contact-info {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-border);
  padding: 44px 40px;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.contact-info ul {
  list-style: none;
  display: grid;
  gap: 22px;
}

.contact-info li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info .ci-ico {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info .ci-ico svg { width: 20px; height: 20px; fill: #fff; }

.contact-info .ci-txt strong {
  display: block;
  color: var(--navy);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.contact-info .ci-txt span,
.contact-info .ci-txt a {
  color: var(--text-muted);
  font-size: 1rem;
}

.contact-info .ci-txt a:hover { color: var(--blue); }

.contact-info .btn { margin-top: 30px; width: 100%; justify-content: center; }

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  .about-grid,
  .quality-grid,
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img .badge-float { right: 20px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topbar-left { display: none; }
  .topbar-inner { justify-content: center; }
  .forms-strip { flex-direction: column; align-items: flex-start; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .timeline::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map iframe { min-height: 320px; }
  .faq-img { display: none; }

  /* Hero on tablet */
  .hero-content { max-width: 560px; padding: 30px 0; }
  .hero h1 { font-size: clamp(2rem, 5vw, 3rem); }
  .hero-tagline { font-size: 1.4rem; bottom: 4%; }

  /* Mobile / tablet navigation */
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform 0.35s ease;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu > li > a { padding: 14px 24px; border-radius: 0; }
  .nav-toggle { display: flex; }
  .nav-cta .btn:not(.rfq-btn) { display: none; }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .services-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .cert-cards { grid-template-columns: 1fr 1fr; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 124px; padding-bottom: 48px; }
  .about-img img { height: 360px; }
  .topbar { display: none; }

  /* Hero on mobile: hide script tagline, keep text on the wing photo */
  .hero-tagline { display: none; }
  .hero-content { max-width: none; padding: 18px 0 0; }
  /* Stronger top-down scrim so the white text stays readable over bright clouds */
  .hero-scrim {
    background: linear-gradient(to bottom, rgba(8,24,48,0.82) 0%, rgba(8,24,48,0.68) 40%, rgba(8,24,48,0.45) 70%, rgba(8,24,48,0.25) 100%);
  }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .cert-cards { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .ticker-item { font-size: 0.9rem; }
}

/* ============================================
   INNER PAGES
   ============================================ */
/* Active nav link */
.nav-menu > li > a.active { color: var(--red); font-weight: 700; }

/* Sub-page banner */
.page-banner {
  position: relative;
  margin-top: 118px;
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 55%, var(--blue) 130%);
  color: #fff;
  padding: 60px 0 56px;
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(43,125,224,0.35), transparent 70%);
  pointer-events: none;
}
.page-banner .eyebrow {
  display: inline-block;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: #ff8a98; margin-bottom: 12px;
}
.page-banner h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 14px;
  line-height: 1.12;
}
.page-banner p { color: rgba(255,255,255,0.85); font-size: 1.08rem; max-width: 720px; }
.breadcrumb {
  margin-top: 18px; font-size: 0.9rem; color: rgba(255,255,255,0.7);
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: #ff8a98; }

@media (max-width: 768px) {
  .page-banner { margin-top: 76px; padding: 44px 0 40px; }
}

/* Metal category block */
.cat-block { margin-bottom: 30px; }
.cat-block:last-child { margin-bottom: 0; }
.cat-head {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
}
.cat-head .cat-ico {
  width: 48px; height: 48px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: flex; align-items: center; justify-content: center;
}
.cat-head .cat-ico svg { width: 26px; height: 26px; fill: #fff; }
.cat-head h3 { font-size: 1.4rem; }
.cat-block > p { color: var(--text-muted); margin-bottom: 16px; max-width: 820px; }
.cat-apps {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px;
}
.cat-apps span {
  font-size: 0.84rem; padding: 5px 13px; background: var(--gray-bg);
  border: 1px solid var(--gray-border); color: var(--text-muted);
  border-radius: 50px; font-weight: 500;
}

/* Alloy AMS reference table */
.table-wrap { overflow-x: auto; border: 1px solid var(--gray-border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table.alloy-table { width: 100%; border-collapse: collapse; min-width: 540px; background: #fff; }
table.alloy-table th {
  background: var(--navy); color: #fff; text-align: left;
  font-size: 0.84rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 13px 16px; white-space: nowrap;
}
table.alloy-table td {
  padding: 12px 16px; border-top: 1px solid var(--gray-border);
  font-size: 0.92rem; color: var(--text-dark); vertical-align: top;
}
table.alloy-table tbody tr:nth-child(even) { background: var(--gray-bg); }
table.alloy-table td:first-child { font-weight: 600; color: var(--navy); white-space: nowrap; }

/* Live inventory widget */
.inv-bar {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
  margin-bottom: 20px; justify-content: space-between;
}
.inv-search {
  flex: 1 1 280px; max-width: 420px; position: relative;
}
.inv-search input {
  width: 100%; padding: 12px 16px 12px 42px;
  border: 1.5px solid var(--gray-border); border-radius: 8px;
  font-size: 0.96rem; font-family: inherit;
}
.inv-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20,86,160,0.12); }
.inv-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: var(--text-muted); }
.inv-meta { font-size: 0.9rem; color: var(--text-muted); }
.inv-meta b { color: var(--navy); }
.inv-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.inv-chip {
  font-size: 0.85rem; padding: 7px 15px; border-radius: 50px; cursor: pointer;
  background: #fff; border: 1px solid var(--gray-border); color: var(--text-muted);
  font-weight: 600; transition: var(--transition);
}
.inv-chip:hover { border-color: var(--blue); color: var(--blue); }
.inv-chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
table.inv-table { width: 100%; border-collapse: collapse; min-width: 620px; background: #fff; }
table.inv-table th {
  background: var(--navy); color: #fff; text-align: left; position: sticky; top: 0;
  font-size: 0.82rem; font-weight: 700; padding: 12px 16px; white-space: nowrap; cursor: pointer;
}
table.inv-table td { padding: 11px 16px; border-top: 1px solid var(--gray-border); font-size: 0.9rem; }
table.inv-table tbody tr:nth-child(even) { background: var(--gray-bg); }
table.inv-table td:first-child { font-weight: 600; color: var(--navy); }
.inv-scroll { max-height: 620px; overflow: auto; border: 1px solid var(--gray-border); border-radius: var(--radius); }
.inv-state { padding: 40px; text-align: center; color: var(--text-muted); }
.inv-note { margin-top: 14px; font-size: 0.85rem; color: var(--text-muted); }

/* generic two-col content with image */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split-grid img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }
@media (max-width: 900px) { .split-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Reusable info cards + check lists for inner pages */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.info-card {
  background: #fff; border: 1px solid var(--gray-border); border-radius: var(--radius);
  padding: 30px 30px 32px; box-shadow: var(--shadow-sm); transition: var(--transition);
}
.info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.info-card .ic-head { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.info-card .ic-ico {
  width: 46px; height: 46px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: flex; align-items: center; justify-content: center;
}
.info-card .ic-ico svg { width: 24px; height: 24px; fill: #fff; }
.info-card h3 { font-size: 1.18rem; color: var(--navy); line-height: 1.25; }
.info-card > p { color: var(--text-muted); margin-bottom: 16px; font-size: 0.95rem; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  position: relative; padding-left: 28px; font-size: 0.94rem;
  color: var(--text-dark); line-height: 1.45;
}
.check-list li::before {
  content: ''; position: absolute; left: 4px; top: 3px;
  width: 6px; height: 11px; border: solid var(--blue);
  border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}

/* Two-column feature list on inner pages */
.feature-list.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 34px; }
@media (max-width: 768px) { .feature-list.two-col { grid-template-columns: 1fr; } }

/* Inventory header card */
.inv-head {
  background: linear-gradient(120deg, var(--navy), var(--blue));
  color: #fff; border-radius: var(--radius); padding: 30px 34px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 30px;
}
.inv-head h2 { color: #fff; font-size: 1.5rem; margin-bottom: 6px; }
.inv-head p { color: rgba(255,255,255,0.85); font-size: 0.98rem; max-width: 560px; }
/* In-text links stay distinguishable without relying on color alone */
.inv-note a { text-decoration: underline; }
.inv-head .inv-live {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem;
  font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  background: rgba(255,255,255,0.15); padding: 8px 16px; border-radius: 50px;
}
.inv-head .inv-live .pulse {
  width: 9px; height: 9px; border-radius: 50%; background: #46d27a;
  box-shadow: 0 0 0 0 rgba(70,210,122,0.7); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(70,210,122,0.7); }
  70% { box-shadow: 0 0 0 8px rgba(70,210,122,0); }
  100% { box-shadow: 0 0 0 0 rgba(70,210,122,0); }
}
table.inv-table th[data-sorted]::after { content: ' \25B2'; font-size: 0.7em; }
table.inv-table th[data-sorted='desc']::after { content: ' \25BC'; }

/* Compact page CTA band */
.page-cta { background: var(--gray-bg); }
.page-cta .pc-inner {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy) 60%, var(--blue));
  border-radius: var(--radius); padding: 46px 40px; text-align: center; color: #fff;
}
.page-cta h2 { color: #fff; margin-bottom: 12px; }
.page-cta p { color: rgba(255,255,255,0.85); max-width: 620px; margin: 0 auto 26px; }
.page-cta .cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Balanced 2-column info grid (Quality, Services, Fasteners) */
.info-grid.g2 { grid-template-columns: repeat(2, 1fr); max-width: 980px; margin-left: auto; margin-right: auto; }
@media (max-width: 760px) { .info-grid.g2 { grid-template-columns: 1fr; } }

/* Centered 2-card row (e.g. Fasteners overview on the home page) */
.cards-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 380px));
  justify-content: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) { .cards-grid.cols-2 { grid-template-columns: 1fr; max-width: 420px; } }

/* ============================================
   NAV DROPDOWN MENUS
   ============================================ */
.nav-menu .has-dropdown { position: relative; }
.nav-menu .caret {
  display: inline-block; width: 0; height: 0; margin-left: 6px;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; vertical-align: middle; opacity: 0.65;
}
.nav-menu .dropdown {
  position: absolute; top: 100%; left: 0; min-width: 230px; list-style: none;
  background: #fff; border: 1px solid var(--gray-border); border-radius: 10px;
  box-shadow: var(--shadow-md); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s; z-index: 1001;
}
.nav-menu .has-dropdown:hover > .dropdown,
.nav-menu .has-dropdown:focus-within > .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-menu .dropdown li a {
  display: block; padding: 9px 14px; border-radius: 6px;
  color: var(--text-dark); font-size: 0.92rem; font-weight: 500; white-space: nowrap;
}
.nav-menu .dropdown li a:hover { background: var(--gray-bg); color: var(--blue); }

/* Mobile / tablet: dropdowns expand inline inside the slide-down menu */
@media (max-width: 992px) {
  .nav-menu .has-dropdown { position: static; }
  .nav-menu .caret { display: none; }
  .nav-menu .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-radius: 0; padding: 0 0 8px 0;
    min-width: 0; background: transparent;
  }
  .nav-menu .dropdown li a {
    padding: 10px 40px; font-size: 0.9rem; color: var(--text-muted);
  }
  .nav-menu .dropdown li a:hover { background: var(--gray-bg); }
}

/* 4-up metal cards row (home metals: two rows of four) */
.cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 992px) { .cards-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards-grid.cols-4 { grid-template-columns: 1fr; } }

/* Supply Chain Management cards (rebuilt diagram) */
.scm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.scm-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--gray-border); border-radius: var(--radius);
  padding: 24px 24px 26px; box-shadow: var(--shadow-sm); transition: var(--transition);
}
.scm-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.scm-card .scm-num {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.02rem;
}
.scm-card h3 { font-size: 1.08rem; color: var(--navy); margin-bottom: 5px; line-height: 1.3; }
.scm-card p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* Offset anchored sections below the fixed header (dropdown deep-links) */
section[id] { scroll-margin-top: 128px; }
@media (max-width: 768px) { section[id] { scroll-margin-top: 86px; } }

/* Base eyebrow style so subtitles outside .section-head (split-grid sections)
   match the red uppercase look used elsewhere */
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

/* Supply Chain Management diagram (client image, click to enlarge) */
.scm-diagram {
  display: block; max-width: 1040px; margin: 0 auto; background: #fff;
  border: 1px solid var(--gray-border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition);
}
.scm-diagram:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.scm-diagram img { width: 100%; height: auto; display: block; }

/* RFQ success state (after form submits) */
.rfq-success { text-align: center; padding: 18px 6px 6px; }
.rfq-success .rfq-check {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px;
  background: #e8f7ee; display: flex; align-items: center; justify-content: center;
}
.rfq-success .rfq-check svg { width: 34px; height: 34px; fill: #2e9e57; }
.rfq-success h3 { font-size: 1.4rem; margin-bottom: 10px; color: var(--navy); }
.rfq-success p { color: var(--text-muted); margin-bottom: 22px; }
