/* ============================================================
   AJ INDUSTRIES — design tokens
   ============================================================ */
:root{
  --charcoal: #0B3A5C;
  --charcoal-2: #0F4870;
  --steel: #14507D;
  --steel-line: #2C6C9A;
  --paper: #F4F8FC;
  --paper-2: #E7F0F8;
  --ink: #16232F;
  --ink-soft: #5B6B79;
  --yellow: #F5A623;
  --yellow-ink: #3A2600;
  --copper: #1E74C4;
  --copper-dark: #145A9C;
  --blue: #0F4C81;
  --white: #FFFFFF;
  --radius: 6px;

  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--charcoal);
}
p{ margin:0 0 1em; color: var(--ink-soft); }
.container{ max-width: 1140px; margin:0 auto; padding: 0 24px; }
:focus-visible{ outline: 3px solid var(--yellow); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================================
   TOP UTILITY BAR
   ============================================================ */
.topbar{
  background: var(--charcoal);
  color: #C9CDCE;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .02em;
}
.topbar .container{
  display:flex; justify-content:space-between; align-items:center;
  padding: 8px 24px; flex-wrap: wrap; gap:8px;
}
.topbar a{ color:#C9CDCE; }
.topbar a:hover{ color: var(--yellow); }
.topbar .sep{ opacity:.4; margin: 0 10px; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
header.site{
  background: var(--white);
  border-bottom: 1px solid #D8DAD5;
  position: sticky; top:0; z-index: 50;
}
.nav-row{
  display:flex; align-items:center; justify-content:space-between;
  padding: 16px 24px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand-mark{
  width:46px; height:46px; border-radius: 50%;
  background: var(--charcoal);
  display:flex; align-items:center; justify-content:center;
  color: var(--yellow); font-family: var(--font-display);
  font-size: 15px; letter-spacing: 0; border: 2px solid var(--yellow);
  flex-shrink:0;
}
.brand-name{ font-family: var(--font-display); font-size: 22px; letter-spacing:.03em; line-height:1; color: var(--charcoal); }
.brand-sub{ font-family: var(--font-mono); font-size: 11px; color: var(--copper-dark); letter-spacing:.08em; margin-top:2px; }

nav.main-nav ul{
  display:flex; gap: 30px; list-style:none; margin:0; padding:0;
}
nav.main-nav a{
  font-family: var(--font-display); font-size: 14px; letter-spacing:.06em;
  text-transform: uppercase; color: var(--charcoal);
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
nav.main-nav a:hover, nav.main-nav a.active{ border-bottom-color: var(--yellow); color: var(--copper-dark); }

.nav-cta{
  display:flex; align-items:center; gap:10px;
}
.btn{
  font-family: var(--font-display); text-transform:uppercase; letter-spacing:.05em;
  font-size: 13.5px; padding: 11px 20px; border-radius: var(--radius);
  border: 1px solid transparent; cursor:pointer; display:inline-flex; align-items:center; gap:8px;
}
.btn-primary{ background: var(--yellow); color: var(--yellow-ink); }
.btn-primary:hover{ background:#ffcb2e; }
.btn-outline{ background:transparent; border-color: var(--charcoal); color: var(--charcoal); }
.btn-outline:hover{ background: var(--charcoal); color: var(--white); }

.menu-toggle{ display:none; background:none; border:1px solid var(--charcoal); border-radius:3px; padding:8px 10px; cursor:pointer; }
.menu-toggle span{ display:block; width:20px; height:2px; background:var(--charcoal); margin:4px 0; }

/* ============================================================
   HERO / NAMEPLATE
   ============================================================ */
.hero{
  position:relative;
  background:
    linear-gradient(180deg, rgba(11,58,92,.94), rgba(11,58,92,.97)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.045) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 44px),
    var(--charcoal);
  color: var(--white);
  padding: 90px 0 70px;
  overflow:hidden;
}
.plate{
  position:relative;
  border: 1px solid var(--steel-line);
  background: var(--charcoal-2);
  padding: 46px 50px;
  max-width: 760px;
}
.plate::before,.plate::after,
.plate .bolt-tr,.plate .bolt-bl{
  content:""; position:absolute; width:14px; height:14px; border-radius:50%;
  background: radial-gradient(circle at 35% 35%, #cfcfcf, #7a7a7a 60%, #4c4c4c);
  box-shadow: inset 0 0 0 2px #3a3a3a;
}
.plate::before{ top:14px; left:14px; }
.plate::after{ bottom:14px; right:14px; }
.plate .bolt-tr{ top:14px; right:14px; }
.plate .bolt-bl{ bottom:14px; left:14px; }
.eyebrow{
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing:.15em;
  color: var(--yellow); text-transform:uppercase; margin-bottom:14px;
}
.hero h1{
  color: var(--white); font-size: clamp(32px, 5vw, 52px); line-height:1.08; margin-bottom: 18px;
}
.hero p.lede{
  color:#CBD0D1; font-size: 16.5px; max-width: 560px; margin-bottom: 28px;
}
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }

.spec-strip{
  display:flex; flex-wrap:wrap; gap:0; margin-top: 46px;
  border-top: 1px solid var(--steel-line);
}
.spec-strip .spec{
  flex:1 1 150px; padding: 18px 24px; border-right: 1px solid var(--steel-line);
}
.spec-strip .spec:last-child{ border-right:none; }
.spec .val{ font-family: var(--font-mono); font-size: 26px; color: var(--yellow); }
.spec .lbl{ font-family: var(--font-mono); font-size: 11px; color:#9AA1A3; letter-spacing:.08em; text-transform:uppercase; margin-top:4px; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section{ padding: 72px 0; }
.section.alt{ background: var(--paper-2); }
.section-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom: 40px; flex-wrap:wrap; }
.section-head .tag{ font-family: var(--font-mono); font-size:12px; letter-spacing:.14em; color: var(--copper-dark); text-transform:uppercase; margin-bottom:8px; }
.section-head h2{ font-size: 30px; margin-bottom:0; }
.section-head p{ max-width: 480px; margin:10px 0 0; }

/* ============================================================
   CATEGORY / PRODUCT CARDS ("spec sheets")
   ============================================================ */
.grid{ display:grid; gap: 24px; }
.grid.cols-4{ grid-template-columns: repeat(4,1fr); }
.grid.cols-3{ grid-template-columns: repeat(3,1fr); }
.grid.cols-2{ grid-template-columns: repeat(2,1fr); }

.cat-card{
  background: var(--white); border:1px solid #D8DAD5; border-radius: var(--radius);
  padding: 26px 22px; transition: transform .15s ease, border-color .15s ease;
}
.cat-card:hover{ transform: translateY(-3px); border-color: var(--copper); }
.cat-card .num{ font-family: var(--font-mono); color: var(--copper); font-size: 13px; margin-bottom:10px; display:block; }
.cat-card h3{ font-size: 17px; margin-bottom: 8px; }
.cat-card p{ font-size: 14px; margin-bottom:0; }

.product-card{
  background: var(--white); border:1px solid #D8DAD5; border-radius: var(--radius);
  overflow:hidden; display:flex; flex-direction:column;
}
.product-card .thumb{
  aspect-ratio: 4/3; background: var(--paper-2); position:relative; overflow:hidden;
  border-bottom: 1px solid #D8DAD5;
}
.product-card .thumb img{ width:100%; height:100%; object-fit: cover; }
.product-card .thumb.placeholder{ display:flex; align-items:center; justify-content:center; }
.product-card .thumb.placeholder svg{ width:56px; height:56px; opacity:.28; }
.product-card .thumb .badge{
  position:absolute; top:10px; left:10px; background: var(--charcoal); color: var(--yellow);
  font-family: var(--font-mono); font-size: 10.5px; padding: 4px 8px; letter-spacing:.06em; text-transform:uppercase;
}
.product-card .body{ padding: 18px 18px 20px; display:flex; flex-direction:column; flex:1; }
.product-card h4{ font-size: 15.5px; margin-bottom: 8px; text-transform:none; letter-spacing:0; }
.product-card .specs{
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft);
  border-top: 1px dashed #D8DAD5; padding-top: 10px; margin-top:auto; margin-bottom:12px;
}
.product-card .specs div{ display:flex; justify-content:space-between; padding: 2px 0; }
.product-card .price{ font-family: var(--font-mono); font-size: 13px; color: var(--blue); margin-bottom:14px; }
.product-card .cta-row{ display:flex; gap:8px; }
.product-card .cta-row a{
  flex:1; text-align:center; font-family: var(--font-mono); font-size:12px; letter-spacing:.04em;
  padding: 10px 8px; border-radius: var(--radius); border:1px solid var(--charcoal); text-transform:uppercase;
}
.product-card .cta-row a.call{ background: var(--charcoal); color: var(--white); }
.product-card .cta-row a.call:hover{ background: var(--copper-dark); border-color:var(--copper-dark); }
.product-card .cta-row a.mail{ background:transparent; color: var(--charcoal); }
.product-card .cta-row a.mail:hover{ background: var(--paper-2); }

.category-block{ margin-bottom: 60px; }
.category-block .head{ display:flex; align-items:baseline; gap:14px; margin-bottom:22px; border-bottom: 2px solid var(--charcoal); padding-bottom: 12px; }
.category-block .head h3{ margin:0; font-size:20px; }
.category-block .head .count{ font-family: var(--font-mono); font-size:12px; color: var(--copper-dark); }

/* filter chips */
.filters{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 36px; }
.chip{
  font-family: var(--font-mono); font-size:12.5px; text-transform:uppercase; letter-spacing:.04em;
  padding: 9px 16px; border:1px solid #C7CAC4; border-radius: 20px; background: var(--white); cursor:pointer;
}
.chip.is-active{ background: var(--charcoal); color: var(--yellow); border-color: var(--charcoal); }

/* ============================================================
   ABOUT / TIMELINE / TRUST STRIP
   ============================================================ */
.trust-strip{ background: var(--charcoal); color:#D8DAD5; padding: 26px 0; }
.trust-strip .container{ display:flex; justify-content:space-around; flex-wrap:wrap; gap:20px; text-align:center; }
.trust-strip .item .val{ font-family: var(--font-display); font-size: 26px; color: var(--yellow); }
.trust-strip .item .lbl{ font-family: var(--font-mono); font-size: 11px; letter-spacing:.08em; text-transform:uppercase; color:#9AA1A3; }

.two-col{ display:grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items:center; }
.blueprint-box{
  background: var(--charcoal); border:1px solid var(--steel-line); aspect-ratio: 4/3;
  background-image:
    linear-gradient(180deg, rgba(11,58,92,.92), rgba(11,58,92,.92)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 30px);
  display:flex; align-items:center; justify-content:center; padding: 30px;
}
.blueprint-box .caption{ font-family: var(--font-mono); color: var(--yellow); font-size:13px; text-align:center; letter-spacing:.05em; }

.timeline{ border-left: 2px solid var(--copper); margin-left: 8px; padding-left: 28px; }
.timeline .row{ position:relative; padding-bottom: 30px; }
.timeline .row::before{ content:""; position:absolute; left:-33px; top:4px; width:10px; height:10px; border-radius:50%; background: var(--copper); }
.timeline .year{ font-family: var(--font-mono); color: var(--copper-dark); font-size:13px; margin-bottom:4px; }
.timeline h4{ margin-bottom:4px; font-size:16px; text-transform:none; letter-spacing:0; }
.timeline p{ font-size:14px; margin-bottom:0; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-card{ background: var(--white); border:1px solid #D8DAD5; border-radius: var(--radius); padding: 30px; }
.contact-line{ display:flex; gap:14px; padding: 16px 0; border-bottom: 1px dashed #D8DAD5; align-items:flex-start; }
.contact-line:last-child{ border-bottom:none; }
.contact-line .ic{ width:38px; height:38px; border-radius:50%; background: var(--paper-2); display:flex; align-items:center; justify-content:center; flex-shrink:0; color: var(--copper-dark); }
.contact-line .lbl{ font-family: var(--font-mono); font-size:11px; text-transform:uppercase; letter-spacing:.08em; color: var(--ink-soft); margin-bottom:3px; }
.contact-line .valx{ font-size: 15.5px; color: var(--charcoal); font-weight:600; }
.contact-line a.valx:hover{ color: var(--copper-dark); }

.form-field{ margin-bottom: 18px; }
.form-field label{ display:block; font-family: var(--font-mono); font-size:12px; text-transform:uppercase; letter-spacing:.06em; margin-bottom:6px; color: var(--ink-soft); }
.form-field input, .form-field select, .form-field textarea{
  width:100%; padding: 12px 14px; border: 1px solid #C7CAC4; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 14.5px; background: var(--paper);
}
.form-field textarea{ min-height: 110px; resize: vertical; }
.form-note{ font-family: var(--font-mono); font-size:12px; color: var(--ink-soft); margin-top:14px; }

.map-embed{ border:1px solid #D8DAD5; border-radius: var(--radius); overflow:hidden; margin-top:24px; }
.map-embed iframe{ width:100%; height:280px; border:0; display:block; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band{
  background: var(--copper); color: var(--white); padding: 50px 0; text-align:center;
}
.cta-band h2{ color: var(--white); margin-bottom:10px; }
.cta-band p{ color: #F3E3D2; margin-bottom: 26px; }
.cta-band .btn-primary{ background: var(--charcoal); color: var(--yellow); }
.cta-band .btn-primary:hover{ background: #000; }

/* ============================================================
   FOOTER
   ============================================================ */
footer.site{ background: var(--charcoal); color:#B7BBBC; padding: 56px 0 26px; }
footer.site .foot-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
footer.site h5{ font-family: var(--font-display); color: var(--white); font-size:14px; letter-spacing:.08em; margin-bottom:16px; text-transform:uppercase; }
footer.site p{ color:#9AA1A3; font-size: 13.5px; }
footer.site ul{ list-style:none; margin:0; padding:0; }
footer.site li{ margin-bottom: 10px; font-size: 13.5px; }
footer.site a:hover{ color: var(--yellow); }
.foot-bottom{ border-top: 1px solid var(--steel-line); padding-top: 22px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-family: var(--font-mono); font-size: 12px; color:#7C8385; }

/* floating whatsapp */
.fab-whatsapp{
  position:fixed; bottom:22px; right:22px; z-index:60;
  width:56px; height:56px; border-radius:50%; background:#25D366;
  display:flex; align-items:center; justify-content:center; box-shadow: 0 6px 18px rgba(0,0,0,.28);
}
.fab-whatsapp svg{ width:28px; height:28px; fill:#fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px){
  .grid.cols-4{ grid-template-columns: repeat(2,1fr); }
  .grid.cols-3{ grid-template-columns: repeat(2,1fr); }
  .two-col{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  footer.site .foot-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px){
  .menu-toggle{ display:block; }
  nav.main-nav{
    position:absolute; top:100%; left:0; right:0; background: var(--white);
    border-bottom: 1px solid #D8DAD5; display:none; padding: 10px 24px 20px;
  }
  nav.main-nav.open{ display:block; }
  nav.main-nav ul{ flex-direction:column; gap:4px; }
  nav.main-nav a{ display:block; padding: 12px 0; border-bottom: 1px solid #EEE; }
  .nav-cta .btn-outline{ display:none; }
  .grid.cols-4, .grid.cols-3{ grid-template-columns: repeat(2,1fr); gap: 14px; }
  .grid.cols-2{ grid-template-columns: 1fr; }
  .product-card .body{ padding: 12px 12px 14px; }
  .product-card h4{ font-size: 13.5px; }
  .product-card .specs{ font-size: 10.5px; }
  .product-card .cta-row a{ font-size: 10.5px; padding: 8px 4px; }
  .plate{ padding: 30px 24px; }
  .spec-strip{ flex-direction:column; }
  .spec-strip .spec{ border-right:none; border-bottom: 1px solid var(--steel-line); }
  footer.site .foot-grid{ grid-template-columns: 1fr; }
  .topbar .container{ justify-content:center; text-align:center; }
  .topbar .container > div:first-child{ display:none; }
  .topbar .container > div:last-child{ width:100%; display:flex; justify-content:center; gap:0; }
  .topbar .sep{ margin:0 8px; }
  .brand-sub{ display:none !important; }
  .nav-row{ padding: 12px 16px; }
  .brand-mark{ width:40px; height:40px; font-size:13px; }
  .brand-name{ font-size:19px; }
  .hero{ padding: 46px 0 34px; }
  .plate{ padding: 26px 20px; }
  .hero p.lede{ font-size:15px; }
  .section{ padding: 48px 0; }
}