/* ============================================================
   Tell Equipment & Sales — Manufacturers Design System
   tell-equipment-manufacturers-css-20260925.css
   Shared tokens + components for /manufacturers/* pages and
   the home-page boxes section. Self-contained, no libraries.
   Brand: navy #09225c | red #af1314 | blue accent #0f3fa8
   Blue = Sales divide, Red = Repairs (COLOR-DIVIDE-RULE-20260909)
   ============================================================ */

:root {
  --navy: #09225c;
  --navy2: #0a2d6e;
  --navy-deep: #071a45;
  --red: #af1314;
  --red-dark: #8f0f10;
  --blue: #0f3fa8;
  --ink: #0e1726;
  --mut: #5a6a80;
  --line: #e2e8f2;
  --bg: #f5f8fd;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(9, 34, 92, .10);
  --shadow-lg: 0 24px 60px rgba(9, 34, 92, .16);
  --wrap: 1200px;
  --ease: cubic-bezier(.22, .8, .28, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font: 16px/1.65 'Inter', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink); background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

/* ---------- Utility bar ---------- */
.ubar { background: var(--navy-deep); color: rgba(255,255,255,.85); font-size: 13px; }
.ubar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 1rem; flex-wrap: wrap; padding-top: 4px; padding-bottom: 4px; }
.ubar a { color: #fff; font-weight: 600; }
.ubar a:hover { color: #ffd7d7; }

/* ---------- Brand bar / header ---------- */
.bbar { background: linear-gradient(120deg, var(--navy) 0%, var(--navy2) 70%, #123a8f 100%); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 4px 24px rgba(7,26,69,.35); }
.bbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; }
.bbar .brand { display: flex; align-items: center; gap: .6rem; color: #fff; font-weight: 800; letter-spacing: -.01em; font-size: 1.02rem; }
.bbar .brand .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(175,19,20,.25); flex: none; }
.bbar nav { display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap; }
.bbar nav a { color: rgba(255,255,255,.88); font-weight: 600; font-size: .92rem; padding: .35rem .2rem; border-bottom: 2px solid transparent; transition: color .2s var(--ease), border-color .2s var(--ease); }
.bbar nav a:hover { color: #fff; border-color: var(--red); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 55%, #123a8f 100%);
  padding: 4.5rem 1.5rem 5rem;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none;
}
.hero::before { width: 420px; height: 420px; right: -140px; top: -160px; background: radial-gradient(circle, rgba(175,19,20,.35), transparent 65%); animation: floatBlob 11s ease-in-out infinite; }
.hero::after { width: 520px; height: 520px; left: -180px; bottom: -240px; background: radial-gradient(circle, rgba(15,63,168,.45), transparent 65%); animation: floatBlob 13s ease-in-out infinite reverse; }
.hero h1 { position: relative; font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
.hero p { position: relative; max-width: 760px; margin: 1rem auto 0; opacity: .93; font-size: clamp(1rem, 2vw, 1.15rem); }
.hero .kicker { position: relative; display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #ffc9c9; background: rgba(175,19,20,.18); border: 1px solid rgba(255,255,255,.18); padding: .35rem .9rem; border-radius: 999px; margin-bottom: 1.1rem; }

/* ---------- Territory chips ---------- */
.chip { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .28rem .7rem; border-radius: 999px; border: 1px solid; }
.chip.ne { color: #0b5c8f; border-color: #9cc8e8; background: #eaf4fb; }
.chip.tx { color: #8a5a06; border-color: #e8c98c; background: #fdf3e0; }
.chip.netx { color: #4a1d78; border-color: #cbb3ec; background: #f3ebfc; }

/* ---------- Motion cards ---------- */
.mgrid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.mcard {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  will-change: transform;
}
.mcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(9,34,92,.25); }
.mcard .thumb { aspect-ratio: 16/9; overflow: hidden; background: #0b1c3f; }
.mcard .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mcard:hover .thumb img { transform: scale(1.06); }
.mcard .b { padding: 1.2rem 1.3rem 1.4rem; }
.mcard .b h3 { font-size: 1.12rem; font-weight: 800; color: var(--navy); margin-bottom: .35rem; }
.mcard .b p { color: var(--mut); font-size: .93rem; }
.mcard .topbar { position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--navy)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.mcard:hover .topbar { transform: scaleX(1); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; background: var(--red); color: #fff; font-weight: 700; font-size: .92rem; padding: .7rem 1.6rem; border-radius: 8px; border: none; cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); box-shadow: 0 6px 18px rgba(175,19,20,.28); }
.btn:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); box-shadow: none; }
.btn.ghost:hover { background: var(--navy); color: #fff; }
.btn.onred:hover, .hero .btn:hover { box-shadow: 0 10px 26px rgba(0,0,0,.3); }

/* ---------- Sections ---------- */
.sec { padding: 4rem 0; }
.sec.alt { background: #fff; }
.sec .t { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--navy); letter-spacing: -.015em; margin-bottom: .6rem; }
.sec .sub { color: var(--mut); max-width: 720px; margin-bottom: 2.2rem; }

/* ---------- Spec tabs ---------- */
.tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.tab { padding: .55rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--mut); font-weight: 700; font-size: .88rem; cursor: pointer; transition: all .25s var(--ease); }
.tab.active { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(9,34,92,.25); }
.panel { display: none; }
.panel.active { display: block; animation: fadeUp .45s var(--ease); }

/* ---------- Spec table ---------- */
.spec { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.spec th, .spec td { text-align: left; padding: .8rem 1.1rem; border-bottom: 1px solid var(--line); font-size: .93rem; }
.spec th { background: var(--navy); color: #fff; font-weight: 700; }
.spec tr:last-child td { border-bottom: none; }
.spec td:first-child { color: var(--mut); font-weight: 600; width: 40%; }

/* ---------- Counters ---------- */
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.stat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 1.4rem 1rem; text-align: center; backdrop-filter: blur(4px); }
.stat .n { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; color: #fff; line-height: 1; }
.stat .n .u { font-size: .6em; font-weight: 700; opacity: .8; margin-left: 2px; }
.stat .l { margin-top: .45rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); }

/* ---------- Video section ---------- */
.vgrid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.vframe { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.vframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Quote / CTA band ---------- */
.cta { background: linear-gradient(120deg, var(--navy-deep), var(--navy) 60%, var(--navy2)); color: #fff; padding: 3.6rem 0; text-align: center; }
.cta h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: .5rem; }
.cta p { opacity: .9; margin-bottom: 1.6rem; }
.cta .row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.mfoot { background: #06122e; color: rgba(255,255,255,.75); padding: 2.6rem 0 2rem; font-size: .9rem; }
.mfoot .wrap { display: grid; gap: 2rem; grid-template-columns: 2fr 1fr 1fr; }
.mfoot h4 { color: #fff; font-size: .95rem; margin-bottom: .6rem; }
.mfoot a { color: rgba(255,255,255,.75); display: block; padding: .18rem 0; }
.mfoot a:hover { color: #fff; }
.mfoot .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.2rem; text-align: center; font-size: .8rem; color: rgba(255,255,255,.5); }

/* ---------- Home-page boxes section ---------- */
.mfg-boxes { background: #fff; padding: 4.2rem 0; }
.mfg-boxes .head { text-align: center; margin-bottom: 2.6rem; }
.mfg-boxes .head .t { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; color: var(--navy); letter-spacing: -.015em; }
.mfg-boxes .head .sub { color: var(--mut); max-width: 640px; margin: .5rem auto 0; }
.boxgrid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.oembox {
  position: relative; display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.oembox:hover { transform: translateY(-8px) scale(1.015); box-shadow: var(--shadow-lg); }
.oembox .img { aspect-ratio: 16/10; background: #f0f4fb; display: flex; align-items: center; justify-content: center; padding: 1.4rem; overflow: hidden; }
.oembox .img img { max-height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.oembox:hover .img img { transform: scale(1.07); }
.oembox .info { padding: 1.1rem 1.2rem 1.3rem; border-top: 1px solid var(--line); }
.oembox .info h3 { color: var(--navy); font-size: 1.05rem; font-weight: 800; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.oembox .info .go { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .95rem; transition: transform .3s var(--ease), background .3s var(--ease); }
.oembox:hover .info .go { transform: translateX(4px); background: var(--red-dark); }
.oembox .info .chips { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .6rem; }
.oembox::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); box-shadow: inset 0 0 0 2px rgba(9,34,92,0); transition: box-shadow .3s var(--ease); pointer-events: none; }
.oembox:hover::after { box-shadow: inset 0 0 0 2px var(--navy); }

/* ---------- Scroll reveal (JS adds .in) ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; } .rv.d4 { transition-delay: .32s; }

@keyframes floatBlob { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-24px, 26px) scale(1.06); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .mfoot .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 3.2rem 1.2rem 3.6rem; }
  .sec { padding: 2.8rem 0; }
  .bbar nav { display: none; }
  .boxgrid { grid-template-columns: 1fr 1fr; gap: .9rem; }
  .mgrid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .boxgrid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  .rv { opacity: 1; transform: none; }
}

/* ===== ADVANCED OEMBOX SYSTEM 2026-09-28 — 8K card treatment ===== */
/* per-brand glow tokens */
.oembox{--glow:#0f3fa8;--glow2:#af1314;position:relative;border-radius:16px;overflow:hidden;
  background:#0a1524;isolation:isolate;
  transition:transform .3s cubic-bezier(.16,1,.3,1),box-shadow .3s}
/* animated conic gradient border on hover */
.oembox::before{content:"";position:absolute;inset:-1.5px;border-radius:17.5px;z-index:-1;
  background:conic-gradient(from var(--oa,0deg),var(--glow),var(--glow2),var(--glow));
  opacity:0;transition:opacity .35s}
.oembox:hover::before{opacity:1;animation:oemspin 3.2s linear infinite}
@property --oa{syntax:'<angle>';initial-value:0deg;inherits:false}
@keyframes oemspin{to{--oa:360deg}}
/* depth + lift */
.oembox:hover{transform:translateY(-7px);
  box-shadow:0 22px 54px rgba(2,8,18,.5),0 0 42px color-mix(in srgb,var(--glow) 42%,transparent)}
/* image: zoom + slow ken-burns idle + gradient scrim */
.oembox .img{position:relative;overflow:hidden;aspect-ratio:16/10;background:#06101d}
.oembox .img img{width:100%;height:100%;object-fit:cover;
  transition:transform .55s cubic-bezier(.16,1,.3,1),filter .4s;transform-origin:60% 60%}
.oembox:hover .img img{transform:scale(1.09) rotate(.4deg)}
.oembox .img::after{content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(185deg,rgba(6,16,29,0) 45%,rgba(6,16,29,.78) 100%)}
/* shine sweep on hover */
.oembox .img::before{content:"";position:absolute;inset:0;z-index:2;
  background:linear-gradient(105deg,transparent 42%,rgba(255,255,255,.22) 50%,transparent 58%);
  transform:translateX(-130%);transition:transform .75s cubic-bezier(.16,1,.3,1)}
.oembox:hover .img::before{transform:translateX(130%)}
/* glass info bar */
.oembox .info{position:relative;z-index:3;padding:16px 18px 18px;
  background:linear-gradient(0deg,rgba(6,16,29,.94),rgba(10,26,50,.72));
  backdrop-filter:blur(10px);border-top:1px solid rgba(140,170,225,.18)}
.oembox .info h3{color:#fff;font-family:'Barlow Condensed',Inter,sans-serif;
  font-size:23px;letter-spacing:.02em;display:flex;align-items:center;gap:8px;margin:0 0 8px}
.oembox .go{margin-left:auto;width:30px;height:30px;border-radius:50%;flex:none;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.1);color:#ff8a76;font-size:16px;
  transition:background .25s,transform .25s}
.oembox:hover .go{background:var(--glow2);transform:translateX(4px)}
/* authorized badge with live dot */
.oembox .auth{position:absolute;top:12px;left:12px;z-index:4;
  display:inline-flex;align-items:center;gap:6px;
  font-family:'JetBrains Mono',monospace;font-size:9.5px;letter-spacing:.14em;
  color:#dbe6f4;background:rgba(6,16,29,.72);backdrop-filter:blur(8px);
  padding:5px 10px;border-radius:20px;border:1px solid rgba(140,170,225,.3)}
.oembox .auth::before{content:"";width:6px;height:6px;border-radius:50%;
  background:#4ce08a;box-shadow:0 0 8px #4ce08a;animation:oemblink 2.2s infinite}
@keyframes oemblink{50%{opacity:.35}}
/* chips premium */
.oembox .chip{font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:.1em;
  text-transform:uppercase;padding:4px 10px;border-radius:20px;
  background:rgba(15,63,168,.22);color:#a9c4ee;border:1px solid rgba(76,140,255,.25)}
.oembox .chip.netx{background:rgba(175,19,20,.16);color:#ffb3a8;border-color:rgba(255,106,94,.3)}
/* grid stagger */
.boxgrid{display:grid;gap:22px}
.boxgrid .oembox{min-width:0}
@media(max-width:700px){.boxgrid{gap:14px}
 .oembox .info h3{font-size:19px}.oembox .go{width:26px;height:26px}}
@media(prefers-reduced-motion:reduce){.oembox *,.oembox::before{animation:none!important;transition:none!important}}
