/* ============================================================
   The Fastener Factory — premium industrial stylesheet v2
   Palette: white / blue / black / grey
   ============================================================ */

:root {
  --navy:       #0b1d3a;
  --navy-2:     #11294a;
  --blue:       #1a5fb4;
  --blue-2:     #154a8a;
  --blue-soft:  #eaf1fb;
  --ink:        #0f172a;
  --muted:      #64748b;
  --line:       #e2e8f0;
  --paper:      #ffffff;
  --surface:    #ffffff;
  --bg-soft:    #f6f8fb;
  --bg-panel:   #f1f5f9;
  --shadow-sm:  0 1px 2px rgba(15,23,42,.05), 0 1px 3px rgba(15,23,42,.04);
  --shadow-md:  0 6px 18px rgba(15,23,42,.08), 0 1px 2px rgba(15,23,42,.04);
  --shadow-lg:  0 14px 36px rgba(15,23,42,.12), 0 2px 4px rgba(15,23,42,.05);
  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  16px;
  --maxw:       1240px;
  --font:       'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono:       'JetBrains Mono', Menlo, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

h1,h2,h3 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; color: var(--navy); }
h4,h5,h6 { margin: 0; font-weight: 600; color: var(--navy); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: '';
  width: 22px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

/* ============================================================
   Top bar
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.brand-logo { height: 40px; width: auto; }
.brand-name {
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.nav { display: flex; gap: 2px; margin-left: 6px; }
.nav a {
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: .93rem;
  color: var(--navy-2);
  transition: background .15s, color .15s;
  position: relative;
}
.nav a:hover { background: var(--bg-soft); color: var(--navy); }
.nav a.active { color: var(--blue); }

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 9px 18px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600;
  font-size: .9rem;
  transition: background .15s, transform .1s;
}
.nav-cta:hover { background: var(--blue); color: #fff !important; transform: translateY(-1px); }

.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--navy);
  color: #fff;
  padding: 9px 15px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .88rem;
  transition: background .15s, transform .1s;
}
.cta-phone:hover { background: var(--blue); color: #fff; transform: translateY(-1px); }
.cta-phone:hover svg { color: #fff; }
.cta-phone-label { display: none; }
.cta-phone-num { font-weight: 700; letter-spacing: .01em; }

.cta-phone svg { color: var(--blue); flex-shrink: 0; }
.cta-phone:hover svg { color: #fff; }

.mobile-menu-btn { display: none; width: 42px; height: 42px; border-radius: 8px; color: var(--navy); }
.mobile-menu-btn:hover { background: var(--bg-soft); }
.hamburger {
  position: relative; display: block; width: 20px; height: 2px; background: currentColor;
  border-radius: 2px; transition: background .2s, transform .2s;
}
.hamburger::before, .hamburger::after {
  content: '';
  position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .2s, top .2s;
}
.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px;  }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 96px 0 72px;
  color: var(--ink);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
  z-index: 0;
}

/* subtle structural grid motif */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .45;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  z-index: 1;
}

.hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.hero-top { margin-bottom: 32px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--blue);
  border-radius: 100px;
  background: var(--blue-soft);
  color: var(--blue-2);
  font-size: .82rem;
  font-weight: 600;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue);
}
.hero-badge--muted {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}
.hero-badge--muted .dot { background: var(--muted); }

.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 3.8rem);
  max-width: 16ch;
  margin-bottom: 22px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.hero-title .accent { color: var(--blue); font-weight: 700; }

.hero-lead {
  font-size: 1.08rem;
  max-width: 58ch;
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .93rem;
  transition: transform .12s, box-shadow .15s, background .15s, color .15s, border-color .15s;
  text-align: center;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(26,95,180,.28);
}
.btn--primary:hover { background: var(--blue-2); color: #fff; box-shadow: 0 8px 20px rgba(26,95,180,.32); }

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

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}
.btn--ghost:hover { background: var(--bg-soft); border-color: var(--blue); color: var(--navy); }

.btn--whatsapp {
  background: #25D366;
  color: #fff;
  padding: 13px 22px;
}
.btn--whatsapp:hover { background: #1da855; color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(37,211,102,.28); }

.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--sm { padding: 9px 16px; font-size: .84rem; }

.hero-trust {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: .83rem;
  color: var(--navy-2);
  box-shadow: var(--shadow-sm);
}
.trust-num { font-weight: 700; color: var(--navy); font-size: 1rem; }
.trust-label { color: var(--muted); }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 72px 0; }
.section--alt { background: var(--bg-soft); }
.section--panel { background: var(--paper); }

.section-head { max-width: 64ch; margin-bottom: 44px; }
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 1.02rem; line-height: 1.6; }

/* ============================================================
   Catalogue preview (replacement for product grid)
   ============================================================ */
.catalogue-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.catalogue-intro-left { max-width: 58ch; }
.catalogue-intro-left p { color: var(--muted); margin-bottom: 18px; }
.catalogue-stats {
  display: flex; gap: 28px; flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  margin-top: 18px;
}
.catalogue-stat { display: flex; flex-direction: column; gap: 2px; }
.catalogue-stat strong { font-size: 1.6rem; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; line-height: 1; }
.catalogue-stat span { font-size: .82rem; color: var(--muted); }

.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.catalogue-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 22px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
  position: relative;
  overflow: hidden;
}
.catalogue-card::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 4px; height: 0;
  background: var(--blue);
  border-radius: 0 2px 2px 0;
  transition: height .25s;
}
.catalogue-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}
.catalogue-card:hover::after { height: calc(100% - 44px); }

.card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-panel);
  color: var(--navy);
  flex-shrink: 0;
  transition: background .15s;
}
.catalogue-card:hover .card-icon { background: var(--blue-soft); color: var(--blue); }
.card-icon img { width: 100%; height: 100%; object-fit: contain; }
.card-icon svg { width: 100%; height: 100%; }

.card-tag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-block;
}
.card-title { font-size: 1.18rem; margin: 6px 0 8px; }
.card-desc { color: var(--muted); font-size: .9rem; line-height: 1.5; }

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.card-count {
  font-size: .78rem;
  color: var(--muted);
  font-weight: 500;
}
.card-arrow {
  color: var(--blue);
  font-size: 1.1rem;
  font-weight: 700;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .18s, transform .18s;
}
.catalogue-card:hover .card-arrow { opacity: 1; transform: none; }

/* ============================================================
   Categories strip (horizontal)
   ============================================================ */
.categories-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--navy-2);
  transition: background .15s, border-color .15s, color .15s, transform .1s;
}
.cat-chip:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(26,95,180,.2);
}
.cat-chip:hover .cat-chip-icon { color: #fff; }
.cat-chip-icon { color: var(--muted); transition: color .15s; }

/* ============================================================
   Industries
   ============================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.industry-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  aspect-ratio: 4 / 3;
  display: block;
  transition: transform .25s;
}
.industry-card:hover { transform: translateY(-2px); }
.industry-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.7) brightness(.7);
  transition: filter .3s, transform .4s;
}
.industry-card:hover img { filter: saturate(1) brightness(1.02); transform: scale(1.04); }
.industry-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0) 30%, rgba(15,23,42,.7) 100%);
  z-index: 2;
}
.industry-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 16px 14px;
  z-index: 3;
}
.industry-card-body h3 {
  font-size: .95rem;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 6px rgba(15,23,42,.5);
}
.industry-card-body p { display: none; }

/* ============================================================
   Why trust / brand strip
   ============================================================ */
.trust-section { padding: 64px 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 4px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 24px;
}
.trust-cell {
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid var(--line);
}
.trust-cell:last-child { border-right: 0; }
.trust-cell .num {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.03em;
  line-height: 1;
}
.trust-cell .label { color: var(--muted); font-size: .85rem; font-weight: 500; }

/* ============================================================
   About / brand strip
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 52px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.about-copy p { color: var(--muted); margin-bottom: 18px; }
.about-list { margin-top: 6px; }
.about-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--navy-2);
}
.about-list li:last-child { border-bottom: 0; }
.about-list li strong { color: var(--navy); }
.about-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.about-logo { height: 64px; width: auto; }
.brand-strip {
  width: 100%; max-width: 220px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 14px;
}
.brand-strip img { height: auto; width: 100%; object-fit: contain; }
.brand-note { color: var(--muted); font-size: .86rem; text-align: center; line-height: 1.5; }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-address { font-style: normal; color: var(--navy-2); margin-bottom: 24px; }
.contact-details { margin-top: 28px; }
.contact-details h3 { font-size: 1.05rem; margin-bottom: 14px; }
.detail-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.detail-label {
  font-size: .72rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  min-width: 130px;
}
.detail-val { color: var(--navy); font-weight: 500; }
.detail-val a:hover { color: var(--blue); }

.whatsapp-promo {
  margin-top: 24px;
  padding: 20px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.whatsapp-promo .btn { width: 100%; justify-content: center; }
.whatsapp-note { color: var(--muted); font-size: .88rem; }

.contact-cards { display: flex; flex-direction: column; gap: 12px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.contact-card-icon { color: var(--blue); }
.contact-card-body { flex: 1; }
.contact-card-title { font-size: 1rem; }
.contact-card-sub { color: var(--muted); font-size: .88rem; margin-top: 2px; }
.contact-card-arrow { color: var(--muted); opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s; font-size: 1.1rem; }
.contact-card:hover .contact-card-arrow { opacity: 1; transform: none; }

.social-block { margin-top: 28px; }
.social-links { display: flex; gap: 12px; flex-wrap: wrap; }
.social-links a {
  color: var(--navy-2);
  transition: color .15s, transform .1s;
}
.social-links a:hover { color: var(--blue); transform: translateY(-1px); }

/* ============================================================
   Quote page
   ============================================================ */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 64px 0 56px;
}
.page-hero .container { position: relative; z-index: 2; }
.page-title { font-size: clamp(1.9rem, 3.8vw, 2.8rem); margin: 14px 0 12px; max-width: 24ch; color: #fff; }
.page-sub { color: rgba(255,255,255,.72); font-size: 1.05rem; max-width: 62ch; }

.quote-paths {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.path-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s, border-color .15s;
  position: relative;
}
.path-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.path-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.path-icon--ask   { background: var(--blue-soft); color: var(--blue); }
.path-icon--list  { background: var(--bg-panel); color: var(--navy); }
.path-icon--upload{ background: #e8f5ec; color: #17663f; }
.path-icon--whatsapp{ background: rgba(37,211,102,.16); color: #15824a; }
.path-body { flex: 1; }
.path-tag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.path-title { font-size: 1.05rem; margin: 4px 0 4px; color: var(--navy); }
.path-desc { color: var(--muted); font-size: .88rem; line-height: 1.45; }
.path-arrow {
  color: var(--muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .15s, transform .15s;
  font-size: 1.2rem;
}
.path-card:hover .path-arrow { opacity: 1; transform: none; }

.quote-form-wrap { max-width: 780px; margin: 0 auto; }
.quote-form-head { max-width: 56ch; margin-bottom: 24px; }
.quote-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-md);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy-2);
}
.field input, .field textarea, .field select {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-family: inherit;
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-hint { font-size: .78rem; color: var(--muted); margin: 0; }
.required { color: #b91c1c; margin-left: 2px; }

.form-row { display: grid; gap: 14px; }
.form-row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form-row--2 { grid-template-columns: 1fr; } }

.form-fineprint { font-size: .78rem; color: var(--muted); margin: 14px 0 0; }
.form-success {
  margin-top: 16px;
  padding: 16px 18px;
  background: #e8f5ec;
  border: 1px solid #b7e4c7;
  border-radius: var(--radius);
  color: #0e4d2a;
  font-size: .92rem;
  line-height: 1.5;
}

.upload-wrap { max-width: 780px; margin: 0 auto; }
.upload-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.upload-zone {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
  transition: border-color .15s, background .15s;
  cursor: pointer;
  position: relative;
}
.upload-zone:hover { border-color: var(--blue); background: var(--blue-soft); }
.upload-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-title { color: var(--navy); font-size: 1.02rem; }
.upload-sub { color: var(--muted); font-size: .88rem; margin-top: 6px; display: block; }
.upload-list {
  margin-top: 14px;
  max-height: 140px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.upload-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: .86rem;
}
.upload-item .ui-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-item .ui-size { color: var(--muted); font-size: .76rem; font-weight: 500; }
.upload-item .ui-remove {
  color: var(--muted);
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1;
}
.upload-item .ui-remove:hover { color: #b91c1c; background: rgba(185,28,28,.06); }
.upload-actions { display: flex; gap: 12px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.upload-fineprint { font-size: .78rem; color: var(--muted); }
#upload-send { display: none; }

.quick-wrap { max-width: 780px; margin: 0 auto; }
.quick-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}
.quick-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-family: inherit;
  background: var(--paper);
  color: var(--ink);
  outline: none;
  resize: vertical;
  min-height: 104px;
  margin-bottom: 14px;
  transition: border-color .15s, box-shadow .15s;
}
.quick-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.quick-actions { display: flex; gap: 12px; flex-wrap: wrap; }
#quick-send { flex: 1; justify-content: center; }

.contact-strip {
  background: var(--navy);
  color: rgba(255,255,255,.74);
  padding: 30px 0;
}
.contact-strip-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}
.cs-brand { display: flex; align-items: center; gap: 14px; }
.cs-brand img { height: 36px; width: auto; }
.cs-brand p { font-size: .86rem; margin: 0; color: rgba(255,255,255,.7); }
.cs-info { display: flex; gap: 24px; flex-wrap: wrap; font-size: .9rem; }
.cs-info div { display: flex; gap: 6px; align-items: baseline; }
.cs-info strong { color: rgba(255,255,255,.9); font-weight: 600; }
.cs-info a { color: var(--blue); }
@media (max-width: 640px) {
  .cs-info { gap: 10px; }
  .cs-info div { width: 100%; margin-bottom: 4px; }
}

/* ============================================================
   HEICO page
   ============================================================ */
.product-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 36px;
}
.intro-copy p { color: var(--muted); margin-bottom: 16px; }
.intro-features { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.feature-chip {
  padding: 5px 12px;
  background: var(--blue-soft);
  border: 1px solid var(--blue);
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--blue-2);
  letter-spacing: .01em;
}
.intro-hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-panel);
  border: 1px solid var(--line);
}
.intro-hero-img img { width: 100%; height: auto; display: block; }
.img-caption { display: block; margin-top: 10px; color: var(--muted); font-size: .78rem; text-align: center; }

.heico-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.heico-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s, border-color .15s;
  overflow: hidden;
  position: relative;
}
.heico-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.heico-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-panel);
  border-top: 3px solid var(--blue);
}
.heico-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.heico-card:hover .heico-card-img img { transform: scale(1.04); }
.heico-card-body { padding: 18px 20px 16px; }
.heico-tag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 6px;
}
.heico-title { font-size: 1.08rem; margin-bottom: 6px; }
.heico-desc { color: var(--muted); font-size: .88rem; line-height: 1.5; }

.quote-strip {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.qs-heico {
  display: flex;
  align-items: center;
  gap: 14px;
}
.qs-heico img { height: 40px; width: auto; }
.qs-heico p {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  margin: 0;
  font-weight: 500;
}
.qs-actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.qs-actions .btn { flex: 1; justify-content: center; }

.industry-links { margin-top: 32px; }
.industry-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chip {
  padding: 7px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: .86rem;
  font-weight: 500;
  color: var(--navy-2);
  transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.chip:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(26,95,180,.2);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 38px 0 32px;
  margin-top: 36px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand img { height: 34px; width: auto; }
.footer-brand p { font-size: .82rem; color: rgba(255,255,255,.6); margin: 0; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,.72); font-size: .88rem; font-weight: 500; transition: color .15s; }
.footer-nav a:hover { color: #fff; }
.footer-social { margin-left: auto; display: flex; gap: 12px; }
.footer-social a { color: rgba(255,255,255,.7); transition: color .15s, transform .1s; }
.footer-social a:hover { color: var(--blue); transform: translateY(-1px); }

/* ============================================================
   AI chatbot
   ============================================================ */
.chat-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(26,95,180,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.chat-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg), 0 0 0 6px rgba(26,95,180,.22);
  background: var(--blue-2);
}
.chat-badge {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.chat-label { display: none; }

.chat-panel {
  position: fixed;
  right: 22px;
  bottom: 88px;
  z-index: 100;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 110px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-panel[hidden] { display: none; }

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.chat-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-meta { flex: 1; min-width: 0; }
.chat-meta strong { font-size: .9rem; color: var(--navy); }
.chat-sub { font-size: .74rem; color: var(--muted); }
.chat-close {
  color: var(--muted);
  font-size: 1.4rem;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.chat-close:hover { background: var(--bg-panel); color: var(--navy); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-msg--bot .msg-bubble {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--ink);
}
.chat-msg--user { align-self: flex-end; }
.chat-msg--user .msg-bubble {
  background: var(--navy);
  color: #fff;
  border-radius: 18px 18px 4px 18px;
  padding: 10px 14px;
  font-size: .9rem;
  line-height: 1.5;
}
.msg-bubble ul { margin: 8px 0 0 18px; }
.msg-bubble ul li { margin-bottom: 4px; color: var(--ink); }

.chat-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.chat-quick {
  padding: 8px 13px;
  background: var(--navy);
  color: #fff;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 500;
  transition: background .15s, transform .1s;
  white-space: nowrap;
}
.chat-quick:hover { background: var(--blue); color: #fff; transform: translateY(-1px); }

.chat-foot {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat-input-wrap { display: flex; gap: 8px; align-items: center; }
#chat-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: .9rem;
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
#chat-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.chat-send {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s, transform .1s;
}
.chat-send:hover { background: var(--blue); color: #fff; transform: scale(1.05); }
.chat-send svg { width: 18px; height: 18px; }
.chat-tag { font-size: .7rem; color: var(--muted); text-align: right; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .brand-name { display: none; }
  .nav { display: none; }
  .nav--open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    padding: 8px 20px 14px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    gap: 2px;
    z-index: 70;
  }
  .nav--open a { padding: 11px 12px; font-size: .96rem; color: var(--navy); }
  .nav--open a:hover { background: var(--bg-soft); }
  .mobile-menu-btn { display: flex; }
  .cta-phone-label { display: inline; }
  .cta-phone-num { display: none; }
  .topbar-inner { gap: 8px; padding: 12px 16px; }
}

@media (max-width: 760px) {
  .hero { padding: 76px 0 56px; }
  .hero-inner { padding: 0 16px; }
  .container { padding: 0 16px; }
  .chat-panel { width: calc(100vw - 16px); right: 8px; bottom: 76px; }
  .industries-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-grid { padding: 24px; }
  .section { padding: 52px 0; }
  .product-intro { grid-template-columns: 1fr; padding: 24px; }
  .quote-strip { flex-direction: column; align-items: flex-start; }
  .qs-actions { margin-left: 0; width: 100%; }
  .qs-actions .btn { flex: 1; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .trust-item { padding: 6px 10px; font-size: .74rem; }
  .trust-num { font-size: .92rem; }
  .section-title { font-size: 1.55rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-social { margin-left: 0; }
  .nav--open a { padding: 10px 12px; }
}
