/* ============================================================
   PATYGR — B2B independent site
   Dark catalog aesthetic · amber/violet accents
   ============================================================ */

:root {
  --bg:        #0b0b10;
  --bg-2:      #101017;
  --panel:     #16161f;
  --panel-2:   #1b1b26;
  --line:      rgba(255, 255, 255, .09);
  --line-2:    rgba(255, 255, 255, .16);
  --text:      #f2efe9;
  --muted:     #9d99a8;
  --faint:     #6d6978;
  --accent:    #f5a623;
  --accent-dim:#c77f12;
  --accent-2:  #8b5cf6;
  --ok:        #34d399;
  --danger:    #f87171;
  --radius:    14px;
  --radius-s:  9px;
  --font-display: "Archivo", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Inter", "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
  --wrap: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

::selection { background: rgba(245, 166, 35, .35); color: #fff; }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }

/* ---------- typography ---------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent);
}

.h-display { font-size: clamp(38px, 6vw, 72px); }
.h-1 { font-size: clamp(30px, 4.2vw, 48px); }
.h-2 { font-size: clamp(22px, 2.6vw, 30px); }

.lead {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 62ch;
}

.num {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 15px/1 var(--font-body);
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }

.btn-primary {
  background: var(--accent);
  color: #191100;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(245, 166, 35, .55); }

.btn-ghost {
  border-color: var(--line-2);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn-sm { padding: 10px 18px; font-size: 13.5px; }

.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: rgba(11, 11, 16, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: .02em;
}
.logo b { color: var(--text); font-weight: 800; }
.logo span { color: var(--accent); }
.logo small {
  margin-left: 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .28em;
  color: var(--faint);
  text-transform: uppercase;
}

.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 0;
  position: relative;
  transition: color .15s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.main-nav a.active::after, .main-nav a:hover::after { transform: scaleX(1); }

.header-tools { display: flex; align-items: center; gap: 14px; }

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239d99a8' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--muted);
  font: 500 13px/1 var(--font-body);
  padding: 9px 30px 9px 14px;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.lang-select:hover { border-color: var(--accent); color: var(--text); }
.lang-select option { background: var(--panel); color: var(--text); }

.inquiry-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 9px 16px;
  font: 600 13px/1 var(--font-body);
  cursor: pointer;
  transition: border-color .15s ease;
}
.inquiry-btn:hover { border-color: var(--accent); }
.inquiry-btn .count {
  min-width: 20px; height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: #191100;
  font-size: 11.5px;
  font-weight: 700;
}
.inquiry-btn .count.zero { background: var(--line-2); color: var(--muted); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.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); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-media {
  position: absolute;
  inset: 0;
  background: url("../img/hero.jpg") center 30% / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,16,.62) 0%, rgba(11,11,16,.45) 40%, rgba(11,11,16,.94) 92%, var(--bg) 100%),
    radial-gradient(90% 70% at 18% 82%, rgba(139, 92, 246, .22), transparent 60%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 90px 0 110px;
  max-width: 780px;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero .lead { margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  position: relative;
  z-index: 2;
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-2);
}
.hero-stats .stat {
  padding: 22px 26px 0 0;
}
.hero-stats .stat + .stat { padding-left: 26px; border-left: 1px solid var(--line); }
.stat-v {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  color: var(--text);
}
.stat-v small { font-size: .55em; color: var(--accent); margin-left: 2px; }
.stat-l { font-size: 12.5px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }

/* trust marquee bar */
.trust-bar {
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 44px;
  align-items: center;
  justify-content: center;
  padding: 18px 0;
}
.trust-inner span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
}
.trust-inner span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .8;
}

/* ---------- sections ---------- */

.section { padding: 104px 0; }
.section-tight { padding: 72px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}
.section-head p { color: var(--muted); max-width: 52ch; margin-top: 14px; }
.section-head .link-arrow { flex: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--accent);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- category grid ---------- */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cat-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  aspect-ratio: 4 / 3.1;
  transition: border-color .2s ease, transform .2s ease;
}
.cat-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.cat-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.cat-card:hover img { transform: scale(1.05); }
.cat-card .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(8,8,12,.92) 88%);
}
.cat-card .meta {
  position: absolute;
  left: 22px; right: 22px; bottom: 20px;
}
.cat-card .meta .c-count {
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.cat-card .meta h3 { font-size: 21px; margin: 4px 0 2px; }
.cat-card .meta p { font-size: 13.5px; color: var(--muted); }
.cat-card .go {
  position: absolute;
  top: 16px; right: 16px;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(11,11,16,.55);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(6px);
  color: var(--text);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}
.cat-card:hover .go { opacity: 1; transform: translateY(0); }
.cat-card .go svg { width: 16px; height: 16px; }

/* ---------- feature grid ---------- */

.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel) 0%, rgba(22,22,31,.4) 100%);
  padding: 30px 26px;
  transition: border-color .2s ease, transform .2s ease;
}
.feat:hover { border-color: rgba(245,166,35,.45); transform: translateY(-4px); }
.feat .f-ico {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(245,166,35,.12);
  border: 1px solid rgba(245,166,35,.3);
  color: var(--accent);
  margin-bottom: 20px;
}
.feat .f-ico svg { width: 22px; height: 22px; }
.feat h3 { font-size: 17.5px; margin-bottom: 10px; }
.feat p { font-size: 14.5px; color: var(--muted); }

/* ---------- product cards ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.chip {
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 9px 18px;
  font: 600 13.5px/1 var(--font-body);
  cursor: pointer;
  transition: all .16s ease;
}
.chip:hover { color: var(--text); border-color: var(--accent); }
.chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #191100;
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.prod-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  transition: border-color .2s ease, transform .2s ease;
}
.prod-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.prod-card .thumb {
  position: relative;
  aspect-ratio: 1 / 0.92;
  overflow: hidden;
  cursor: pointer;
  background: var(--panel-2);
}
.prod-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.prod-card:hover .thumb img { transform: scale(1.06); }
.prod-card .thumb .code {
  position: absolute;
  top: 12px; left: 12px;
  font: 700 11px/1 var(--font-display);
  letter-spacing: .12em;
  color: var(--text);
  background: rgba(11,11,16,.72);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(6px);
  padding: 7px 10px;
  border-radius: 6px;
}
.prod-card .body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.prod-card h3 { font-size: 16.5px; line-height: 1.3; }
.spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line-2);
  border-radius: 5px;
  padding: 4px 8px;
  letter-spacing: .03em;
}
.prod-card .cta-row {
  margin-top: auto;
  display: flex;
  gap: 8px;
}
.mini-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 8px;
  padding: 10px 8px;
  font: 600 12.5px/1 var(--font-body);
  cursor: pointer;
  transition: all .16s ease;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
}
.mini-btn svg { width: 14px; height: 14px; }
.mini-btn:hover { border-color: var(--accent); color: var(--accent); }
.mini-btn.added {
  background: rgba(52, 211, 153, .12);
  border-color: rgba(52, 211, 153, .5);
  color: var(--ok);
}
.mini-btn.link { text-decoration: none; }
.mini-btn.link:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- process timeline ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 60px;
  counter-reset: step;
}
.step {
  counter-increment: step;
  position: relative;
  padding: 22px 0 22px 62px;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: 0; }
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 24px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--accent);
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245,166,35,.35);
  border-radius: 50%;
  background: rgba(245,166,35,.07);
}
.step h3 { font-size: 17px; margin-bottom: 5px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ---------- spec / data tables ---------- */

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.data-table th, .data-table td {
  text-align: left;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.data-table th {
  font: 700 12px/1.4 var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  width: 32%;
}
.data-table td { color: var(--text); }
.data-table tr:hover td { background: rgba(255,255,255,.025); }

/* light panel block (used on capabilities/factory) */
.light-panel {
  background: #f4f1ea;
  color: #17151f;
  border-radius: 20px;
  padding: 56px;
}
.light-panel .kicker { color: #a3620a; }
.light-panel .kicker::before { background: #a3620a; }
.light-panel h2, .light-panel h3 { color: #17151f; }
.light-panel p { color: #514d5e; }
.light-panel .data-table th, .light-panel .data-table td { border-color: rgba(23,21,31,.12); }
.light-panel .data-table th { color: #8a8496; }
.light-panel .data-table tr:hover td { background: rgba(23,21,31,.035); }

/* ---------- split media sections ---------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.split .media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split .copy h2 { margin-bottom: 18px; }
.split .copy p { color: var(--muted); margin-bottom: 16px; }

.check-list { list-style: none; margin: 22px 0 30px; display: grid; gap: 12px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text);
}
.check-list li::before {
  content: "";
  flex: none;
  width: 20px; height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(52, 211, 153, .12);
  border: 1px solid rgba(52, 211, 153, .4);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%2334d399' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(245,166,35,.3);
  border-radius: 22px;
  padding: 64px 56px;
  background:
    radial-gradient(80% 130% at 85% 10%, rgba(139,92,246,.25), transparent 55%),
    radial-gradient(60% 120% at 10% 90%, rgba(245,166,35,.18), transparent 60%),
    var(--panel);
  text-align: center;
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 14px; }
.cta-band p { color: var(--muted); max-width: 56ch; margin: 0 auto 30px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(70% 120% at 80% 0%, rgba(139,92,246,.14), transparent 55%),
    radial-gradient(50% 100% at 5% 100%, rgba(245,166,35,.1), transparent 55%),
    var(--bg-2);
}
.page-hero h1 { font-size: clamp(34px, 5vw, 58px); margin-bottom: 16px; }
.page-hero .lead { max-width: 64ch; }
.crumbs {
  font-size: 13px;
  color: var(--faint);
  margin-bottom: 22px;
  letter-spacing: .04em;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }

/* ---------- certifications ---------- */

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cert {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  background: var(--panel);
}
.cert .badge {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font: 800 15px/1 var(--font-display);
  letter-spacing: .02em;
  background: linear-gradient(135deg, rgba(245,166,35,.2), rgba(139,92,246,.2));
  border: 1px solid var(--line-2);
  color: var(--text);
  margin-bottom: 20px;
}
.cert h3 { font-size: 17px; margin-bottom: 8px; }
.cert p { font-size: 14.5px; color: var(--muted); }

/* ---------- quote / testimonial ---------- */

.quote {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}
.quote .mark {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: .6;
  color: var(--accent);
  display: block;
  margin-bottom: 26px;
}
.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.quote .who {
  margin-top: 26px;
  font-size: 13.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.quote .who b { color: var(--accent); }

/* ---------- FAQ accordion ---------- */

.faq { max-width: 820px; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: 0;
  color: var(--text);
  font: 600 16.5px/1.4 var(--font-display);
  text-align: left;
  padding: 24px 4px;
  cursor: pointer;
}
.faq-item button .ic {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 17px;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.faq-item.open button .ic {
  transform: rotate(45deg);
  background: var(--accent);
  color: #191100;
  border-color: var(--accent);
}
.faq-item .a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-item .a p {
  padding: 0 4px 26px;
  color: var(--muted);
  font-size: 15px;
  max-width: 70ch;
}

/* ---------- contact / form ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 56px;
  align-items: start;
}
.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 32px 30px;
  display: grid;
  gap: 26px;
}
.info-item { display: flex; gap: 16px; }
.info-item .ic {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(245,166,35,.1);
  border: 1px solid rgba(245,166,35,.3);
  color: var(--accent);
}
.info-item .ic svg { width: 19px; height: 19px; }
.info-item h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.info-item p, .info-item a { font-size: 15px; color: var(--text); }
.info-item a:hover { color: var(--accent); }

.rfq-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  padding: 44px;
}
.rfq-panel h2 { margin-bottom: 8px; }
.rfq-panel > p { color: var(--muted); font-size: 14.5px; margin-bottom: 30px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
}
.field label b { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  color: var(--text);
  font: 400 15px/1.5 var(--font-body);
  padding: 13px 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245,166,35,.15);
}
.field .err {
  font-size: 12.5px;
  color: var(--danger);
  display: none;
}
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--danger); }
.field.invalid .err { display: block; }
.field select option { background: var(--panel); }

.inquiry-box {
  grid-column: 1 / -1;
  border: 1px dashed var(--line-2);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 14px;
  color: var(--muted);
}
.inquiry-box .items { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.inquiry-box .items .tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
}
.inquiry-box .items .tag button {
  background: none;
  border: 0;
  color: var(--faint);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0;
}
.inquiry-box .items .tag button:hover { color: var(--danger); }

.form-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.form-foot .hint { font-size: 12.5px; color: var(--faint); max-width: 40ch; }

/* ---------- modal (product detail) ---------- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(5, 5, 9, .7);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-backdrop.show { display: flex; }
.modal {
  width: min(920px, 100%);
  max-height: 88vh;
  overflow: auto;
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  animation: pop .22s ease;
}
@keyframes pop { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal .m-media { position: relative; min-height: 320px; background: var(--panel); }
.modal .m-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal .m-body { padding: 36px 34px; }
.modal .m-body .code { font: 700 12px/1 var(--font-display); letter-spacing: .16em; color: var(--accent); }
.modal .m-body h3 { font-size: 24px; margin: 8px 0 14px; }
.modal .m-body .desc { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.modal .m-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 5;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(11,11,16,.7);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.modal .m-close:hover { border-color: var(--accent); color: var(--accent); }
.modal .spec-row { margin-bottom: 24px; }
.modal .cta-row { display: flex; gap: 10px; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 72px 0 0;
  margin-top: 104px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 56px;
}
.footer-grid .about p { color: var(--muted); font-size: 14.5px; margin-top: 16px; max-width: 34ch; }
.footer-grid h4 {
  font: 700 12px/1 var(--font-display);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 20px;
}
.footer-grid ul { list-style: none; display: grid; gap: 12px; }
.footer-grid ul a { font-size: 14.5px; color: var(--muted); transition: color .15s ease; }
.footer-grid ul a:hover { color: var(--accent); }
.footer-grid .contact p { font-size: 14.5px; color: var(--muted); }
.footer-grid .contact a { color: var(--text); }
.footer-grid .contact a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--faint);
}
.footer-bottom .socials { display: flex; gap: 16px; }
.footer-bottom .socials a { color: var(--muted); }
.footer-bottom .socials a:hover { color: var(--accent); }

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translate(-50%, 20px);
  z-index: 120;
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--accent);
  color: var(--text);
  border-radius: 12px;
  padding: 14px 22px;
  font-size: 14px;
  box-shadow: 0 18px 50px -12px rgba(0,0,0,.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  max-width: min(480px, calc(100vw - 40px));
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- floating inquiry bar (products page) ---------- */

.floating-bar {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 90px);
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 10px 12px 10px 22px;
  box-shadow: 0 18px 50px -12px rgba(0,0,0,.6);
  transition: transform .3s ease;
}
.floating-bar.show { transform: translate(-50%, 0); }
.floating-bar .f-count { font-size: 14px; color: var(--muted); }
.floating-bar .f-count b { color: var(--accent); }

/* ---------- reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 8px; }
  .hero-stats .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11,11,16,.97);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  .section { padding: 76px 0; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr; }
  .light-panel { padding: 34px 26px; }
  .modal { grid-template-columns: 1fr; }
  .modal .m-media { min-height: 240px; }
  .cert-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 26px; }
  .rfq-panel { padding: 30px 22px; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 36px); }
  .prod-grid, .cat-grid, .feat-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 60px 0 70px; }
  .hero-stats .stat { padding: 16px 0 0; }
  .hero-stats .stat + .stat { padding-left: 0; border-left: 0; }
  .lang-select { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo small { display: none; }
}

/* ============================================================
   SHOP (B2C) — storefront · PDP · cart · checkout · success
   ============================================================ */

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 9px 16px;
  font: 600 13px/1 var(--font-body);
  cursor: pointer;
  transition: border-color .15s ease;
}
.cart-btn:hover { border-color: var(--accent); }
.cart-btn .count {
  min-width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: #191100;
  font-size: 11.5px; font-weight: 700;
}
.cart-btn .count.zero { background: var(--line-2); color: var(--muted); }

/* filter chips row on storefront */
.shop-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }

/* product grid */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.shop-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  transition: border-color .2s ease, transform .2s ease;
}
.shop-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.shop-thumb {
  position: relative;
  aspect-ratio: 1 / 0.92;
  overflow: hidden;
  background: var(--panel-2);
}
.shop-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.shop-card:hover .shop-thumb img { transform: scale(1.06); }
.shop-badge {
  position: absolute;
  top: 12px; left: 12px;
  font: 700 11px/1 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--accent);
  color: #191100;
  padding: 7px 10px;
  border-radius: 6px;
}
.shop-badge.sale { top: 44px; background: var(--accent-2); color: #fff; }
.shop-body { padding: 18px; display: grid; gap: 8px; }
.shop-body h3 { font-size: 16px; line-height: 1.35; }

.shop-price { display: flex; align-items: baseline; gap: 10px; }
.shop-price .now {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  color: var(--accent);
}
.shop-price .was {
  font-size: 14px;
  color: var(--faint);
  text-decoration: line-through;
}
.shop-price.big .now { font-size: 30px; }

/* PDP */
.pdp {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.pdp-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}
.pdp-media img { width: 100%; aspect-ratio: 1 / 0.95; object-fit: cover; }
.pdp-info h1 { font-size: clamp(26px, 3.4vw, 40px); margin: 8px 0 14px; }
.pdp-info .code { font: 700 12px/1 var(--font-display); letter-spacing: .16em; color: var(--accent); }
.pdp-info .desc { color: var(--muted); font-size: 15px; margin: 16px 0 8px; }
.opt-group { margin-top: 20px; }
.opt-group h4 {
  font: 700 12px/1 var(--font-display);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 12px;
}
.opt-row { display: flex; flex-wrap: wrap; gap: 9px; }
.pdp-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.ship-note {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 13px;
  color: var(--faint);
}
.ship-note span::before { content: "✓"; color: var(--ok); margin-right: 7px; }

/* qty stepper */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 4px;
}
.qty-stepper button {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 17px;
  cursor: pointer;
  transition: background .15s ease;
}
.qty-stepper button:hover { background: rgba(255,255,255,.08); }
.qty-stepper span {
  min-width: 34px;
  text-align: center;
  font: 700 15px/1 var(--font-display);
}
.qty-stepper.small button { width: 28px; height: 28px; font-size: 15px; }
.qty-stepper.small span { min-width: 26px; font-size: 14px; }

/* cart lines */
.cart-line {
  display: grid;
  grid-template-columns: 88px 1fr auto auto 34px;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line.static { grid-template-columns: 1fr auto; }
.cl-thumb {
  width: 88px; height: 80px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel-2);
}
.cl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cl-info { display: grid; gap: 4px; }
.cl-name { font-weight: 600; font-size: 15.5px; }
a.cl-name:hover { color: var(--accent); }
.cl-meta, .cl-unit { font-size: 13px; color: var(--faint); }
.cl-total { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.cl-remove {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--faint);
  font-size: 16px;
  cursor: pointer;
  transition: all .15s ease;
}
.cl-remove:hover { border-color: var(--danger); color: var(--danger); }

/* checkout layout */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 48px;
  align-items: start;
}
.summary-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  padding: 30px 28px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.summary-card h3 { font-size: 18px; margin-bottom: 20px; }
.sum-row {
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  color: var(--muted);
  padding: 8px 0;
}
.sum-row.total {
  border-top: 1px solid var(--line-2);
  margin-top: 12px;
  padding-top: 16px;
  font: 700 18px/1 var(--font-display);
  color: var(--text);
}
.sum-row.total .val { color: var(--accent); }
.ship-hint { font-size: 13px; color: var(--ok); margin-top: 10px; }

.pay-demo { border: 1px dashed var(--line-2); border-radius: 14px; padding: 20px; margin-top: 18px; }
.pay-demo-head { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.pay-demo-head .tag { align-self: flex-start; color: var(--accent); border-color: rgba(245,166,35,.4); }
.pay-demo .btn { width: 100%; }

/* empty cart */
.empty-cart { text-align: center; padding: 90px 20px; }
.empty-cart h2 { margin-bottom: 10px; }
.empty-cart p { color: var(--muted); margin-bottom: 28px; }

/* success */
.success-card {
  max-width: 720px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  padding: 48px 44px;
}
.success-card .tick {
  width: 62px; height: 62px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(52, 211, 153, .12);
  border: 1px solid rgba(52, 211, 153, .5);
  margin-bottom: 24px;
}
.success-card .tick svg { width: 28px; height: 28px; color: var(--ok); }
.success-card h1 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.success-card .order-no {
  font: 700 14px/1 var(--font-display);
  letter-spacing: .14em;
  color: var(--accent);
}
.success-card .meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
}
.success-card .meta-grid h4 {
  font: 700 11px/1 var(--font-display);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 5px;
}
.success-card .meta-grid p { color: var(--text); }
.success-note { font-size: 13.5px; color: var(--muted); margin-top: 18px; }

@media (max-width: 1080px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .pdp { grid-template-columns: 1fr; gap: 32px; }
  .checkout-grid { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-line { grid-template-columns: 72px 1fr auto; }
  .cart-line .qty-stepper, .cart-line .cl-total { grid-column: 2; }
  .cart-line .cl-remove { grid-row: 1; grid-column: 3; }
  .success-card { padding: 34px 24px; }
  .success-card .meta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .shop-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Retail enrichment — announce bar · reviews · newsletter · PDP extras
   ============================================================ */

.announce-bar {
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  color: #191100;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 9px 16px;
  letter-spacing: .02em;
}
.announce-bar b { font-weight: 800; }

/* reviews */
.rev-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.rev-score {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 16px;
  font-size: 13.5px; color: var(--muted);
}
.rev-score b { color: var(--accent); font-size: 15px; }
.rev-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.rev-grid.two { grid-template-columns: repeat(2, 1fr); }
.rev-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.rev-card:hover { border-color: var(--line-2); }
.rev-stars { color: var(--accent); letter-spacing: 3px; font-size: 13px; }
.rev-card > p { font-size: 14.5px; line-height: 1.6; color: var(--text); }
.rev-who { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 6px; }
.rev-ava {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--panel-2); border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--accent);
}
.rev-who .nm { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.rev-who .nm small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }

/* newsletter */
.news-band {
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 200px at 85% 20%, rgba(139, 92, 246, .14), transparent 60%),
    radial-gradient(500px 220px at 10% 90%, rgba(245, 166, 35, .12), transparent 60%),
    var(--panel);
  border-radius: 18px; padding: 46px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 36px; flex-wrap: wrap;
}
.news-band h2 { margin-bottom: 8px; }
.news-band p { color: var(--muted); max-width: 46ch; }
.news-form { display: flex; gap: 10px; flex-wrap: wrap; }
.news-form input {
  background: var(--bg-2); border: 1px solid var(--line-2);
  color: var(--text); padding: 13px 16px; border-radius: var(--radius-s);
  min-width: 260px; font: inherit;
}
.news-form input::placeholder { color: var(--faint); }
.news-form input:focus { outline: none; border-color: var(--accent); }

/* PDP extras */
.pdp-faq { max-width: none; margin-top: 26px; }
.pdp-rate { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.pdp-rate .stars { color: var(--accent); letter-spacing: 2.5px; }

@media (max-width: 1080px) {
  .rev-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .rev-grid, .rev-grid.two { grid-template-columns: 1fr; }
  .news-band { padding: 34px 26px; }
  .news-form, .news-form input { width: 100%; }
}
