/* ===========================================================
   FM Binding — company website styles
   =========================================================== */

:root {
  --yellow: #f2d40c;
  --yellow-deep: #e0c20a;
  --ink: #15222c;
  --ink-2: #1d3242;
  --steel: #2c6587;
  --steel-dark: #1d4258;
  --gray: #5b6772;
  --gray-soft: #8893a0;
  --line: #e4e8ec;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --bg-dark: #15222c;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(21, 34, 44, 0.08);
  --shadow-lg: 0 24px 60px rgba(21, 34, 44, 0.16);
  --container: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--steel); text-decoration: none; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; color: var(--ink); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(21,34,44,.22); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-sm { padding: 9px 18px; font-size: .88rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}
.brand-logo { height: 30px; width: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav a {
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--yellow);
  transition: width .2s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }
.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background: #0e1820 url("assets/hero-wire.png") center 30% / cover no-repeat;
  transform: scale(1.03);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(13,22,30,.93) 0%, rgba(13,22,30,.72) 42%, rgba(13,22,30,.35) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 96px 24px; max-width: 760px; }
.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(242, 212, 12, .5);
}
.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,.86);
  max-width: 620px;
  margin: 0 0 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-actions .btn:not(.btn-ghost) { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.hero-actions .btn:not(.btn-ghost):hover { background: var(--yellow-deep); border-color: var(--yellow-deep); }
.hero-tags {
  font-size: .9rem;
  letter-spacing: .04em;
  color: rgba(255,255,255,.62);
  text-transform: uppercase;
  margin: 0;
}

/* ---------- Stats ---------- */
.stats { background: var(--ink); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 34px 18px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat:last-child { border-right: none; }
.stat-num {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: -0.02em;
}
.stat-label { display: block; font-size: .9rem; color: rgba(255,255,255,.72); margin-top: 4px; }

/* ---------- Section scaffolding ---------- */
.section { padding: 92px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: #fff; }

.kicker {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 12px;
}
.kicker-light { color: var(--yellow); }

.section-head { max-width: 720px; margin: 0 0 52px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.section-lead { color: var(--gray); font-size: 1.08rem; margin: 16px 0 0; }
.section-head-light h2 { color: #fff; }
.lead-light { color: rgba(255,255,255,.78); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.about-text h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; margin-bottom: 20px; }
.about-text p { color: var(--gray); margin: 0 0 18px; }
.check-list { list-style: none; padding: 0; margin: 26px 0 0; }
.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--ink-2);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--yellow);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 6px; top: 11px;
  width: 4px; height: 8px;
  border: solid var(--ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 460px;
  object-fit: cover;
}

/* ---------- Products ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-img { height: 180px; overflow: hidden; background: var(--bg-soft); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-img img { transform: scale(1.06); }

.product-img-tint {
  display: flex;
  align-items: flex-end;
  padding: 18px;
  position: relative;
}
.product-img-tint span {
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: .01em;
  z-index: 1;
}
.product-img-tint::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.10) 0 2px, transparent 2px 9px);
  opacity: .7;
}
.tint-annealing { background: linear-gradient(135deg, #3a4a57, #223039); }
.tint-tie { background: linear-gradient(135deg, #2c6587, #1d4258); }
.tint-fiber { background: linear-gradient(135deg, #4a5560, #2b343c); }
.tint-nail { background: linear-gradient(135deg, #6b6258, #3c372f); }

.product-body { padding: 22px 22px 26px; flex: 1; }
.product-body h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 8px; }
.product-body p { color: var(--gray); font-size: .95rem; margin: 0; }

/* ---------- Feature (bookbinding) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}
.feature-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.feature-text h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; margin-bottom: 18px; }
.feature-text > p { color: var(--gray); margin: 0 0 28px; }

.feature-points { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 26px; margin-bottom: 32px; }
.fp { display: flex; gap: 12px; }
.fp-mark {
  flex-shrink: 0;
  width: 12px; height: 12px;
  margin-top: 7px;
  border-radius: 3px;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(242,212,12,.18);
}
.fp strong { display: block; font-size: 1rem; color: var(--ink); }
.fp p { margin: 2px 0 0; font-size: .9rem; color: var(--gray); }

.usage { border-top: 1px solid var(--line); padding-top: 24px; }
.usage-label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-soft);
  margin-bottom: 12px;
}
.usage-list { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 0 0 16px; }
.usage-list li {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 15px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-2);
}
.packing-note { margin: 0; font-weight: 600; color: var(--steel-dark); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: .95rem;
  min-width: 620px;
}
.data-table thead th {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  padding: 14px 16px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
  vertical-align: middle;
}
.data-table thead th span { display: block; font-weight: 400; font-size: .8rem; color: rgba(255,255,255,.72); }
.data-table tbody td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  color: var(--ink-2);
}
.data-table tbody td:first-child { font-weight: 700; color: var(--ink); }
.data-table tbody tr:nth-child(even) { background: #fbfcfd; }
.data-table tbody tr:hover { background: #fff8d6; }

.packing { margin-top: 56px; }
.packing-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 18px; }
.packing-table { min-width: 480px; }
.packing-table thead th:first-child { text-align: left; }
.packing-table tbody td:first-child { text-align: left; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; max-width: 760px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 76px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--line);
}
.timeline li { position: relative; display: flex; gap: 34px; padding-bottom: 34px; }
.timeline li:last-child { padding-bottom: 0; }
.year {
  flex-shrink: 0;
  width: 64px;
  text-align: right;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--steel);
  padding-top: 1px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 70px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  z-index: 1;
}
.t-body { padding-left: 12px; }
.t-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 2px; }
.t-body p { margin: 0; color: var(--gray); }

/* ---------- Facilities ---------- */
.facility-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  margin-bottom: 24px;
}
.facility-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.facility-row img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}
.contact-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel);
  background: rgba(44,101,135,.08);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.contact-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; }
.addr { color: var(--gray); margin: 0 0 18px; font-size: .96rem; }
.contact-lines { margin: 0; }
.contact-lines > div { display: flex; gap: 14px; padding: 7px 0; border-top: 1px solid var(--line); }
.contact-lines dt { width: 36px; font-weight: 700; color: var(--gray-soft); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; padding-top: 1px; }
.contact-lines dd { margin: 0; font-weight: 600; color: var(--ink); }

.contact-foot {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.contact-foot .web { font-weight: 600; color: var(--gray); letter-spacing: .02em; }

/* ---------- Footer ---------- */
.site-footer { background: #0f1921; color: rgba(255,255,255,.7); padding: 54px 0 28px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo { height: 30px; filter: brightness(0) invert(1); opacity: .92; margin-bottom: 10px; }
.footer-brand p { margin: 0; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 26px; }
.footer-nav a { color: rgba(255,255,255,.72); font-size: .95rem; }
.footer-nav a:hover { color: var(--yellow); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: .85rem;
  color: rgba(255,255,255,.45);
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .feature-grid { grid-template-columns: 1fr; gap: 38px; }
  .about-media { order: -1; }
  .about-media img, .feature-media img { height: 360px; }
  .contact-grid { grid-template-columns: 1fr; max-width: 460px; }
}

@media (max-width: 820px) {
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 76px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px 0;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav a { padding: 14px 24px; font-size: 1rem; }
  .nav a::after { display: none; }
  .nav a:hover { background: var(--bg-soft); }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .section { padding: 64px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.08); }
  .feature-points { grid-template-columns: 1fr; }
  .facility-row { grid-template-columns: 1fr; }
  .facility-row img { height: 230px; }
}

@media (max-width: 520px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero { min-height: 560px; }
  .hero-content { padding: 72px 4px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .stat:last-child { border-bottom: none; }
  .timeline::before { left: 6px; }
  .timeline li { gap: 16px; flex-direction: column; }
  .timeline li::before { left: 0; }
  .year { width: auto; text-align: left; padding-left: 26px; }
  .t-body { padding-left: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
