/* ==========================================================================
   ABE TEX website 2.0.0 - one stylesheet for every public page.
   Replaces app.min.css + fontawesome.min.css + style.css (580 KB) on the
   public site. The admin panel keeps its own styles.
   ========================================================================== */

:root {
  --ink: #0B1533;
  --ink-2: #3A4560;
  --muted: #5A6684;
  --line: #E3E7F0;
  --line-2: #CDD4E3;
  --ground: #F4F6FA;
  --white: #FFFFFF;
  --blue: #1446D6;
  --blue-dark: #0B2F9E;
  --blue-soft: #E2E9FB;
  --lime: #C8E03A;
  --on-dark: #C9D2E8;
  --on-dark-2: #9DAAC8;
  --radius: 14px;
  --radius-lg: 24px;
  --font: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --shadow: 0 30px 60px -30px rgba(11, 21, 51, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--ground); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; color: #fff; }
.ico { flex: none; display: inline-block; vertical-align: middle; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--white { background: var(--white); }

/* ---------- Buttons and small parts ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 12px; border: 1px solid transparent; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 10px; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--outline { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1B2852; color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--blue-soft); color: var(--ink); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost-light:hover { border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow--lime { color: var(--lime); }
.grade { width: 28px; height: 14px; flex: none; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.grades { display: inline-flex; gap: 3px; }
.grades span { width: 10px; height: 10px; }
.mono { font-family: var(--mono); }
.lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 620px; }
.h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 700; }
.h3 { font-size: 22px; font-weight: 700; }
.sec-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: 40px; }
.sec-head--row { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list li { padding: 10px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line-2); font-family: var(--mono); font-weight: 600; font-size: 15px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255,255,255,.85); backdrop-filter: blur(10px); } }
.site-header__in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand img { width: auto; height: 60px; }
.site-nav { display: flex; align-items: center; gap: 20px; flex: 1 1 auto; }
.site-nav__list { list-style: none; display: flex; align-items: center; gap: 4px; flex: 1 1 auto; }
.site-nav__list > li { position: relative; }
.site-nav__list > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.site-nav__list > li > a:hover, .site-nav__list > li > a[aria-current="page"] { color: var(--blue); }
.site-nav__list > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.sub { list-style: none; position: absolute; left: 0; top: 100%; min-width: 230px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; }
.sub a:hover { background: var(--ground); color: var(--blue); }
.search { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; overflow: hidden; }
.search input { border: 0; padding: 0 12px; min-height: 42px; width: 170px; background: transparent; }
.search input:focus { outline: none; }
.search:focus-within { outline: 3px solid var(--lime); outline-offset: 1px; }
.search button { border: 0; background: transparent; min-width: 44px; min-height: 42px; cursor: pointer; color: var(--ink-2); }
.nav-toggle { display: none; margin-left: auto; min-width: 48px; min-height: 48px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 1080px) {
  .search input { width: 120px; }
  .site-nav__list > li > a { padding: 10px 8px; }
}
@media (max-width: 960px) {
  .site-header__in { flex-wrap: wrap; }
  .js .nav-toggle { display: inline-flex; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 14px; padding: 8px 0 20px; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; align-items: stretch; }
  .site-nav__list > li > a { padding: 12px 4px; font-size: 17px; }
  .site-nav__list > li > a[aria-current="page"] { box-shadow: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 14px; min-width: 0; }
  .search input { width: 100%; flex: 1; }
  .site-nav .btn { align-self: flex-start; }
}

/* ---------- Home hero + 3D light booth ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1100px 520px at 85% 0%, var(--blue-soft) 0%, rgba(226,233,251,0) 60%), var(--ground); }
.hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 80px; }
.hero__copy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.hero__title { font-size: clamp(42px, 6vw, 76px); line-height: 1.02; letter-spacing: -.03em; }
.hero__kicker { display: block; margin-bottom: 14px; font-family: var(--font); font-size: 18px; font-weight: 600; letter-spacing: 0; line-height: 1.3; color: var(--blue); }
.facts { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 12px; margin-top: 6px; }
.facts li { padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; gap: 3px; }
.facts .k { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.facts .v { font-weight: 600; font-size: 15px; }

.booth-wrap { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.booth { position: relative; height: 520px; border-radius: 22px; overflow: hidden; background: linear-gradient(180deg, #3B4152 0%, #2A2F3C 55%, #1E222C 100%); box-shadow: 0 40px 80px -40px rgba(11,21,51,.55), inset 0 0 0 1px rgba(255,255,255,.06); --tube: #EEF3FF; --glow: rgba(214,226,255,.55); --filter: none; --fluor: 0; --tx: -8deg; --ty: 0deg; }
.booth__tube { position: absolute; left: 6%; right: 6%; top: 0; height: 14px; border-radius: 0 0 10px 10px; background: var(--tube); box-shadow: 0 0 40px 10px var(--glow); transition: background-color .4s, box-shadow .4s; }
.booth__light { position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 0%, var(--glow) 0%, rgba(0,0,0,0) 70%); pointer-events: none; transition: background .4s; }
.booth__label { position: absolute; top: 22px; left: 22px; display: flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: #E7EBF5; background: rgba(0,0,0,.4); padding: 7px 12px; border-radius: 999px; z-index: 2; }
.booth__label i { width: 8px; height: 8px; border-radius: 50%; background: var(--tube); }
.booth__scene { position: absolute; inset: 0; perspective: 1100px; filter: var(--filter); transition: filter .4s; }
.booth__tilt { position: absolute; left: 50%; top: 46%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(var(--tx)) rotateY(var(--ty)); transition: transform .25s ease-out; }
.booth__spin { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; animation: abxSpin 22s linear infinite; }
.swatch { position: absolute; left: -95px; top: -125px; width: 190px; height: 250px; border-radius: 6px; box-shadow: 0 20px 40px rgba(0,0,0,.35); backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; align-items: flex-end; padding: 12px; overflow: hidden; }
.swatch span { position: relative; background: #fff; color: var(--ink); font-family: var(--mono); font-size: 11px; padding: 4px 8px; border-radius: 4px; }
.swatch--1 { transform: rotateY(0deg) translateZ(150px); background-color: #2B3F7A; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.09) 0 2px, transparent 2px 5px), repeating-linear-gradient(-45deg, rgba(0,0,0,.18) 0 1px, transparent 1px 4px); }
.swatch--2 { transform: rotateY(90deg) translateZ(150px); background-color: #C2362B; background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0,0,0,.14) 0 1px, transparent 1px 3px); }
.swatch--3 { transform: rotateY(180deg) translateZ(150px); background-color: #F2C14E; background-image: repeating-linear-gradient(0deg, rgba(20,60,140,.55) 0 10px, transparent 10px 30px), repeating-linear-gradient(90deg, rgba(20,60,140,.45) 0 10px, transparent 10px 30px), repeating-linear-gradient(90deg, rgba(160,30,30,.35) 0 3px, transparent 3px 30px); }
.swatch--4 { transform: rotateY(270deg) translateZ(150px); background-color: #F3F2EC; background-image: repeating-linear-gradient(0deg, rgba(0,0,0,.05) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 1px, transparent 1px 3px); }
.swatch--4::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 70% at 50% 40%, #DCD2FF 0%, rgba(160,120,255,.85) 60%, rgba(120,80,255,.6) 100%); opacity: var(--fluor); mix-blend-mode: screen; transition: opacity .4s; }
.booth__shadow { position: absolute; left: -210px; top: 168px; width: 420px; height: 46px; transform: rotateX(72deg); border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.45), transparent); }
.booth__strip { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; border-radius: 6px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.35); filter: var(--filter); transition: filter .4s; }
.booth__strip i { width: 58px; height: 34px; }
.lights { display: flex; flex-wrap: wrap; gap: 8px; }
.lights button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer; font-family: var(--mono); font-weight: 600; font-size: 14px; background: #fff; color: var(--ink); border: 1px solid var(--line-2); transition: background-color .2s, color .2s; }
.lights button i { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.2); }
.lights button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.booth-note { font-size: 14px; color: var(--muted); }
.no-js .lights { display: none; }
@keyframes abxSpin { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
@media (max-width: 600px) {
  .booth { height: 420px; }
  .swatch { left: -75px; top: -100px; width: 150px; height: 200px; }
  .swatch--1 { transform: rotateY(0deg) translateZ(118px); }
  .swatch--2 { transform: rotateY(90deg) translateZ(118px); }
  .swatch--3 { transform: rotateY(180deg) translateZ(118px); }
  .swatch--4 { transform: rotateY(270deg) translateZ(118px); }
  .booth__strip i { width: 42px; height: 28px; }
}

/* ---------- Brand marquee ---------- */
.marquee { background: var(--ink); color: #fff; overflow: hidden; }
.marquee__label { padding-top: 20px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--on-dark-2); }
.marquee__viewport { overflow: hidden; padding: 12px 0 22px; }
.marquee__track { display: flex; width: max-content; animation: abxMarquee 40s linear infinite; }
.marquee__track ul { list-style: none; display: flex; gap: 56px; padding: 0 28px; font-family: var(--display); font-weight: 600; font-size: 28px; white-space: nowrap; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes abxMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Grey scale band ---------- */
.greyscale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); height: 8px; }
.greyscale span:nth-child(1) { background: #E6E6E6; }
.greyscale span:nth-child(2) { background: #BDBDBD; }
.greyscale span:nth-child(3) { background: #8F8F8F; }
.greyscale span:nth-child(4) { background: #5E5E5E; }
.greyscale span:nth-child(5) { background: #2B2B2B; }
.gs-band { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-radius: 14px; overflow: hidden; border: 1px solid #D9DEE8; }
.gs-band div { height: 88px; display: flex; align-items: flex-end; padding: 12px; font-family: var(--mono); font-size: 13px; }
.gs-note { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* ---------- Two-column blocks ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 48px; align-items: start; }
.split--center { align-items: center; }
.prose-lg { display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.quote { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.35; color: var(--ink); margin: 6px 0 0; }

/* ---------- Product ranges explorer (home) ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tabs [role="tab"] { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 12px; cursor: pointer; font-weight: 600; font-size: 15px; background: #fff; color: var(--ink); border: 1px solid var(--line-2); text-decoration: none; }
.tabs [role="tab"] .mono { font-size: 13px; opacity: .8; }
.tabs [role="tab"][aria-selected="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.no-js .tabs { display: none; }
.range { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 28px; align-items: stretch; }
.js .range[hidden] { display: none; }
.no-js .range + .range { margin-top: 56px; }
.range__media { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; display: flex; align-items: center; justify-content: center; min-height: 400px; padding: 32px; perspective: 1400px; }
.range__media img { max-height: 340px; width: auto; object-fit: contain; transition: transform .5s; }
.range__media:hover img { transform: rotateY(-8deg) rotateX(3deg) scale(1.03); }
.range__count { position: absolute; top: 18px; left: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--ink-2); background: var(--ground); padding: 6px 10px; border-radius: 999px; }
.range__body { display: flex; flex-direction: column; gap: 20px; padding: 8px 0; }
.range__title { font-size: 32px; font-weight: 700; }
.range__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 0 24px; border-top: 1px solid var(--line); }
.range__list li { border-bottom: 1px solid var(--line); }
.range__list a { display: flex; align-items: center; gap: 10px; padding: 12px 0; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; }
.range__list a::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--blue); flex: none; }
.range__list a:hover { color: var(--blue); }

/* ---------- Dark feature band (LABTEX) ---------- */
.feature { border-radius: 28px; background: var(--ink); color: #fff; overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); align-items: center; }
.feature__copy { padding: 64px 56px; display: flex; flex-direction: column; gap: 22px; }
.feature__copy p { color: var(--on-dark); font-size: 17px; line-height: 1.65; }
.models { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.models li { padding: 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; display: flex; flex-direction: column; gap: 4px; }
.models .mono { font-size: 13px; color: var(--lime); }
.models span:last-child { font-size: 15px; color: #E7EBF5; }
.feature__media { min-height: 460px; display: flex; align-items: center; justify-content: center; background: radial-gradient(60% 60% at 50% 45%, #1F3A8F 0%, rgba(11,21,51,0) 70%); }
.feature__float { width: 300px; max-width: 70%; animation: abxFloat 6s ease-in-out infinite; }
.feature__card { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 50px 80px -30px rgba(0,0,0,.7); transform: perspective(900px) rotateY(-14deg) rotateX(4deg); }
@keyframes abxFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 600px) { .feature__copy { padding: 40px 24px; } .feature__media { min-height: 340px; } }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 14px; transition: transform .35s, box-shadow .35s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .ico { color: var(--blue); }
.card p { color: var(--ink-2); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 28px; }
.ticks { list-style: none; border-top: 1px solid var(--line); }
.ticks li { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.badges { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 14px; }
.badges li { padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.badges .k { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.badges .v { font-weight: 600; font-size: 17px; }

/* ---------- Inner page heading ---------- */
.page-head { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 90% 0%, rgba(20,70,214,.55), rgba(11,21,51,0) 70%); pointer-events: none; }
.page-head .wrap { position: relative; padding-top: 48px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 16px; }
.page-head .eyebrow { color: var(--lime); }
.page-title { font-size: clamp(34px, 5vw, 58px); font-weight: 700; max-width: 900px; }
.page-intro { font-size: 18px; color: var(--on-dark); max-width: 720px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--on-dark-2); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: var(--on-dark); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; }

/* ---------- Product list ---------- */
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 32px; }
.cat-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.cat-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; }
.cat-nav a:hover { border-color: var(--ink); }
.cat-nav a[aria-current="page"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.cat-nav .mono { font-size: 12px; opacity: .75; }
.search--page input { width: 240px; }
.result-note { margin-bottom: 24px; color: var(--ink-2); }
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 22px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard__img { display: block; background: #fff; border-bottom: 1px solid var(--line); }
.pcard__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 14px; }
.pcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pcard__title { font-family: var(--font); font-size: 17px; font-weight: 600; letter-spacing: 0; line-height: 1.35; flex: 1; }
.pcard__title a { color: var(--ink); text-decoration: none; }
.pcard__title a:hover { color: var(--blue); }
.pcard__actions { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; }
.empty { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 56px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty .btn-row { justify-content: center; }

/* ---------- Product detail ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
@media (max-width: 960px) { .detail { grid-template-columns: minmax(0, 1fr); } }
.detail__photo { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; justify-content: center; margin-bottom: 32px; }
.detail__photo img { max-height: 520px; width: auto; object-fit: contain; }
.prose { font-size: 17px; line-height: 1.7; color: var(--ink-2); overflow-wrap: break-word; }
.prose > * + * { margin-top: 1em; }
.prose * { font-family: inherit !important; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); font-size: 22px; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: .35em; }
.prose img { height: auto; border-radius: 10px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose blockquote { margin: 0; padding: 18px 22px; background: var(--blue-soft); border-radius: 12px; color: var(--ink); }
.prose blockquote * { color: inherit !important; }
.aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 100px; }
@media (max-width: 960px) { .aside { position: static; } }
.aside__box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.aside__box--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.aside__box--dark a { color: #fff; }
.aside__box--dark p { color: var(--on-dark); }
.aside__h { font-family: var(--display); font-size: 20px; font-weight: 700; }
.aside__list { list-style: none; }
.aside__list a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.aside__list a:hover, .aside__list a[aria-current="page"] { color: var(--blue); }
.contact-lines { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.contact-lines li { display: flex; gap: 10px; align-items: flex-start; }
.contact-lines .ico { margin-top: 3px; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; font-size: 14px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { min-height: 48px; padding: 10px 14px; border-radius: 10px; border: 1px solid #C3CBDB; background: #fff; font-size: 16px; width: 100%; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(20,70,214,.2); outline-offset: 0; }
.alert { padding: 14px 16px; border-radius: 12px; font-weight: 500; }
.alert--ok { background: #E7F6EC; color: #11512B; border: 1px solid #B7E2C4; }
.alert--err { background: #FDECEC; color: #8A1C1C; border: 1px solid #F3C2C2; }
.form .hp { position: absolute; left: -9999px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.contact-grid__info { background: var(--blue); color: #fff; padding: 48px; display: flex; flex-direction: column; gap: 24px; }
.contact-grid__info a { color: #fff; }
.contact-grid__info dl { margin: 0; display: grid; gap: 18px; }
.contact-grid__info dt { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: #D3DDFF; }
.contact-grid__info dd { margin: 4px 0 0; font-size: 17px; }
.contact-grid__form { padding: 48px; }
@media (max-width: 600px) { .contact-grid__info, .contact-grid__form { padding: 32px 22px; } }
.map { display: block; width: 100%; height: 420px; border: 0; border-radius: 20px; background: #E9EDF4; }
@media (max-width: 600px) { .map { height: 300px; } }

/* ---------- Gallery (certificates, events, customers, brands) ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 22px; }
.gcard { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.gcard a { color: inherit; text-decoration: none; }
.gcard__img { background: #fff; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 16px; border-bottom: 1px solid var(--line); }
.gcard__img img { max-height: 100%; width: auto; object-fit: contain; }
.gcard__body { padding: 16px 18px 18px; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.gcard__title { font-family: var(--font); font-size: 16px; font-weight: 600; letter-spacing: 0; line-height: 1.35; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue); color: #fff; }
.cta-band__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.cta-band__title { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; margin-bottom: 8px; }
.cta-band p { color: #E4EAFF; font-size: 17px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.site-footer__logo { align-self: flex-start; background: #fff; border-radius: 12px; padding: 10px 14px; }
.site-footer__logo img { height: 44px; width: auto; }
.site-footer__h { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 12px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: #E7EBF5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.75; }
.site-footer__hours { margin-top: 10px; color: var(--on-dark-2); }
.social { flex-direction: row !important; flex-wrap: wrap; gap: 8px 16px !important; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: var(--on-dark-2); }
.wa-btn { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px 0 14px; border-radius: 999px; background: #0E7A3E; color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 12px 30px -10px rgba(0,0,0,.45); }
.wa-btn:hover { background: #0B6233; color: #fff; }
@media (max-width: 600px) { .wa-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .wa-btn { padding: 0 13px; } }

/* ---------- Motion and print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .booth__spin, .marquee__track, .feature__float { animation: none; }
  .card:hover, .pcard:hover, .btn:hover { transform: none; }
  .range__media:hover img { transform: none; }
}
@media print {
  .site-header, .site-footer, .wa-btn, .cta-band, .booth-wrap, .marquee { display: none !important; }
  body { background: #fff; }
  .page-head { background: none; color: #000; }
}
