/* =========================================================
   NBYOGO — Static B2B Site — Brand System
   Palette inherited from original YOGO logo / yogo-home.css
   navy #0d2a4a  |  amber #f5a623  |  steel #c8d2dc
   ========================================================= */

:root {
  --navy: #0d2a4a;
  --navy-deep: #081c33;
  --navy-soft: #15375c;
  --amber: #f5a623;
  --amber-deep: #d98c0d;
  --brass: #c99a3b;
  --brass-deep: #a67a1f;
  --steel: #c8d2dc;
  --text: #24303b;
  --muted: #5b6b78;
  --bg: #f4f7fa;
  --line: #e2e9f0;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 8px 30px rgba(13, 42, 74, .08);
  --wrap: 1460px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", "Songti SC", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--amber-deep); }
h1, h2, h3, h4 { line-height: 1.22; margin: 0 0 14px; font-weight: 700; color: var(--navy); }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.015em; }
h3, h4 { font-family: var(--serif); }
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 20px; }
p { margin: 0 0 16px; }
ul { margin: 0; padding: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tint { background: var(--bg); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 30px; height: 2px; background: var(--brass); flex: none; }
.section--navy .eyebrow { color: var(--brass); }
.center .eyebrow::after { content: ''; width: 30px; height: 2px; background: var(--brass); flex: none; }
.lead { font-size: 18px; color: var(--muted); max-width: 820px; }
.section--navy .lead { color: #c7d3e0; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--amber); color: #111; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 6px; font-weight: 700; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; transition: .2s ease; line-height: 1.2;
}
.btn--amber { background: var(--amber); color: #17212b; border-color: var(--amber); }
.btn--amber:hover { background: var(--amber-deep); border-color: var(--amber-deep); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.65); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-soft); color: #fff; }
.btn--sm { padding: 10px 20px; font-size: 14px; }

/* ---------- Top bar + Header ---------- */
.topbar { background: var(--navy-deep); color: #c7d3e0; font-size: 13px; padding: 8px 0; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar strong { color: var(--amber); }
.topbar a { color: #dbe5ef; }
.topbar a:hover { color: var(--amber); }
.topbar .sep { margin: 0 10px; opacity: .45; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 94px; gap: 24px; }
.brand img { width: 168px; height: auto; }
.brand span { display: block; font-size: 10px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; margin-top: -2px; }
.nav { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav > li > a { font-weight: 600; font-size: 15px; color: var(--navy); padding: 8px 0; position: relative; }
.nav > li > a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--amber); transition: .2s; }
.nav > li > a:hover::after, .nav > li > a[aria-current="page"]::after { width: 100%; }
.has-drop { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: -18px; min-width: 230px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 8px;
  padding: 10px; list-style: none; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 8px 12px; font-size: 14px; border-radius: 5px; }
.dropdown a:hover { background: var(--bg); color: var(--amber-deep); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .phone { font-size: 13px; color: var(--muted); line-height: 1.3; }
.header-cta .phone strong { display: block; font-size: 16px; color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(90deg, rgba(8,28,51,.95) 0%, rgba(8,28,51,.80) 40%, rgba(8,28,51,.48) 72%, rgba(8,28,51,.32) 100%),
              url('../img/factory-hero.jpg') center 58%/cover no-repeat;
}
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,28,51,.62), transparent 55%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; padding-top: 112px; padding-bottom: 112px; max-width: var(--wrap); }
.hero h1 { color: #fff; max-width: 780px; margin-bottom: 22px; letter-spacing: -.02em; }
.hero h1 span { color: var(--amber); }
.hero .lead { color: #d3dee8; font-size: 19px; max-width: 720px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 42px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.2); max-width: 760px; }
.hero-badges div { font-size: 14px; color: #dbe5ef; display: flex; align-items: center; gap: 9px; }
.hero-badges .tick { color: var(--amber); font-weight: 900; font-size: 17px; }
.hero-seal {
  position: absolute; right: 34px; bottom: 44px; z-index: 2;
  width: 178px; height: 178px; border-radius: 50%; flex: none;
  border: 2px solid rgba(201,154,59,.85);
  outline: 1px solid rgba(201,154,59,.45); outline-offset: 6px;
  background: radial-gradient(circle at 50% 40%, rgba(13,42,74,.92), rgba(8,28,51,.97));
  box-shadow: 0 14px 44px rgba(0,0,0,.35);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff; transform: rotate(-7deg);
}
.hero-seal .s-top { font-family: var(--serif); font-size: 12px; letter-spacing: .28em; color: var(--brass); text-transform: uppercase; }
.hero-seal .s-year { font-family: var(--serif); font-size: 44px; font-weight: 700; color: #fff; line-height: 1.05; margin: 2px 0; }
.hero-seal .s-rule { width: 74px; height: 1px; background: var(--brass); margin: 5px 0 7px; }
.hero-seal .s-bot { font-size: 10px; letter-spacing: .18em; color: #d9c9a8; text-transform: uppercase; }

/* founding band under the stats */
.founding-band { background: var(--navy-deep); border-top: 1px solid rgba(201,154,59,.3); border-bottom: 1px solid rgba(201,154,59,.3); }
.founding-band .wrap { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.founding-band .mark { font-family: var(--serif); color: var(--brass); font-size: 15px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.founding-band .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }
.founding-band .txt { color: #c7d3e0; font-size: 14px; letter-spacing: .04em; }

/* ---------- Stats ---------- */
.stats { background: var(--navy); color: #fff; border-top: 4px solid var(--amber); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 30px; padding-bottom: 30px; }
.stat { padding: 6px 22px; border-right: 1px solid rgba(255,255,255,.16); }
.stat:last-child { border-right: 0; }
.stat .num { font-size: 36px; font-weight: 800; color: var(--amber); line-height: 1; }
.stat .lab { font-size: 14px; color: #c7d3e0; margin-top: 8px; }

/* ---------- Capabilities ---------- */
.caps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
.cap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: .25s; display: flex; flex-direction: column;
}
.cap:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cdd9e5; }
.cap .thumb { height: 168px; overflow: hidden; background: var(--bg); }
.cap .thumb img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.cap:hover .thumb img { transform: scale(1.05); }
.cap .body { padding: 22px 20px 24px; flex: 1; }
.cap .num { font-size: 12px; font-weight: 800; color: var(--amber-deep); letter-spacing: .12em; }
.cap h3 { font-size: 19px; margin: 8px 0 10px; }
.cap p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.cap .meta { font-size: 12px; color: var(--navy); font-weight: 700; border-top: 1px solid var(--line); padding-top: 12px; }
.cap a { font-size: 14px; font-weight: 700; color: var(--amber-deep); }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.ind {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--amber);
  border-radius: 8px; padding: 20px 22px; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; gap: 14px; font-size: 16px;
}
.ind .ic { font-size: 24px; }
.ind small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }

/* ---------- Products ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.prod { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s; }
.prod:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.prod .pic { height: 190px; background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 12px; }
.prod .pic img { width: 100%; height: 100%; object-fit: contain; transition: .4s; }
.prod:hover .pic img { transform: scale(1.06); }
.prod .info { padding: 16px 18px 20px; border-top: 1px solid var(--line); }
.prod .cat { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-deep); font-weight: 800; }
.prod h3 { font-size: 16px; margin: 7px 0 6px; }
.prod h3 a { color: var(--navy); }
.prod p { font-size: 13px; color: var(--muted); margin-bottom: 10px; min-height: 42px; }
.prod .more { font-size: 13px; font-weight: 700; color: var(--amber-deep); }
.more-link { display: inline-block; margin-top: 30px; font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--amber); padding-bottom: 4px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-img { position: relative; }
.about-img img { border-radius: 12px; width: 100%; }
.about-img .small { position: absolute; right: -18px; bottom: -26px; width: 46%; border: 5px solid #fff; border-radius: 10px; box-shadow: var(--shadow); }
.checklist { list-style: none; margin-top: 20px; }
.checklist li { position: relative; padding: 9px 0 9px 30px; font-size: 15px; color: var(--text); }
.checklist li::before { content: '\2714'; position: absolute; left: 0; color: var(--amber-deep); font-weight: 900; }

/* ---------- Process ---------- */
.proc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 44px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--amber); border-radius: 8px; padding: 24px 18px; position: relative; }
.step::before { counter-increment: step; content: '0' counter(step); display: block; font-size: 26px; font-weight: 800; color: var(--amber); line-height: 1; margin-bottom: 12px; }
.step h3 { font-size: 16px; }
.step p { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.55fr; gap: 56px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px 22px; margin-bottom: 12px; }
.faq-list summary { cursor: pointer; font-weight: 700; color: var(--navy); font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--amber-deep); font-size: 22px; font-weight: 700; line-height: 1; }
.faq-list details[open] summary::after { content: '\2212'; }
.faq-list details p { color: var(--muted); font-size: 15px; margin: 14px 0 0; }

/* ---------- CTA ---------- */
.cta { background: var(--navy); color: #fff; text-align: center; padding: 72px 0; border-top: 4px solid var(--amber); }
.cta h2 { color: #fff; }
.cta p { color: #c7d3e0; max-width: 660px; margin: 0 auto 28px; font-size: 18px; }
.cta .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #b9c7d6; font-size: 14px; padding: 66px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 48px; }
.site-footer .brand img { width: 190px; filter: brightness(1.1); }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: .04em; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #b9c7d6; }
.site-footer a:hover { color: var(--amber); }
.site-footer .contact-line { display: flex; gap: 10px; margin-bottom: 12px; }
.site-footer .contact-line span { color: var(--amber); font-weight: 700; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.13); padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.foot-tag { color: var(--amber); font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .caps-grid, .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .proc-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav { gap: 16px; }
  .header-cta .phone { display: none; }
  .hero-seal { display: none; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 20px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav > li > a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 14px; min-width: 0; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-img .small { right: 10px; }
  .hero .wrap { padding-top: 80px; padding-bottom: 80px; }
  .section { padding: 66px 0; }
}
@media (max-width: 600px) {
  .stats .wrap { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .stat:nth-child(2) { border-right: 0; }
  .caps-grid, .prod-grid, .ind-grid, .proc-grid { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 64px; padding-bottom: 64px; }
  .topbar .wrap { justify-content: center; text-align: center; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .foot-grid { grid-template-columns: 1fr; }
}
