/* ==========================================================================
   PoisTech Design System — light industrial theme
   White canvas, deep-blue accent, wide whitespace, teaser-card structure.
   ========================================================================== */

:root {
  --blue: #0a4d8c;
  --blue-dark: #073a6b;
  --blue-light: #e8f1fa;
  --accent: #0a4d8c;
  --ink: #16202b;
  --body: #4a5867;
  --muted: #78889a;
  --line: #e3e8ee;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-softer: #fafbfc;
  --ok: #14804a;
  --warn: #b45309;
  --danger: #c0392b;
  --radius: 2px;
  --shadow-sm: 0 1px 2px rgba(16, 32, 48, .05);
  --shadow: 0 4px 18px rgba(16, 32, 48, .08);
  --shadow-lg: 0 14px 44px rgba(16, 32, 48, .12);
  --max: 1280px;
  --font: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--blue-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { color: var(--ink); font-weight: 300; line-height: 1.18; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 500; }
h4 { font-size: 1.05rem; font-weight: 600; }
strong, b { font-weight: 600; color: var(--ink); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.center { text-align: center; }
.hidden { display: none !important; }

/* ------------------------------- eyebrow -------------------------------- */
.eyebrow {
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue); font-weight: 600; margin-bottom: 14px; display: block;
}
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { margin-top: 16px; font-size: 1.05rem; color: var(--body); }
.rule { width: 54px; height: 3px; background: var(--blue); margin: 18px 0 0; }
.center .rule { margin-left: auto; margin-right: auto; }

/* -------------------------------- buttons -------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border: 1px solid transparent; border-radius: var(--radius);
  font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; transition: all .2s ease; background: var(--blue); color: #fff; white-space: nowrap;
}
.btn:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink); border-color: var(--muted); }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: var(--blue-light); color: var(--blue-dark); }
.btn-sm { padding: 10px 20px; font-size: .72rem; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 600; font-size: .85rem; display: inline-flex; align-items: center; gap: 7px; }
.link-arrow::after { content: "›"; font-size: 1.25rem; line-height: 1; transition: transform .18s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* -------------------------------- topbar --------------------------------- */
.topbar {
  background: var(--bg-soft); border-bottom: 1px solid var(--line);
  font-size: .76rem; color: var(--muted);
}
.topbar .wrap { display: flex; align-items: center; justify-content: flex-end; gap: 16px; min-height: 38px; flex-wrap: wrap; }
.topbar-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar a { color: var(--muted); }
.topbar a:hover { color: var(--blue); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); display: inline-block; margin-right: 7px; animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }
.lang-switch { display: flex; gap: 2px; }
.lang-switch button {
  background: none; border: 0; cursor: pointer; padding: 3px 7px; font-size: .72rem;
  color: var(--muted); font-weight: 600; letter-spacing: .04em; border-radius: var(--radius);
}
.lang-switch button.active { background: var(--blue); color: #fff; }
.lang-switch button:hover:not(.active) { color: var(--blue); }

/* ------------------------------- announce -------------------------------- */
.announce { background: var(--blue); color: #fff; font-size: .8rem; padding: 9px 0; text-align: center; }
.announce a { color: #fff; text-decoration: underline; margin-left: 8px; font-weight: 600; }

/* -------------------------------- header --------------------------------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 200; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-decoration: none; }
.brand-logo { display: block; height: 27px; width: auto; }
.brand-mark-img { display: block; height: 30px; width: auto; }
.site-footer .brand { gap: 0; }
.site-footer .brand-logo { height: 25px; }
.brand-mark {
  width: 42px; height: 42px; background: var(--blue); color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 1.25rem; border-radius: var(--radius); letter-spacing: -.02em;
}
.brand-name { font-size: 1.32rem; font-weight: 700; color: var(--ink); letter-spacing: .04em; line-height: 1.1; }
.brand-tag { font-size: .63rem; color: var(--muted); letter-spacing: .17em; text-transform: uppercase; padding-left: 2px; }
@media (max-width: 640px) { .brand-logo { height: 22px; } .brand-tag { font-size: .55rem; letter-spacing: .12em; } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-item > a {
  padding: 12px 15px; font-size: .87rem; font-weight: 500; color: var(--ink);
  border-bottom: 2px solid transparent; display: inline-flex; align-items: center; gap: 6px;
}
.nav > a:hover, .nav-item:hover > a, .nav > a.active { color: var(--blue); border-bottom-color: var(--blue); }
.nav-item { position: relative; }
.nav-item > a::after { content: "▾"; font-size: .6rem; opacity: .5; }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 290px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s ease;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 14px; font-size: .87rem; color: var(--ink); border-left: 2px solid transparent; }
.dropdown a:hover { background: var(--bg-soft); color: var(--blue); border-left-color: var(--blue); }
.dropdown small { display: block; color: var(--muted); font-size: .74rem; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; background: none; border: 1px solid var(--line); padding: 9px 11px; cursor: pointer; border-radius: var(--radius); }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; transition: .2s; }

.mobile-nav { display: none; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 0 20px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 24px; color: var(--ink); font-size: .95rem; border-bottom: 1px solid var(--bg-soft); }
.mobile-nav a:hover { background: var(--bg-soft); color: var(--blue); }

/* --------------------------------- hero ---------------------------------- */
.hero { position: relative; background: var(--bg-soft); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.93) 42%, rgba(255,255,255,.62) 68%, rgba(255,255,255,.28) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 104px 0 96px; max-width: 720px; }
.hero-badge {
  display: inline-block; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--blue);
  padding: 7px 16px; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); font-weight: 600; margin-bottom: 26px;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--blue); font-weight: 400; display: block; }
.hero-sub { font-size: 1.1rem; max-width: 610px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* metrics band */
.metrics { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; z-index: 3; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { padding: 30px 26px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric-value { font-size: 1.7rem; font-weight: 300; color: var(--blue); line-height: 1.1; }
.metric-label { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* -------------------------- intro / stats strip -------------------------- */
.intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.intro-copy p + p { margin-top: 16px; }
.intro-visual { position: relative; }
.intro-visual img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.intro-stamp {
  position: absolute; right: -18px; bottom: -18px; background: var(--blue); color: #fff;
  padding: 22px 26px; max-width: 230px; box-shadow: var(--shadow-lg);
}
.intro-stamp .n { font-size: 2.1rem; font-weight: 300; line-height: 1; }
.intro-stamp .t { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; opacity: .88; margin-top: 6px; }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pillar { background: #fff; padding: 34px 28px; text-align: center; }
.pillar .n { font-size: 2.3rem; font-weight: 300; color: var(--blue); line-height: 1; }
.pillar h4 { margin: 12px 0 6px; letter-spacing: .04em; }
.pillar p { font-size: .87rem; color: var(--muted); }

/* -------------------------------- teasers -------------------------------- */
.teaser-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.teaser {
  background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: all .22s ease; overflow: hidden;
}
.teaser:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: #d6dee7; }
.teaser-img { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.teaser-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.teaser:hover .teaser-img img { transform: scale(1.05); }
.teaser-body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.teaser-body h3 { margin-bottom: 10px; }
.teaser-body p { font-size: .92rem; flex: 1; }
.teaser-body .link-arrow { margin-top: 18px; }

/* ------------------------------ product grid ----------------------------- */
.filter-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  flex-wrap: wrap; padding: 18px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 34px;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 9px 18px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-size: .8rem; font-weight: 500; color: var(--body); border-radius: var(--radius); transition: .18s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.search-box { position: relative; }
.search-box input {
  padding: 10px 14px 10px 38px; border: 1px solid var(--line); border-radius: var(--radius);
  min-width: 250px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2378889a' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") 12px center no-repeat;
}
.search-box input:focus { outline: 0; border-color: var(--blue); }
.result-count { font-size: .84rem; color: var(--muted); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 28px; }
.card {
  background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: all .22s ease; position: relative; overflow: hidden;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-media { position: relative; aspect-ratio: 4/3; background: var(--bg-soft); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.badge {
  font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
  padding: 5px 10px; border-radius: var(--radius); background: rgba(255,255,255,.95); color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.badge-ok { background: var(--ok); color: #fff; }
.badge-blue { background: var(--blue); color: #fff; }
.badge-amber { background: #f0a500; color: #241a00; }
.card-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card-cat { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); font-weight: 700; margin-bottom: 9px; }
.card-title { font-size: 1.02rem; font-weight: 600; color: var(--ink); line-height: 1.35; margin-bottom: 10px; }
.card-desc {
  font-size: .87rem; color: var(--body); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.spec-list { margin: 16px 0; border-top: 1px solid var(--line); }
.spec-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: .8rem; border-bottom: 1px solid var(--bg-soft); }
.spec-row span:first-child { color: var(--muted); }
.spec-row span:last-child { color: var(--ink); font-weight: 500; text-align: right; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.price { font-size: .95rem; font-weight: 600; color: var(--ink); }
.price small { display: block; font-size: .68rem; color: var(--muted); font-weight: 400; text-transform: uppercase; letter-spacing: .1em; }
.compare-toggle { display: flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--muted); cursor: pointer; user-select: none; }

/* ------------------------------- calculator ------------------------------ */
.calc { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.calc-head { padding: 22px 28px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.calc-head h3 { font-size: 1.1rem; }
.calc-live { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ok); font-weight: 700; }
.calc-body { padding: 28px; }
.calc-field { margin-bottom: 26px; }
.calc-field label { display: flex; justify-content: space-between; font-size: .85rem; margin-bottom: 12px; }
.calc-field label b { color: var(--blue); font-size: 1rem; }
input[type=range] { width: 100%; -webkit-appearance: none; appearance: none; height: 4px; background: var(--line); border-radius: 4px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); cursor: pointer; box-shadow: 0 0 0 4px rgba(10,77,140,.14); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--blue); cursor: pointer; }
.range-ends { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); margin-top: 8px; }
.calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 22px; }
.calc-cell { background: var(--bg-softer); padding: 22px 20px; text-align: center; }
.calc-cell.win { background: var(--blue); color: #fff; }
.calc-cell .k { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.calc-cell.win .k { color: rgba(255,255,255,.82); }
.calc-cell .v { font-size: 1.6rem; font-weight: 300; color: var(--ink); margin: 8px 0 4px; }
.calc-cell.win .v { color: #fff; }
.calc-cell .s { font-size: .72rem; color: var(--muted); }
.calc-cell.win .s { color: rgba(255,255,255,.82); }

/* ------------------------------- checklist ------------------------------- */
.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 13px; font-size: .95rem; }
.check-list li::before {
  content: "✓"; flex: 0 0 22px; height: 22px; background: var(--blue-light); color: var(--blue);
  display: grid; place-items: center; font-size: .78rem; font-weight: 700; border-radius: 50%; margin-top: 3px;
}

/* --------------------------------- panels -------------------------------- */
.panel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.panel { background: #fff; padding: 32px 28px; }
.panel-icon { width: 44px; height: 44px; background: var(--blue-light); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; font-size: 1.15rem; border-radius: var(--radius); }
.panel h4 { margin-bottom: 10px; }
.panel p { font-size: .89rem; }

/* -------------------------------- logistics ------------------------------ */
.route-list { border-top: 1px solid var(--line); }
.route {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 17px 0; border-bottom: 1px solid var(--line); font-size: .92rem;
}
.route b { color: var(--blue); font-weight: 600; white-space: nowrap; }
.stat-inline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 26px; }
.stat-inline div { background: #fff; padding: 18px; text-align: center; }
.stat-inline .k { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.stat-inline .v { font-weight: 600; color: var(--ink); margin-top: 5px; font-size: .92rem; }

/* ------------------------------ testimonials ----------------------------- */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.quote { background: #fff; border: 1px solid var(--line); padding: 32px 28px; position: relative; }
.quote .stars { color: #f0a500; font-size: .9rem; letter-spacing: 2px; margin-bottom: 14px; }
.quote p { font-size: .96rem; font-style: italic; color: var(--ink); }
.quote footer { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.quote footer b { display: block; color: var(--ink); font-size: .92rem; }
.quote footer span { font-size: .8rem; color: var(--muted); }

/* --------------------------------- clients ------------------------------- */
.client-strip { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.client-strip div {
  background: #fff; flex: 1 1 200px; padding: 26px 18px; text-align: center;
  font-size: .88rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; transition: .2s;
}
.client-strip div:hover { color: var(--blue); background: var(--bg-softer); }

/* --------------------------------- gallery ------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.gallery figure { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--bg-soft); cursor: pointer; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.07); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; background: linear-gradient(transparent, rgba(10,32,54,.88));
  color: #fff; font-size: .78rem; padding: 26px 14px 12px; opacity: 0; transition: opacity .25s;
}
.gallery figure:hover figcaption { opacity: 1; }

/* ---------------------------------- news --------------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 28px; }
.news-card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: .22s; }
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.news-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.news-meta { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); font-weight: 700; margin-bottom: 10px; }
.news-meta time { color: var(--muted); font-weight: 400; margin-left: 8px; }
.news-card h4 { font-size: 1rem; line-height: 1.4; margin-bottom: 10px; }
.news-card p { font-size: .87rem; flex: 1; }

/* ---------------------------------- FAQ ---------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  padding: 20px 40px 20px 0; cursor: pointer; list-style: none; position: relative;
  font-size: 1rem; font-weight: 500; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 300; color: var(--blue); transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { color: var(--blue); }
.faq .answer { padding: 0 40px 22px 0; font-size: .94rem; }

/* --------------------------------- forms --------------------------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: border-color .18s, box-shadow .18s; font-size: .94rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,77,140,.1);
}
.field textarea { min-height: 130px; resize: vertical; }
.checkbox-row { display: flex; align-items: flex-start; gap: 11px; font-size: .88rem; }
.checkbox-row input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--blue); }
.form-note { font-size: .78rem; color: var(--muted); }
.alert { padding: 15px 18px; border-radius: var(--radius); font-size: .9rem; border-left: 3px solid; }
.alert-ok { background: #edf7f1; border-color: var(--ok); color: #14603a; }
.alert-err { background: #fdeeec; border-color: var(--danger); color: #8f2b20; }

.rfq-split { display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: start; }
.contact-card { background: var(--bg-soft); border: 1px solid var(--line); padding: 30px 28px; }
.contact-card h4 { margin-bottom: 6px; }
.contact-row { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.contact-row:last-child { border-bottom: 0; }
.contact-row .k { color: var(--muted); min-width: 76px; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }

/* ------------------------------- newsletter ------------------------------ */
.newsletter { background: var(--blue); color: #fff; }
.newsletter h2 { color: #fff; }
.newsletter p { color: rgba(255,255,255,.86); }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.newsletter-form input {
  flex: 1; min-width: 240px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1); color: #fff; border-radius: var(--radius);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.6); }
.newsletter-form input:focus { outline: 0; border-color: #fff; background: rgba(255,255,255,.16); }

/* --------------------------------- footer -------------------------------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 66px 0 0; font-size: .89rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 48px; }
.footer-grid h5 { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; font-weight: 700; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { color: var(--body); }
.footer-grid a:hover { color: var(--blue); }
.footer-brand p { margin: 16px 0; color: var(--muted); font-size: .87rem; white-space: pre-line; }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 22px 0; display: flex; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; font-size: .8rem; color: var(--muted);
}
.footer-bottom nav { display: flex; gap: 20px; }
.social { display: flex; gap: 10px; margin-top: 6px; }
.social a {
  width: 34px; height: 34px; border: 1px solid var(--line); display: grid; place-items: center;
  background: #fff; border-radius: var(--radius); font-size: .78rem; font-weight: 700; color: var(--muted);
}
.social a svg { display: block; }
.social a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
/* Each network keeps its own brand colour on hover so the row reads instantly. */
.social a[data-net="linkedin"]:hover  { background: #0a66c2; border-color: #0a66c2; }
.social a[data-net="instagram"]:hover { background: #d62976; border-color: #d62976; }
.social a[data-net="tiktok"]:hover    { background: #010101; border-color: #010101; }
.social a[data-net="whatsapp"]:hover  { background: #25d366; border-color: #25d366; }
.social a[data-net="youtube"]:hover   { background: #ff0000; border-color: #ff0000; }
.social a[data-net="x"]:hover         { background: #000;    border-color: #000; }
@media (prefers-reduced-motion: no-preference) { .social a { transition: background .18s, border-color .18s, color .18s; } }

/* ------------------------------ floating UI ------------------------------ */
.whatsapp-fab {
  position: fixed; right: 22px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg);
  z-index: 300; transition: transform .2s;
}
.whatsapp-fab:hover { transform: scale(1.08); color: #fff; }
.compare-bar {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(140%);
  background: var(--ink); color: #fff; padding: 14px 18px; display: flex; align-items: center; gap: 16px;
  box-shadow: var(--shadow-lg); z-index: 300; transition: transform .3s ease; border-radius: var(--radius);
}
.compare-bar.show { transform: translateX(-50%) translateY(0); }
.compare-bar b { font-size: .88rem; }

/* --------------------------------- modal --------------------------------- */
.modal { position: fixed; inset: 0; background: rgba(16,32,48,.62); display: none; place-items: center; z-index: 500; padding: 24px; }
.modal.open { display: grid; }
.modal-box { background: #fff; max-width: 900px; width: 100%; max-height: 88vh; overflow-y: auto; box-shadow: var(--shadow-lg); }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 26px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; }
.modal-close { background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--muted); line-height: 1; }
.modal-close:hover { color: var(--danger); }
.modal-body { padding: 26px; }

/* ------------------------------- page hero ------------------------------- */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 56px 0; }
.crumbs { font-size: .78rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }

/* ------------------------------ product page ----------------------------- */
.pd-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.pd-main { border: 1px solid var(--line); background: var(--bg-soft); aspect-ratio: 4/3; overflow: hidden; }
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumbs img { width: 82px; height: 62px; object-fit: cover; border: 1px solid var(--line); cursor: pointer; }
.pd-thumbs img.active, .pd-thumbs img:hover { border-color: var(--blue); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.spec-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.spec-table tr:nth-child(odd) td { background: var(--bg-softer); }
.spec-table td:first-child { color: var(--muted); width: 45%; }
.spec-table td:last-child { color: var(--ink); font-weight: 500; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 28px; flex-wrap: wrap; }
.tab { padding: 13px 22px; cursor: pointer; font-size: .88rem; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; background: none; border-top: 0; border-left: 0; border-right: 0; }
.tab:hover { color: var(--blue); }
.tab.active { color: var(--blue); border-bottom-color: var(--blue); }

/* ------------------------------ maintenance ------------------------------ */
.maintenance { position: fixed; inset: 0; background: #fff; z-index: 900; display: grid; place-items: center; text-align: center; padding: 24px; }

/* ------------------------------ responsive ------------------------------- */
@media (max-width: 1080px) {
  .metrics-grid, .pillars { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2n) { border-right: 0; }
  .intro-grid, .rfq-split, .pd-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
}
@media (max-width: 900px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: block; }
  .section { padding: 60px 0; }
  .calc-out { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .intro-stamp { position: static; margin-top: 16px; max-width: none; }
}
@media (max-width: 560px) {
  .metrics-grid, .pillars { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 64px 0 56px; }
  .topbar-left { display: none; }
}
@media print {
  .site-header, .topbar, .site-footer, .whatsapp-fab, .compare-bar, .btn { display: none !important; }
}

.calc-note { font-size: .72rem; color: var(--muted); margin: 4px 0 10px; letter-spacing: .02em; }


/* ---------------------------- legal documents ---------------------------- */
.legal-doc { max-width: 760px; color: var(--body); line-height: 1.75; }
.legal-doc h2 {
  font-size: 1.02rem; font-weight: 700; color: var(--ink); letter-spacing: .01em;
  margin: 34px 0 12px; padding-bottom: 9px; border-bottom: 1px solid var(--line);
}
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p { margin: 0 0 14px; }
.legal-doc ul { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 7px; }
.legal-doc li { list-style: disc; }
.legal-row {
  display: grid; grid-template-columns: 240px 1fr; gap: 16px;
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .92rem;
}
.legal-row .k { color: var(--muted); }
.legal-row .v { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) {
  .legal-row { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
  .legal-row .k { font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
}

/* --------------------------- price / buy prompts -------------------------- */
/* Prices are quoted per configuration, so the catalogue sells the next step
   (a conversation) rather than showing a number that would not apply. */
.price-cta { line-height: 1.25; }
.price-cta small { display: block; font-size: .68rem; font-weight: 400; color: var(--muted);
  letter-spacing: .02em; text-transform: none; margin-top: 2px; }
.buy-card { padding: 20px 22px; }
.buy-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.buy-note { margin: 14px 0 0; font-size: .88rem; line-height: 1.6; color: var(--muted); }
.buy-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 7px; }
.buy-list li { position: relative; padding-left: 22px; font-size: .88rem; color: var(--ink); }
.buy-list li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.buy-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px;
  padding-top: 16px; border-top: 1px solid var(--line); }

/* ------------------------------ order band ------------------------------- */
.order-band { margin-top: 56px; padding: 40px; border: 1px solid var(--line);
  background: var(--soft, #f7f9fc); border-radius: var(--radius); }
.order-band-head { max-width: 720px; }
.order-band-head h2 { margin: 8px 0 12px; }
.order-band-head p { color: var(--muted); line-height: 1.7; }
.order-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px; margin: 32px 0; }
.order-step { position: relative; padding-left: 44px; }
.order-step .n { position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue); color: #fff;
  font-size: .82rem; font-weight: 700; }
.order-step h4 { margin: 3px 0 6px; font-size: .98rem; }
.order-step p { font-size: .87rem; color: var(--muted); line-height: 1.6; margin: 0; }
.order-actions { display: flex; gap: 10px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 700px) { .order-band { padding: 26px 20px; } }

/* ==========================================================================
   WordPress additions — only classes the original design system lacks.
   Everything else reuses the vocabulary above; do not duplicate it here.
   ========================================================================== */

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 8px; left: 8px; z-index: 999; width: auto; height: auto;
  clip: auto; padding: 10px 16px; background: var(--blue); color: #fff;
}

/* pagination produced by the_posts_pagination() */
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.page-numbers {
  border: 1px solid var(--line); padding: 9px 15px; color: var(--body);
  font-size: .85rem; background: #fff;
}
.page-numbers.current, .page-numbers:hover { border-color: var(--blue); color: var(--blue); }
.page-links { margin-top: 20px; display: flex; gap: 8px; }

/* blog fallback */
.post-list { display: grid; gap: 36px; }
.post-item h2 { font-size: 1.4rem; margin-bottom: 6px; }
.post-meta { font-size: .78rem; color: var(--muted); margin-bottom: 8px; }

/* honeypot field — hidden from people, visible to bots */
.field-hp { position: absolute !important; left: -9999px !important; }

/* back-to-top, absent from the original build */
.to-top {
  position: fixed; right: 22px; bottom: 92px; z-index: 60; width: 42px; height: 42px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.to-top:hover { border-color: var(--blue); color: var(--blue); }

/* The header language switch is rendered as links (real URLs) rather than the
   buttons the original static build used; mirror the button styling. */
.lang-switch a {
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  padding: 3px 9px; font-size: .7rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; cursor: pointer; border-radius: var(--radius);
}
.lang-switch a.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.lang-switch a:hover:not(.active) { color: var(--blue); }

body.nav-open { overflow: hidden; }

.footer-col ul { list-style: none; }

/* The category teasers are whole-card links; keep the body copy in body colour
   rather than inheriting the global blue link colour. */
a.teaser { color: inherit; }
a.teaser .teaser-body h3 { color: var(--ink); }
a.teaser .teaser-body p { color: var(--body); }
a.teaser .link-arrow { color: var(--blue); }

/* Card titles link to the product; keep them ink-coloured, not link-blue. */
.card-title a { color: inherit; }
.card-title a:hover { color: var(--blue); }

/* The RFQ contact card carries a long registered-office address; let rows wrap
   instead of crushing the value into a narrow column. */
.contact-card .contact-row { flex-wrap: wrap; }
.contact-card .contact-row .k { flex: 0 0 100%; min-width: 0; margin-bottom: 3px; }
.contact-card .contact-row .v { flex: 1 1 100%; line-height: 1.6; }

/* ---------------------------- narrow-screen fixes -------------------------- */
/* Grid and flex children default to min-width:auto, so a long unbroken string
   can push a one-column track wider than the viewport. Opt them back in to
   shrinking, and let long buttons wrap instead of overflowing. */
.rfq-split > *, .intro-grid > *, .pd-grid > *, .product-grid > *, .teaser-grid > * { min-width: 0; }
.check-list li > span, .route span, .contact-row .v, .spec-row span { min-width: 0; overflow-wrap: anywhere; }

.btn { max-width: 100%; }
@media (max-width: 560px) {
  .btn { white-space: normal; text-align: center; }
  .hero-actions .btn, .buy-actions .btn, .order-actions .btn { width: 100%; }
  .filter-bar { justify-content: flex-start; }
  .calc-body, .calc-head { padding-left: 18px; padding-right: 18px; }
}

/* A <select> is as wide as its longest option, and the machine list contains
   very long product names — that was blowing the RFQ grid past the viewport. */
.form-grid > *, .field > * { min-width: 0; }
.field select, .field input, .field textarea { width: 100%; max-width: 100%; }
.field select { text-overflow: ellipsis; }

@media (max-width: 560px) {
  .stat-inline { grid-template-columns: 1fr; }
}

/* A machine photograph is a product cutout on white, so it is fitted inside
   the frame rather than cropped like a photographic scene would be. */
.intro-visual.is-product img { object-fit: contain; background: var(--bg-soft); padding: 22px; }
