/* =========================================================================
   Knitted Tubular Net — Global Stylesheet (light theme, orange accent)
   ========================================================================= */
:root {
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-200: #fed7aa;
  --orange-300: #fdba74;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --orange-700: #c2410c;

  --ink-900: #1c1917;
  --ink-700: #44403c;
  --ink-500: #78716c;
  --ink-300: #d6d3d1;
  --ink-100: #e7e5e4;

  --bg: #ffffff;
  --bg-soft: #fffaf5;
  --bg-cream: #fff4e6;
  --line: #ece9e6;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(28, 25, 23, .06);
  --shadow-md: 0 6px 24px rgba(234, 88, 12, .10);
  --shadow-lg: 0 12px 40px rgba(28, 25, 23, .12);
  --container: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink-700);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--orange-600); text-decoration: none; }
a:hover { color: var(--orange-700); }

h1, h2, h3, h4 { color: var(--ink-900); line-height: 1.25; font-weight: 700; }

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

section { padding: 72px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: none; cursor: pointer; transition: all .18s ease; white-space: nowrap;
}
.btn-primary { background: var(--orange-500); color: #fff; }
.btn-primary:hover { background: var(--orange-600); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--orange-600); border: 1.5px solid var(--orange-400); }
.btn-outline:hover { background: var(--orange-50); color: var(--orange-700); }
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- Top bar ---------- */
.topbar {
  font-size: 13px; color: var(--ink-500); background: var(--bg-cream);
  border-bottom: 1px solid var(--line);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.topbar a { color: var(--orange-600); font-weight: 500; }
.topbar-info { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 800; color: var(--ink-900); letter-spacing: -.02em; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600)); color: #fff; flex: none;
}
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  padding: 9px 15px; border-radius: 999px; color: var(--ink-700);
  font-weight: 500; font-size: 15px;
}
.nav-links a:hover, .nav-links a.active { color: var(--orange-600); background: var(--orange-50); }
.nav-cta { margin-left: 12px; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--ink-900); cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg-soft); padding: 96px 0 88px; }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  background: var(--orange-100); color: var(--orange-700); font-weight: 600; font-size: 13.5px; letter-spacing: .02em;
}
.hero h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -.03em; margin: 22px 0 18px; }
.hero h1 span { color: var(--orange-600); }
.hero p.lead { font-size: 19px; color: var(--ink-500); max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.stat b { display: block; font-size: 28px; color: var(--orange-600); letter-spacing: -.02em; }
.stat span { font-size: 13.5px; color: var(--ink-500); }

/* hero art */
.hero-art { position: relative; }
.hero-art .art-card {
  background: #fff; border-radius: 24px; padding: 22px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.art-mesh {
  position: relative; height: 340px; border-radius: 18px; overflow: hidden;
  background:
    repeating-linear-gradient(45deg, transparent 0 12px, var(--orange-100) 12px 14px),
    repeating-linear-gradient(-45deg, transparent 0 12px, var(--orange-100) 12px 14px),
    linear-gradient(160deg, var(--orange-50), #fff);
}
.art-ring {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 220px; height: 220px; border-radius: 50%;
  background: repeating-conic-gradient(var(--orange-300) 0 10deg, transparent 10deg 22deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 34px), #000 calc(100% - 33px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 34px), #000 calc(100% - 33px));
  opacity: .9;
}
.art-badge {
  position: absolute; background: #fff; padding: 10px 16px; border-radius: 12px; box-shadow: var(--shadow-md);
  font-size: 13px; font-weight: 600; color: var(--ink-900); display: flex; align-items: center; gap: 8px;
}
.art-badge.b1 { top: 18px; left: 18px; }
.art-badge.b2 { bottom: 18px; right: 18px; }

/* ---------- Section headings ---------- */
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-tag {
  display: inline-block; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--orange-600); font-size: 12.5px; margin-bottom: 12px;
}
.sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.02em; }
.sec-head p { color: var(--ink-500); font-size: 17px; margin-top: 14px; }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: all .2s ease;
}
.feature-card:hover { box-shadow: var(--shadow-md); border-color: var(--orange-200); transform: translateY(-3px); }
.feature-card .ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--orange-100); color: var(--orange-600); font-size: 24px; margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--ink-500); font-size: 15px; }

/* ---------- Application chips ---------- */
.apps { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: #fff; border: 1.5px solid var(--line); padding: 10px 18px; border-radius: 999px;
  font-weight: 500; color: var(--ink-700); font-size: 14px; transition: all .15s;
}
.chip:hover { border-color: var(--orange-400); color: var(--orange-700); background: var(--orange-50); }

/* ---------- Product cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: all .2s ease;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.product-card .thumb { height: 200px; position: relative; overflow: hidden; }
.product-card .thumb img, .product-card .thumb .ph {
  width: 100%; height: 100%; object-fit: cover;
}
.ph { display: grid; place-items: center; background: linear-gradient(135deg, var(--orange-100), var(--orange-50)); color: var(--orange-600); font-size: 40px; }
.product-card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-card .cat { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--orange-600); }
.product-card h3 { font-size: 19px; margin: 8px 0; }
.product-card .body p { color: var(--ink-500); font-size: 14.5px; flex: 1; }
.product-card .foot { margin-top: 18px; }

/* ---------- News cards ---------- */
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: all .2s ease;
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.news-card .cover { height: 180px; }
.news-card .cover img, .news-card .cover .ph { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.news-date { font-size: 12.5px; color: var(--orange-600); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.news-card h3 { font-size: 18px; margin: 8px 0 8px; line-height: 1.4; }
.news-card .body p { color: var(--ink-500); font-size: 14.5px; flex: 1; }
.news-card .more { margin-top: 16px; font-weight: 600; font-size: 14px; }

/* ---------- Contact / forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 13.5px; font-weight: 600; color: var(--ink-900); }
input, textarea, select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; color: var(--ink-900); background: #fff; transition: border .15s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--orange-400); box-shadow: 0 0 0 3px var(--orange-100); }
textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--ink-500); margin-top: 12px; }

/* Dedicated sales-rep card on the contact page — orange panel */
.rep-card { background: linear-gradient(160deg, var(--orange-500), var(--orange-700)); color:#fff; border-radius:20px; padding:28px; margin-bottom:24px; box-shadow: var(--shadow-md); position:relative; overflow:hidden; }
.rep-card::after { content:""; position:absolute; right:-42px; top:-46px; width:180px; height:180px; border-radius:50%; background:rgba(255,255,255,.09); pointer-events:none; }
.rep-card .rep-head { position:relative; font-size:12.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#ffe3c4; display:flex; gap:8px; align-items:center; margin-bottom:12px; }
.rep-card .rep-name { position:relative; font-size:22px; font-weight:800; color:#fff; letter-spacing:-.01em; }
.rep-card .rep-role { position:relative; font-size:13.5px; color:#ffedd9; margin:2px 0 12px; }
.rep-card ul { list-style:none; margin:0; position:relative; }
.rep-card ul li { display:flex; gap:12px; padding:9px 0; align-items:center; color:#fff; font-size:15px; border-bottom:1px dashed rgba(255,255,255,.32); }
.rep-card ul li:last-child { border-bottom:none; }
.rep-ic { flex:none; width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,.16); }
.rep-ic svg { width:18px; height:18px; display:block; }
.rep-ic.wa, .rep-ic.wc { background:#fff; }
.rep-card .rep-val { color:#fff; word-break:break-all; }
.rep-card a.rep-val:hover { color:#fff; text-decoration:underline; }
.rep-card .rep-addr { opacity:.95; }
.rep-card .rep-note { position:relative; font-size:12.5px; color:#ffe3c4; margin-top:14px; }

/* Compact rep line used under product CTAs */
.rep-line { margin-top:18px; padding-top:16px; border-top:1px solid var(--line); font-size:14px; color:var(--ink-700); }
.rep-line b[data-rep-name] { color:var(--orange-700); font-weight:700; }
.rep-line a[data-rep-email] { color:var(--orange-600); text-decoration:underline; margin-left:10px; }

/* ---------- Message (toast / alerts) ---------- */
.alert { display: none; padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 500; margin-bottom: 20px; }
.alert.show { display: block; }
.alert.ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.alert.err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* ---------- Product detail ---------- */
.pdetail { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.pdetail .gallery { position: sticky; top: 96px; }
.pdetail .gallery .ph { height: 380px; border-radius: 20px; }
.pdetail .gallery img { border-radius: 20px; height: 380px; width: 100%; object-fit: cover; }
.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.spec-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.spec-table td:first-child { font-weight: 600; color: var(--ink-900); width: 34%; background: var(--bg-soft); }
.feat-list { list-style: none; margin: 16px 0; }
.feat-list li { padding: 8px 0 8px 30px; position: relative; color: var(--ink-700); }
.feat-list li::before { content: "✓"; position: absolute; left: 0; color: var(--orange-500); font-weight: 800; }

/* ---------- News detail ---------- */
.article { max-width: 780px; margin: 0 auto; }
.article .cover { border-radius: 18px; height: 360px; margin: 28px 0; overflow: hidden; }
.article .cover .ph { height: 100%; }
.article .cover img { width: 100%; height: 100%; object-fit: cover; }
.article h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.02em; }
.article .meta { color: var(--ink-500); font-size: 14px; margin: 14px 0 8px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.prose { margin-top: 18px; font-size: 16.5px; color: #3f3b37; }
.prose p { margin: 1em 0; }
.prose h2 { font-size: 24px; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 20px; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { margin: 1em 0 1em 1.4em; }
.prose li { margin: .4em 0; }
.prose blockquote { border-left: 4px solid var(--orange-400); background: var(--orange-50); padding: 14px 20px; border-radius: 0 10px 10px 0; margin: 1.2em 0; color: var(--ink-700); }
.prose code { background: var(--ink-100); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose a { text-decoration: underline; }

/* ---------- CTA banner ---------- */
.cta-band { background: linear-gradient(120deg, var(--orange-500), var(--orange-600)); }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 30px 24px; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; }
.cta-band p { color: #ffe4cc; font-size: 16px; max-width: 520px; }
.btn-white { background: #fff; color: var(--orange-600); }
.btn-white:hover { background: var(--orange-50); color: var(--orange-700); }

/* ---------- Footer ---------- */
.site-footer { background: #1c1917; color: #d6d3d1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 40px; }
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: 15px; letter-spacing: .03em; text-transform: uppercase; }
.site-footer a { color: #a8a29e; display: block; padding: 5px 0; font-size: 14.5px; }
.site-footer a:hover { color: var(--orange-300); }
.footer-brand { font-size: 18px; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.site-footer p { font-size: 14.5px; line-height: 1.8; color: #a8a29e; }
.footer-bottom { border-top: 1px solid #292524; padding: 20px 0; font-size: 13.5px; color: #78716c; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Page header (inner pages) ---------- */
.pagehead { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 56px 0; }
.pagehead h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.02em; }
.crumbs { font-size: 13.5px; color: var(--ink-500); margin-bottom: 10px; }
.crumbs a { color: var(--orange-600); }
.crumbs span { color: var(--ink-500); }

/* ---------- Grids utils ---------- */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.grid-rev .grid2 > *:first-child { order: 2; }

/* ---------- Filter toolbar ---------- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; }
.chip.active { background: var(--orange-500); border-color: var(--orange-500); color: #fff; }

/* ---------- Empty & loaders ---------- */
.empty { text-align: center; color: var(--ink-500); padding: 60px 20px; }
.empty .big { font-size: 40px; margin-bottom: 12px; }
.loader { text-align: center; color: var(--ink-500); padding: 50px; }

/* ---------- Animations ---------- */
.fade-in { opacity: 0; transform: translateY(18px); animation: fadeUp .6s ease forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
    background: #fff; padding: 16px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 8px; border-radius: 10px; }
  .nav-cta { margin-left: 0; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; }
  .feature-grid, .card-grid { grid-template-columns: 1fr 1fr; }
  .pdetail { grid-template-columns: 1fr; }
  .pdetail .gallery { position: static; }
  .grid2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sec-head { margin-bottom: 32px; }
}
@media (max-width: 620px) {
  section { padding: 56px 0; }
  .feature-grid, .card-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .topbar-info .hide-sm { display: none; }
}
