/* ============================================================
   Adams Enterprises Molding — v2
   Traditional manufacturing aesthetic. Light, clean, grounded.
   ============================================================ */

/* ===== PREVIEW PASSWORD GATE ===== */
#pw-gate {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.pw-card {
  background: #fff; border-radius: 20px;
  padding: 48px 40px; max-width: 420px; width: 100%;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0,0,0,.45);
}
.pw-icon-wrap {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--bg-warm); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 2rem;
}
.pw-gear-spin { display: inline-block; animation: pw-gear-turn 5s linear infinite; line-height: 1; }
.pw-card-eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 6px;
}
.pw-card-title { color: var(--navy); font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; letter-spacing: -.02em; }
.pw-card-desc { color: var(--text-muted); font-size: .88rem; line-height: 1.65; margin-bottom: 28px; }
.pw-input {
  display: block; width: 100%; box-sizing: border-box;
  padding: 14px 16px; margin-bottom: 10px;
  border: 2px solid var(--border); border-radius: var(--radius);
  font-size: 1rem; text-align: center; letter-spacing: .08em;
  font-family: var(--font-sans); color: var(--navy);
  transition: border-color .2s;
}
.pw-input:focus { outline: none; border-color: var(--navy); }
.pw-input.pw-shake { animation: pw-shake .35s ease; border-color: #d63031; }
.pw-btn {
  display: block; width: 100%; padding: 15px;
  background: var(--orange); color: #fff; border: none;
  border-radius: var(--radius); font-size: .97rem; font-weight: 700;
  cursor: pointer; font-family: var(--font-sans);
  transition: opacity .15s, transform .1s;
}
.pw-btn:hover { opacity: .88; }
.pw-btn:active { transform: scale(.98); }
.pw-error { color: #d63031; font-size: .8rem; margin-top: 10px; min-height: 1.1em; }
.pw-note {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border);
  font-size: .73rem; color: var(--text-light); line-height: 1.5;
}
@keyframes pw-gear-turn { to { transform: rotate(360deg); } }
@keyframes pw-shake {
  0%,100% { transform: translateX(0); }
  20%     { transform: translateX(-7px); }
  40%     { transform: translateX(7px); }
  60%     { transform: translateX(-5px); }
  80%     { transform: translateX(5px); }
}
/* ===== END PREVIEW GATE ===== */

:root {
  --bg:         #fafaf8;
  --bg-warm:    #f2efe9;
  --bg-navy:    #162842;
  --bg-navy-dk: #0f1e33;
  --white:      #ffffff;
  --navy:       #162842;
  --navy-mid:   #1e3a5f;
  --orange:     #c4510d;
  --orange-hov: #ae470b;
  --orange-lt:  #e8650f;
  --text:       #1c1c1a;
  --text-mid:   #444440;
  --text-muted: #6b6b68;
  --text-light: #999895;
  --border:     #dbd8d2;
  --border-lt:  #edeae4;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --section-py:    88px;
  --container-max: 1180px;
  --container-px:  28px;

  --radius-sm: 4px;
  --radius:    6px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,.07);
  --shadow:    0 2px 12px rgba(0,0,0,.09);
  --shadow-lg: 0 6px 28px rgba(0,0,0,.12);

  --transition: 0.18s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); background: var(--bg); color: var(--text); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-hov); }

/* --- Typography --- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.05rem, 2vw, 1.35rem); }
h4 { font-size: 1rem; }
p  { color: var(--text-mid); line-height: 1.72; }

.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 10px;
}
.rule {
  width: 40px;
  height: 3px;
  background: var(--orange);
  margin: 14px 0;
}
.rule.center { margin: 14px auto; }

/* --- Layout --- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-px); }
.section     { padding: var(--section-py) 0; }
.section-warm { background: var(--bg-warm); }
.section-white { background: var(--white); }
.section-navy { background: var(--bg-navy); }

.section-head { margin-bottom: 52px; }
.section-head.center { text-align: center; }
.section-head.center .section-desc { margin: 0 auto; }
.section-head h2 { margin-bottom: 10px; }
.section-desc { color: var(--text-muted); max-width: 620px; font-size: 1.05rem; margin-top: 6px; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .93rem; cursor: pointer;
  transition: all var(--transition); border: 2px solid transparent;
  font-family: var(--font-sans); text-decoration: none;
  white-space: nowrap; line-height: 1;
}
.btn-primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-hov); border-color: var(--orange-hov); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-mid); border-color: var(--navy-mid); color: var(--white); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: var(--white); color: var(--white); }
.btn-lg { padding: 16px 34px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: .82rem; }

/* --- Navigation --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

/* Logo — dual image: full horizontal on desktop, icon mark on mobile */
.nav-logo { display: flex; align-items: center; gap: 0; text-decoration: none; }
.nav-logo-img         { width: auto; display: block; object-fit: contain; }
.nav-logo-full        { height: 44px; display: block; }
.nav-logo-mark        { height: 40px; display: none; }   /* shown on small screens only */
.logo-mark {
  width: 40px; height: 40px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-ae-text {
  font-size: 1.05rem; font-weight: 900; letter-spacing: -1px;
  color: var(--white); line-height: 1;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-size: .8rem; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.logo-sub  { font-size: .66rem; font-weight: 500; color: var(--text-muted); letter-spacing: .06em; text-transform: uppercase; }

/* Footer logo — standalone mark, naturally reads on dark navy */
.site-logo-footer { height: 52px; width: auto; display: block; object-fit: contain; opacity: .9; }

.nav-links { display: flex; list-style: none; gap: 0; }
.nav-links a {
  display: block; padding: 10px 14px;
  color: var(--text-mid); font-weight: 500; font-size: .88rem;
  text-decoration: none; transition: color var(--transition);
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); border-bottom-color: var(--orange); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .28s; }
.mobile-nav { display: none; background: var(--white); border-bottom: 1px solid var(--border); padding: 8px 0; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 13px 28px; color: var(--text-mid); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--border-lt); transition: color var(--transition); }
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav a:hover { color: var(--orange); }
.mobile-nav .btn-mob { display: block; margin: 14px 28px 10px; text-align: center; background: var(--orange); color: var(--white); padding: 13px; border-radius: var(--radius-sm); font-weight: 600; font-size: .9rem; border-bottom: none; }
.page-content { padding-top: 70px; }

/* --- Hero --- */
.hero {
  background: var(--bg-navy);
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,.025) 100%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-simple { grid-template-columns: 1fr; max-width: 760px; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
}
.hero-kicker::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}
.hero h1 { color: var(--white); margin-bottom: 16px; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.65); margin-bottom: 34px; line-height: 1.75; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero right — photo placeholder */
.hero-img-block {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.hero-img-block-label {
  font-size: .72rem;
  color: rgba(255,255,255,.3);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
}
.hero-img-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.3) 100%);
}

/* --- Trust / Stats bar --- */
.stat-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.stat-bar-inner {
  display: flex;
  align-items: stretch;
}
.stat-bar-item {
  flex: 1;
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat-bar-item:last-child { border-right: none; }
.stat-bar-num {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-bar-num em { color: var(--orange); font-style: normal; }
.stat-bar-label {
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* --- Trust strip (text items, no icons) --- */
.trust-strip {
  background: var(--navy);
  padding: 18px 0;
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-item {
  padding: 8px 28px;
  color: rgba(255,255,255,.6);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  border-right: 1px solid rgba(255,255,255,.12);
  white-space: nowrap;
}
.trust-item:last-child { border-right: none; }
.trust-item strong { color: var(--white); }

/* --- Photo blocks --- */
.photo-block {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--text-light);
  font-size: .75rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-weight: 600;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 30px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.card:hover { box-shadow: var(--shadow); border-color: #c8c5bf; }
.card-num {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.card h3 { margin-bottom: 8px; }
.card p  { color: var(--text-muted); font-size: .92rem; }

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

/* --- Two-column content --- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.two-col-text h2 { margin-bottom: 10px; }
.two-col-text p  { color: var(--text-muted); margin-bottom: 14px; }
.two-col-text .rule { margin-bottom: 20px; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-top: 20px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .92rem; color: var(--text-muted); padding-bottom: 9px;
  border-bottom: 1px solid var(--border-lt);
}
.feature-list li:last-child { border-bottom: none; padding-bottom: 0; }
.feature-list li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

/* --- Navy band CTA --- */
.band-navy {
  background: var(--bg-navy);
  padding: 72px 0;
  text-align: center;
}
.band-navy h2 { color: var(--white); margin-bottom: 12px; }
.band-navy p  { color: rgba(255,255,255,.6); max-width: 520px; margin: 0 auto 32px; font-size: 1.02rem; }
.band-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --- Orange band --- */
.band-orange {
  background: var(--orange);
  padding: 52px 0;
}
.band-orange-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.band-orange h2 { color: var(--white); font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
.band-orange p  { color: rgba(255,255,255,.8); font-size: .95rem; margin-top: 6px; }

/* --- Industry grid --- */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.industry-cell {
  background: var(--white);
  padding: 28px 24px;
  text-decoration: none;
  transition: background var(--transition);
  display: block;
}
.industry-cell:hover { background: var(--bg-warm); }
.industry-cell-num { font-size: .7rem; font-weight: 700; color: var(--text-light); letter-spacing: .1em; margin-bottom: 8px; display: block; }
.industry-cell h3 { font-size: .97rem; color: var(--navy); margin-bottom: 6px; }
.industry-cell p  { font-size: .82rem; color: var(--text-muted); line-height: 1.5; }
.industry-cell-link { font-size: .78rem; font-weight: 700; color: var(--orange); margin-top: 10px; display: inline-block; }

/* --- Tabs --- */
.tab-nav { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 44px; overflow-x: auto; }
.tab-btn {
  padding: 12px 22px; background: none; border: none;
  font-family: var(--font-sans); font-size: .88rem; font-weight: 600;
  color: var(--text-muted); cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  white-space: nowrap; transition: all var(--transition);
}
.tab-btn:hover  { color: var(--navy); }
.tab-btn.active { color: var(--navy); border-bottom-color: var(--orange); }
.tab-panel { display: none; animation: fadeIn .25s ease; }
.tab-panel.active { display: block; }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

/* --- Data table --- */
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.data-table th {
  text-align: left; padding: 11px 16px;
  background: var(--bg-warm); color: var(--text-muted);
  font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700;
  border-bottom: 1px solid var(--border);
}
.data-table td { padding: 13px 16px; border-bottom: 1px solid var(--border-lt); color: var(--text-mid); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-warm); }

/* --- Testimonial --- */
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 36px 32px;
  position: relative;
}
.testimonial-quote {
  font-size: 1.02rem;
  line-height: 1.78;
  color: var(--text-mid);
  font-style: italic;
  margin-bottom: 24px;
  padding-top: 12px;
}
.testimonial-quote::before {
  content: '\201C';
  display: block;
  font-size: 3.5rem;
  color: var(--orange);
  opacity: .25;
  font-family: Georgia, serif;
  line-height: .8;
  margin-bottom: 8px;
  font-style: normal;
}
.testimonial-who { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--border-lt); }
.testimonial-who-init {
  width: 40px; height: 40px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 700; flex-shrink: 0;
}
.testimonial-who strong { display: block; color: var(--navy); font-size: .9rem; }
.testimonial-who span   { color: var(--text-muted); font-size: .8rem; }

/* --- Forms --- */
.form-wrap { max-width: 680px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.f-group    { display: flex; flex-direction: column; gap: 6px; }
.f-group.full { grid-column: 1 / -1; }
.f-group label { font-size: .78rem; font-weight: 700; color: var(--text-muted); letter-spacing: .05em; text-transform: uppercase; }
.f-group input,
.f-group select,
.f-group textarea {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 11px 14px;
  color: var(--text); font-family: var(--font-sans); font-size: .93rem;
  transition: border-color var(--transition); outline: none; width: 100%;
}
.f-group input:focus,
.f-group select:focus,
.f-group textarea:focus { border-color: var(--navy); }
.f-group textarea { resize: vertical; min-height: 120px; }
.f-group select option { background: var(--white); }
.f-note { font-size: .76rem; color: var(--text-light); margin-top: 3px; }
.f-submit { margin-top: 10px; }

.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg-warm);
}
.upload-zone:hover { border-color: var(--navy); background: var(--white); }
.upload-zone p { color: var(--text-muted); font-size: .88rem; }
.upload-zone small { color: var(--text-light); font-size: .76rem; margin-top: 4px; display: block; }
.upload-zone input[type="file"] { display: none; }

.form-ok { display: none; text-align: center; padding: 56px 32px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.form-ok.show { display: block; }
.form-ok h3 { color: var(--navy); margin-bottom: 10px; }
.form-ok p  { color: var(--text-muted); }
.ok-circle { width: 56px; height: 56px; background: #e8f5e9; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: #388e3c; }

/* --- Contact --- */
.contact-block {
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
}
.contact-block h4 { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-light); margin-bottom: 6px; }
.contact-block p,
.contact-block a { color: var(--text-mid); font-size: .93rem; }
.contact-block a:hover { color: var(--orange); }

.map-box {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--text-light);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 14px;
}

/* --- Values (numbered) --- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.value-block {
  background: var(--white);
  padding: 32px 28px;
  transition: background var(--transition);
}
.value-block:hover { background: var(--bg-warm); }
.value-block-num { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; display: block; }
.value-block h3   { font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; }
.value-block p    { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

/* --- Resource cards --- */
.resource-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 30px; display: flex; flex-direction: column; transition: box-shadow var(--transition); }
.resource-card:hover { box-shadow: var(--shadow); }
.resource-type { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-light); margin-bottom: 10px; display: block; }
.resource-card h3 { font-size: 1.02rem; color: var(--navy); margin-bottom: 8px; }
.resource-card p  { color: var(--text-muted); font-size: .88rem; line-height: 1.62; flex: 1; }
.resource-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border-lt); }
.resource-foot span { font-size: .76rem; color: var(--text-light); }

/* --- Process list --- */
.process-list { list-style: none; counter-reset: proc; display: flex; flex-direction: column; gap: 0; }
.process-item { counter-increment: proc; display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--border-lt); }
.process-item:last-child { border-bottom: none; }
.process-item::before {
  content: counter(proc, decimal-leading-zero);
  font-size: .72rem; font-weight: 800; color: var(--orange);
  letter-spacing: .04em; flex-shrink: 0;
  width: 32px; padding-top: 3px;
}
.process-item h4 { color: var(--navy); margin-bottom: 4px; font-size: .97rem; }
.process-item p  { color: var(--text-muted); font-size: .88rem; }

/* --- Footer --- */
.footer { background: var(--bg-navy-dk); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand p { color: rgba(255,255,255,.45); font-size: .88rem; margin: 16px 0 20px; max-width: 260px; line-height: 1.7; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-contact a { color: rgba(255,255,255,.45); font-size: .88rem; transition: color var(--transition); }
.footer-contact a:hover { color: var(--white); }
.footer-col h4 { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: rgba(255,255,255,.5); font-size: .88rem; text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-logo-ae { font-size: .88rem; font-weight: 900; letter-spacing: -1px; color: var(--white); }
.footer-logo-name { font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.5); letter-spacing: .06em; text-transform: uppercase; margin-left: 3px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; flex-wrap: wrap; gap: 10px; }
.footer-bottom p    { font-size: .8rem; color: rgba(255,255,255,.28); }
.footer-tagline     { font-size: .8rem; color: rgba(255,255,255,.28); font-style: italic; }

/* --- Misc --- */
.divider { height: 1px; background: var(--border); }
.info-box { background: var(--bg-warm); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; }
.info-box h4 { font-size: .88rem; color: var(--navy); margin-bottom: 6px; }
.info-box p  { font-size: .88rem; color: var(--text-muted); }

/* --- Tour Page --- */
.tour-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 40px;
}
.tour-highlight {
  background: var(--white);
  padding: 28px 26px;
  text-align: center;
}
.tour-highlight-icon {
  width: 48px; height: 48px;
  background: var(--bg-warm);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.3rem;
}
.tour-highlight h4 { font-size: .97rem; color: var(--navy); margin-bottom: 6px; }
.tour-highlight p  { font-size: .85rem; color: var(--text-muted); }

.tour-expect-list { list-style: none; display: flex; flex-direction: column; gap: 0; margin-top: 12px; }
.tour-expect-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--border-lt);
  font-size: .92rem; color: var(--text-muted);
}
.tour-expect-list li:last-child { border-bottom: none; }
.tour-expect-num {
  flex-shrink: 0; width: 26px; height: 26px;
  background: var(--navy); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 800; margin-top: 1px;
}

/* --- Video placeholder --- */
.video-block {
  background: var(--bg-navy);
  border-radius: var(--radius-lg);
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
  cursor: pointer;
}
.video-play-btn {
  width: 64px; height: 64px;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.video-block:hover .video-play-btn { background: var(--orange); border-color: var(--orange); }
.video-play-btn svg { margin-left: 4px; }
.video-block-label { font-size: .75rem; color: rgba(255,255,255,.4); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }

/* --- Nav tour link style --- */
.nav-tour-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--radius-sm);
  font-size: .82rem; font-weight: 600; color: var(--navy);
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-tour-link:hover { border-color: var(--navy); color: var(--navy); background: var(--bg-warm); }
.nav-tour-link svg { flex-shrink: 0; }

.fade-in { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

.text-center { text-align: center; }
.mt-8  { margin-top:  8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom:  8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; } .mb-48 { margin-bottom: 48px; }

/* --- NDA / IP notice near CAD upload --- */
.nda-notice {
  display: flex; align-items: flex-start; gap: 8px;
  background: #eef3f9; border: 1px solid #c5d5e8; border-radius: var(--radius);
  padding: 10px 14px; margin-top: 10px;
  font-size: .8rem; color: #2c4a6e; line-height: 1.5;
}
.nda-notice svg { color: #2c6aad; flex-shrink: 0; }

/* --- Made in USA Band --- */
.band-usa {
  background: var(--navy); color: var(--white);
  padding: 48px 0; text-align: center;
}
.band-usa .eyebrow { color: var(--orange); }
.band-usa h2 { color: var(--white); font-size: clamp(1.4rem, 3vw, 2rem); margin: 8px 0 12px; }
.band-usa p { color: rgba(255,255,255,.72); max-width: 640px; margin: 0 auto 24px; font-size: .97rem; }
.band-usa-flags {
  display: flex; align-items: center; justify-content: center; gap: 32px;
  flex-wrap: wrap; margin-top: 24px;
}
.band-usa-flag-item {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); padding: 12px 20px;
  font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.9);
}
.band-usa-flag-item .flag-icon { font-size: 1.4rem; line-height: 1; }

/* --- Rush / Overflow Capacity callout --- */
.rush-callout {
  background: var(--orange); color: var(--white); padding: 56px 0;
}
.rush-callout-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.rush-callout h2 { color: var(--white); font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 12px; }
.rush-callout p { color: rgba(255,255,255,.85); line-height: 1.7; margin-bottom: 16px; }
.rush-callout ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.rush-callout ul li {
  display: flex; align-items: flex-start; gap: 10px;
  color: rgba(255,255,255,.88); font-size: .92rem;
}
.rush-callout ul li::before {
  content: "✓"; font-weight: 800; flex-shrink: 0; margin-top: 1px;
  color: rgba(255,255,255,.6);
}
.rush-callout .btn-outline-white { border-color: rgba(255,255,255,.5); }
.rush-callout .btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: white; }
.rush-card {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg); padding: 28px 24px; display: flex; flex-direction: column; gap: 20px;
}
.rush-stat { text-align: center; }
.rush-stat-num { font-size: 2.2rem; font-weight: 800; color: var(--white); display: block; line-height: 1; margin-bottom: 4px; }
.rush-stat-label { font-size: .78rem; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }

/* --- Sales / Engineer Visit form section --- */
.visit-qual-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px;
}
.visit-qual-item {
  background: var(--bg-warm); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 16px;
  font-size: .85rem; line-height: 1.5;
}
.visit-qual-item strong { display: block; color: var(--navy); margin-bottom: 4px; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .hero-inner    { grid-template-columns: 1fr; }
  .hero-img-block { display: none; }
  .two-col { gap: 48px; }
  .tour-highlight-grid { grid-template-columns: 1fr; }
  .nav-tour-link { display: none; }
}
@media (max-width: 768px) {
  :root { --section-py: 64px; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-tour-link { display: none; }
  .nav-toggle { display: flex; }
  /* Switch to icon mark on mobile — full horizontal logo text too small at this size */
  .nav-logo-full { display: none; }
  .nav-logo-mark { display: block; }
  .hero { padding: 72px 0 60px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .values-grid   { grid-template-columns: 1fr; }
  .tour-highlight-grid { grid-template-columns: 1fr; }
  .stat-bar-inner { flex-wrap: wrap; }
  .stat-bar-item { flex: 0 0 50%; border-right: none; border-bottom: 1px solid var(--border); }
  .stat-bar-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .f-group.full { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .band-orange-inner { flex-direction: column; text-align: center; }
  .tab-nav { gap: 0; }
  .rush-callout-inner { grid-template-columns: 1fr; }
  .visit-qual-grid { grid-template-columns: 1fr; }
  .band-usa-flags { gap: 16px; }
  /* Collapse all inline-style grids to single column on mobile */
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 32px !important; }
  /* Release sticky sidebars in single-column layout */
  [style*="position: sticky"], [style*="position:sticky"] { position: static !important; }
  /* Scrollable equipment table on small screens */
  .data-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .data-table { min-width: 560px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .band-actions { flex-direction: column; align-items: center; }
  .stat-bar-item { flex: 0 0 100%; border-right: none; }
}
