/* ============================================================================
   Dongli Fitness — global stylesheet
   Design language: industrial premium. Ink surfaces, steel neutrals, one red.
   Type: Inter. Layout: 12-column fluid grid, 1280px container.
   ========================================================================= */

/* --------------------------------------------------------------- 1. tokens */
:root {
  --ink:        #0c0e12;
  --ink-2:      #14181f;
  --ink-3:      #1d222b;
  --ink-4:      #272d38;
  --steel:      #3a424f;
  --gray-700:   #5a6272;
  --gray-600:   #6b7383;
  --gray-500:   #838c9c;
  --gray-400:   #a3abb8;
  --gray-300:   #c9ced6;
  --gray-200:   #e3e6eb;
  --gray-150:   #eceff3;
  --gray-100:   #f4f6f8;
  --gray-50:    #f9fafb;
  --white:      #ffffff;

  --red:        #e11d2a;
  --red-600:    #c4151f;
  --red-700:    #9d0f17;
  --red-soft:   rgba(225, 29, 42, 0.08);

  --ok:         #1f9d55;
  --warn:       #d98a00;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --container: 1280px;
  --radius: 2px;
  --radius-lg: 4px;

  --shadow-sm: 0 1px 2px rgba(12, 14, 18, .06), 0 1px 1px rgba(12, 14, 18, .04);
  --shadow-md: 0 8px 24px -6px rgba(12, 14, 18, .12), 0 2px 6px rgba(12, 14, 18, .05);
  --shadow-lg: 0 28px 60px -20px rgba(12, 14, 18, .28), 0 6px 18px rgba(12, 14, 18, .08);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;

  --section-y: clamp(56px, 7vw, 116px);
  --gutter: clamp(20px, 4vw, 32px);
}

/* ---------------------------------------------------------------- 2. reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

::selection { background: var(--red); color: #fff; }

/* --------------------------------------------------------------- 3. layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 900px; }
.container--wide { max-width: 1520px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--dark { background: var(--ink); color: #fff; }
.section--ink2 { background: var(--ink-2); color: #fff; }
.section--soft { background: var(--gray-50); }
.section--line { border-top: 1px solid var(--gray-200); }

.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
.split--wide-right { grid-template-columns: .85fr 1.15fr; }

/* ------------------------------------------------------------ 4. typography */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
  flex: none;
}
.eyebrow--plain::before { display: none; }
.section--dark .eyebrow { color: #ff5a63; }
.section--dark .eyebrow::before { background: #ff5a63; }

h1, .h1 {
  font-size: clamp(2.15rem, 4.6vw, 4rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -.035em;
}
h2, .h2 {
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.03em;
}
h3, .h3 {
  font-size: clamp(1.12rem, 1.5vw, 1.4rem);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.018em;
}
h4, .h4 { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }

.lead {
  font-size: clamp(1.02rem, 1.25vw, 1.19rem);
  line-height: 1.7;
  color: var(--gray-700);
}
.section--dark .lead { color: rgba(255, 255, 255, .68); }

.sub {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.7;
}
.section--dark .sub { color: rgba(255, 255, 255, .6); }

.muted { color: var(--gray-600); }
.section--dark .muted { color: rgba(255, 255, 255, .55); }
.accent { color: var(--red); }
.mono { font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head .h2 { margin-top: 18px; }
.section-head .lead { margin-top: 18px; }
.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
}

/* ---------------------------------------------------------------- 5. buttons */
.btn {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  --btn-bd: var(--red);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
}
.btn:hover { background: var(--red-600); border-color: var(--red-600); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--gray-300); }
.btn--ghost:hover { background: var(--ink); --btn-fg: #fff; border-color: var(--ink); }

.btn--light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .32); }
.btn--light:hover { background: #fff; --btn-fg: var(--ink); border-color: #fff; }

.btn--white { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--white:hover { background: var(--gray-100); border-color: var(--gray-100); }

.btn--sm { height: 42px; padding: 0 20px; font-size: .78rem; }
.btn--lg { height: 58px; padding: 0 36px; font-size: .9rem; }
.btn--block { width: 100%; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}
.arrow-link svg { transition: transform .25s var(--ease); }
.arrow-link:hover svg { transform: translateX(5px); }
.section--dark .arrow-link { color: #fff; }
.arrow-link--red { color: var(--red); }

.text-link {
  color: var(--red);
  border-bottom: 1px solid rgba(225, 29, 42, .3);
  transition: border-color .2s;
}
.text-link:hover { border-color: var(--red); }

/* ----------------------------------------------------------------- 6. header */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
  font-size: .78rem;
  letter-spacing: .01em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 40px;
}
.topbar__list { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar a:hover { color: #fff; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item svg { opacity: .6; flex: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 6px 24px -12px rgba(12, 14, 18, .28); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: var(--header-h);
  transition: height .25s var(--ease);
}
.site-header.is-stuck .header__inner { height: 66px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 44px; height: 34px; flex: none; display: flex; align-items: center; justify-content: center; }
.brand__mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: 1.06rem; font-weight: 800; letter-spacing: -.02em; }
.brand__name span { color: var(--red); }
.brand__sub { font-size: .58rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; color: var(--gray-500); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; flex: none; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
  border-radius: var(--radius);
  transition: color .18s;
  white-space: nowrap;   /* long labels must wrap the page, never the button */
}

/* Squeeze gracefully before falling back to the burger menu. */
@media (max-width: 1400px) {
  .nav { gap: 0; }
  .nav__link { padding: 10px 9px; font-size: .76rem; letter-spacing: .03em; }
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav__item:hover > .nav__link::after,
.nav__item.is-active > .nav__link::after { transform: scaleX(1); }
.nav__link svg { transition: transform .25s var(--ease); }
.nav__item:hover > .nav__link svg { transform: rotate(180deg); }

.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }

.icon-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--ink);
  transition: background .2s, border-color .2s, color .2s;
}
.icon-btn:hover { background: var(--gray-100); border-color: var(--gray-300); }

.burger { display: none; }

/* language switcher -------------------------------------------------------- */
.lang { position: relative; }
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.lang__btn:hover { background: var(--gray-100); border-color: var(--gray-300); }
.lang__btn > svg:first-child { opacity: .55; }
.lang__btn > svg:last-child { opacity: .45; transition: transform .25s var(--ease); }
.lang.is-open .lang__btn > svg:last-child { transform: rotate(180deg); }
.lang__now { white-space: nowrap; }

.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 208px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-top: 2px solid var(--red);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 30;
}
.lang:hover .lang__menu,
.lang.is-open .lang__menu,
.lang:focus-within .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__head {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 8px 10px 7px;
}
.lang__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius);
  font-size: .86rem;
  color: var(--gray-700);
  transition: background .15s, color .15s;
}
.lang__opt:hover { background: var(--gray-100); color: var(--ink); }
.lang__opt.is-current { color: var(--red); font-weight: 600; }
.lang__code {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gray-400);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 2px 5px;
  flex: none;
}
.lang__opt.is-current .lang__code { color: var(--red); border-color: currentColor; }
.lang__name { flex: 1; }
.lang__check { flex: none; display: inline-flex; }

.lang-inline { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.lang-inline__opt {
  min-width: 46px;
  padding: 8px 10px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  text-align: center;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gray-600);
  transition: background .18s, color .18s, border-color .18s;
}
.lang-inline__opt:hover { background: var(--gray-100); color: var(--ink); }
.lang-inline__opt.is-current { background: var(--red); border-color: var(--red); color: #fff; }

/* right-to-left (Arabic) --------------------------------------------------- */
[dir="rtl"] .header__inner { flex-direction: row-reverse; }
[dir="rtl"] .nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .nav__link::after { transform-origin: right; }
[dir="rtl"] .lang__menu { right: auto; left: 0; }
[dir="rtl"] .mega__link:hover { padding-left: 0; padding-right: 5px; }
[dir="rtl"] .dropdown__link { text-align: right; }
[dir="rtl"] .mega__link,
[dir="rtl"] .dropdown__link { text-align: right; }
[dir="rtl"] .topbar__list { flex-direction: row-reverse; }


/* mega menu */
/* The panel is wider than the nav item that opens it, so it must not be
   positioned against that item (it would sit hard against the left edge).
   Dropping the host to `static` promotes the sticky header to containing
   block, which lets the panel centre on the page grid instead. */
.nav__item--mega { position: static; }
.mega {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  transform: translate(-50%, 10px);
  width: min(1100px, calc(100% - 48px));
  background: #fff;
  border: 1px solid var(--gray-200);
  border-top: 2px solid var(--red);
  box-shadow: var(--shadow-lg);
  padding: 34px 36px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s;
  z-index: 10;
}
.nav__item:hover .mega,
.nav__item:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; }
.mega__group-title {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gray-500);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}
.mega__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  font-size: .88rem;
  color: var(--gray-700);
  transition: color .16s, padding-left .2s var(--ease);
}
.mega__link:hover { color: var(--red); padding-left: 5px; }
.mega__count { font-size: .7rem; color: var(--gray-400); font-family: var(--mono); }
.mega__foot {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.dropdown {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-top: 2px solid var(--red);
  box-shadow: var(--shadow-lg);
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav__item:hover .dropdown,
.nav__item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown__link {
  display: block;
  padding: 10px 12px;
  font-size: .88rem;
  color: var(--gray-700);
  border-radius: var(--radius);
  transition: background .16s, color .16s;
}
.dropdown__link:hover { background: var(--gray-50); color: var(--red); }
.dropdown__desc { display: block; font-size: .74rem; color: var(--gray-400); margin-top: 2px; }

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: #fff;
  transform: translateX(100%);
  transition: transform .34s var(--ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer.is-open { transform: translateX(0); }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}
.drawer__body { padding: 8px var(--gutter) 32px; }
.drawer__group { border-bottom: 1px solid var(--gray-150); }
.drawer__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 0;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -.01em;
  text-align: left;
}
.drawer__toggle svg { transition: transform .28s var(--ease); color: var(--gray-400); }
.drawer__group.is-open .drawer__toggle svg { transform: rotate(45deg); color: var(--red); }
.drawer__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.drawer__group.is-open .drawer__panel { grid-template-rows: 1fr; }
.drawer__panel > div { overflow: hidden; }
.drawer__panel a { display: block; padding: 10px 0 10px 14px; font-size: .9rem; color: var(--gray-700); border-left: 2px solid var(--gray-200); }
.drawer__panel a:hover { color: var(--red); border-color: var(--red); }
.drawer__grouplabel { display: block; margin: 12px 0 2px; padding-left: 14px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-400); }
.drawer__grouplabel:first-child { margin-top: 0; }
.drawer__foot { padding: 24px var(--gutter) 40px; display: grid; gap: 12px; }
.drawer__contact { font-size: .85rem; color: var(--gray-600); display: grid; gap: 8px; }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 14, 18, .55);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
  z-index: 300;
}
.overlay.is-open { opacity: 1; visibility: visible; }

/* ------------------------------------------------------------------- 7. hero */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(9, 11, 15, .96) 0%, rgba(9, 11, 15, .88) 38%, rgba(9, 11, 15, .45) 72%, rgba(9, 11, 15, .25) 100%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 25% 100%;
  pointer-events: none;
}
.hero__inner {
  padding-block: clamp(72px, 10vw, 148px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__content { max-width: 640px; }
.hero h1 { margin-top: 22px; }
.hero h1 em { font-style: normal; display: block; color: rgba(255, 255, 255, .42); font-weight: 800; }
.hero__lead { margin-top: 24px; max-width: 560px; font-size: clamp(1rem, 1.15vw, 1.12rem); color: rgba(255, 255, 255, .72); line-height: 1.72; }
.hero__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
}
.hero__fact { display: flex; align-items: center; gap: 9px; font-size: .8rem; letter-spacing: .04em; color: rgba(255, 255, 255, .66); }
.hero__fact svg { color: var(--red); flex: none; }

.hero__aside { display: grid; gap: 14px; }
.hero-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  padding: 24px 26px;
  backdrop-filter: blur(8px);
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.hero-card:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); transform: translateY(-3px); }
.hero-card__k { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #ff5a63; }
.hero-card__v { margin-top: 9px; font-size: .95rem; line-height: 1.6; color: rgba(255, 255, 255, .82); }

/* -------------------------------------------------------------- 8. trust bar */
.trustbar { background: var(--ink-2); color: rgba(255, 255, 255, .55); border-top: 1px solid rgba(255, 255, 255, .07); }
.trustbar__inner { display: flex; align-items: center; gap: 18px; padding-block: 16px; overflow: hidden; }
.trustbar__label { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .4); flex: none; }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 46px; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-size: .82rem; letter-spacing: .04em; white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.marquee__item::before { content: ""; width: 5px; height: 5px; background: var(--red); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------- 9. page hero */
.page-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(9, 11, 15, .94), rgba(9, 11, 15, .74) 55%, rgba(9, 11, 15, .52));
}
.page-hero__inner { padding-block: clamp(48px, 6vw, 92px); max-width: 820px; }
.page-hero h1 { margin-top: 18px; }
.page-hero .lead { margin-top: 20px; max-width: 660px; }
.page-hero__meta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: .8rem; color: rgba(255, 255, 255, .62); }

.crumbs { font-size: .76rem; letter-spacing: .04em; color: rgba(255, 255, 255, .5); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, .28); }
.crumbs a:hover { color: #fff; }
.crumbs--light, .crumbs--light li + li::before { color: var(--gray-500); }
.crumbs--light a:hover { color: var(--red); }
.breadcrumb-strip { background: var(--gray-50); border-bottom: 1px solid var(--gray-200); padding-block: 13px; }

/* ------------------------------------------------------------------ 10. cards */
.card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s var(--ease), transform .25s var(--ease);
}
.card--hover:hover { border-color: var(--gray-300); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card__body { padding: clamp(22px, 2.2vw, 30px); }

.value-card { padding: clamp(24px, 2.4vw, 32px); background: #fff; border: 1px solid var(--gray-200); position: relative; overflow: hidden; }
.value-card::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s var(--ease);
}
.value-card:hover::after { transform: scaleY(1); }
.value-card__num { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; color: var(--gray-400); }
.value-card h3 { margin-top: 16px; }
.value-card p { margin-top: 12px; font-size: .92rem; color: var(--gray-600); line-height: 1.7; }
.value-card__icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); margin-bottom: 20px; }

/* product card */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 1.8vw, 26px); }
.product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--gray-200);
  transition: border-color .25s, box-shadow .28s var(--ease), transform .28s var(--ease);
}
.product-card:hover { border-color: var(--gray-300); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, var(--gray-100), var(--gray-150));
  overflow: hidden;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.045); }
.product-card__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; z-index: 2; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
}
.badge--red { background: var(--red); }
.badge--light { background: #fff; color: var(--ink); border: 1px solid var(--gray-200); }
.product-card__quote {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px;
  background: rgba(12, 14, 18, .92);
  color: #fff;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  transform: translateY(100%);
  transition: transform .3s var(--ease);
  z-index: 3;
}
.product-card:hover .product-card__quote { transform: translateY(0); }
.product-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product-card__cat { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-400); }
.product-card__title { margin-top: 9px; font-size: 1rem; font-weight: 700; line-height: 1.35; letter-spacing: -.012em; }
.product-card__title a:hover { color: var(--red); }
.product-card__specs { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--gray-150); display: grid; gap: 7px; }
.product-card__spec { display: flex; justify-content: space-between; gap: 12px; font-size: .78rem; }
.product-card__spec dt { color: var(--gray-500); }
.product-card__spec dd { color: var(--ink); font-weight: 500; text-align: right; }
.product-card__foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* ------------------------------------------------------------- 11. stats band */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid rgba(255, 255, 255, .12); }
.stat { padding: clamp(26px, 3vw, 42px) clamp(20px, 2.4vw, 34px); border-right: 1px solid rgba(255, 255, 255, .12); }
.stat:last-child { border-right: 0; }
.stat__value { font-size: clamp(2.1rem, 3.6vw, 3.2rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.stat__value span { color: var(--red); font-size: .58em; margin-left: 3px; letter-spacing: -.02em; }
.stat__label { margin-top: 14px; font-size: .86rem; font-weight: 600; color: rgba(255, 255, 255, .9); }
.stat__note { margin-top: 5px; font-size: .74rem; color: rgba(255, 255, 255, .42); letter-spacing: .03em; }

.stats--light { border-color: var(--gray-200); }
.stats--light .stat { border-right-color: var(--gray-200); }
.stats--light .stat__label { color: var(--ink); }
.stats--light .stat__note { color: var(--gray-500); }

/* --------------------------------------------------------------- 12. category */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); }
.cat-tile {
  position: relative;
  background: #fff;
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  min-height: 190px;
  transition: background .25s;
}
.cat-tile:hover { background: var(--ink); color: #fff; }
.cat-tile__icon { width: 38px; height: 38px; color: var(--red); margin-bottom: auto; }
.cat-tile__name { margin-top: 26px; font-size: .98rem; font-weight: 700; letter-spacing: -.012em; }
.cat-tile__meta { margin-top: 7px; font-size: .74rem; color: var(--gray-500); display: flex; align-items: center; gap: 7px; }
.cat-tile:hover .cat-tile__meta { color: rgba(255, 255, 255, .55); }
.cat-tile__arrow { position: absolute; top: 24px; right: 22px; color: var(--gray-300); transition: transform .28s var(--ease), color .25s; }
.cat-tile:hover .cat-tile__arrow { transform: translate(4px, -4px); color: var(--red); }

/* ---------------------------------------------------------------- 13. steps */
.steps { counter-reset: step; display: grid; gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); }
.step { background: #fff; padding: 26px 28px; display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; transition: background .25s; }
.step:hover { background: var(--gray-50); }
.step__num { font-family: var(--mono); font-size: 1.05rem; font-weight: 600; color: var(--red); letter-spacing: .02em; }
.step h3 { font-size: 1rem; }
.step p { margin-top: 8px; font-size: .88rem; color: var(--gray-600); line-height: 1.68; }

.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 26px); }
.process-card { background: #fff; border: 1px solid var(--gray-200); overflow: hidden; transition: box-shadow .28s var(--ease), transform .28s var(--ease); }
.process-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.process-card__media { aspect-ratio: 16 / 10; background: var(--gray-100); overflow: hidden; position: relative; }
.process-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.process-card:hover .process-card__media img { transform: scale(1.05); }
.process-card__num {
  position: absolute;
  top: 0; left: 0;
  padding: 7px 13px;
  background: var(--red);
  color: #fff;
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .08em;
}
.process-card__body { padding: 22px 24px 26px; }
.process-card__body p { margin-top: 10px; font-size: .87rem; color: var(--gray-600); line-height: 1.68; }

/* -------------------------------------------------------------- 14. accordion */
.accordion { border-top: 1px solid var(--gray-200); }
.acc-item { border-bottom: 1px solid var(--gray-200); }
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  text-align: left;
  font-size: clamp(.98rem, 1.15vw, 1.1rem);
  font-weight: 600;
  letter-spacing: -.012em;
  transition: color .2s;
}
.acc-trigger:hover { color: var(--red); }
.acc-trigger__icon {
  flex: none;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border: 1px solid var(--gray-300);
  color: var(--gray-600);
  transition: transform .3s var(--ease), background .25s, color .25s, border-color .25s;
}
.acc-item.is-open .acc-trigger__icon { transform: rotate(45deg); background: var(--red); border-color: var(--red); color: #fff; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ease); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding-bottom: 26px; max-width: 760px; color: var(--gray-600); line-height: 1.75; font-size: .94rem; }
.section--dark .accordion, .section--dark .acc-item { border-color: rgba(255, 255, 255, .14); }
.section--dark .acc-panel p, .section--dark .acc-trigger__icon { color: rgba(255, 255, 255, .6); }
.section--dark .acc-trigger__icon { border-color: rgba(255, 255, 255, .25); }

/* ----------------------------------------------------------------- 15. forms */
.form-grid { display: grid; gap: 18px; }
.form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-700); }
.field label .req { color: var(--red); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: .92rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%235a6272' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(12, 14, 18, .07); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field__error { font-size: .76rem; color: var(--red); display: none; }
.field.has-error .field__error { display: block; }
.field__hint { font-size: .75rem; color: var(--gray-500); }

.field--dark input, .field--dark select, .field--dark textarea { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .18); color: #fff; }
.field--dark label { color: rgba(255, 255, 255, .7); }
.field--dark input::placeholder, .field--dark textarea::placeholder { color: rgba(255, 255, 255, .38); }
.field--dark select option { color: #12151a; }

.checkline { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--gray-600); line-height: 1.6; }
.checkline input { margin-top: 3px; accent-color: var(--red); flex: none; }

.file-drop {
  border: 1px dashed var(--gray-300);
  padding: 18px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  background: var(--gray-50);
}
.file-drop:hover, .file-drop.is-drag { border-color: var(--red); background: var(--red-soft); }
.file-drop input { display: none; }
.file-drop__text { font-size: .84rem; color: var(--gray-600); }
.file-drop__text strong { color: var(--red); font-weight: 600; }
.file-drop__list { margin-top: 12px; display: grid; gap: 6px; text-align: left; }
.file-drop__item { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .78rem; padding: 8px 11px; background: #fff; border: 1px solid var(--gray-200); }
.file-drop__item button { color: var(--gray-400); }
.file-drop__item button:hover { color: var(--red); }

.form-note { font-size: .76rem; color: var(--gray-500); line-height: 1.6; }
.form-status { padding: 14px 16px; font-size: .88rem; border-left: 3px solid; display: none; }
.form-status.is-visible { display: block; }
.form-status--ok { background: rgba(31, 157, 85, .08); border-color: var(--ok); color: #14713d; }
.form-status--err { background: var(--red-soft); border-color: var(--red); color: var(--red-700); }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- 16. quote card */
.quote-card { background: #fff; border: 1px solid var(--gray-200); box-shadow: var(--shadow-md); }
.quote-card__head { padding: 24px 28px; border-bottom: 1px solid var(--gray-200); background: var(--ink); color: #fff; }
.quote-card__head .h3 { color: #fff; }
.quote-card__head p { margin-top: 7px; font-size: .84rem; color: rgba(255, 255, 255, .62); }
.quote-card__body { padding: 26px 28px 28px; }
.quote-sticky { position: sticky; top: calc(var(--header-h) + 20px); }

/* -------------------------------------------------------- 17. product detail */
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(30px, 4vw, 64px); align-items: start; }
.gallery { display: grid; gap: 12px; }
.gallery__main { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(160deg, var(--gray-100), var(--gray-150)); border: 1px solid var(--gray-200); overflow: hidden; cursor: zoom-in; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.gallery__thumb { aspect-ratio: 1; background: var(--gray-100); border: 1px solid var(--gray-200); overflow: hidden; cursor: pointer; transition: border-color .2s, opacity .2s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { border-color: var(--gray-400); }
.gallery__thumb.is-active { border-color: var(--red); }
.gallery__badge { position: absolute; top: 14px; left: 14px; }

.pdp__head { }
.pdp__cat { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.pdp__title { margin-top: 12px; font-size: clamp(1.6rem, 2.5vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; }
.pdp__model { margin-top: 12px; display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: .8rem; color: var(--gray-600); background: var(--gray-100); padding: 6px 12px; }
.pdp__summary { margin-top: 20px; color: var(--gray-700); line-height: 1.75; }
.pdp__highlights { margin-top: 24px; display: grid; gap: 10px; }
.pdp__highlight { display: flex; gap: 11px; align-items: flex-start; font-size: .9rem; color: var(--gray-700); }
.pdp__highlight svg { color: var(--red); flex: none; margin-top: 3px; }

.spec-table { width: 100%; border: 1px solid var(--gray-200); }
.spec-table tr { border-bottom: 1px solid var(--gray-200); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table tr:nth-child(odd) { background: var(--gray-50); }
.spec-table th { text-align: left; padding: 13px 18px; font-size: .82rem; font-weight: 600; color: var(--gray-700); width: 42%; vertical-align: top; }
.spec-table td { padding: 13px 18px; font-size: .86rem; }

.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--gray-200); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 15px 22px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-500);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); border-bottom-color: var(--red); }
.tab-panel { display: none; padding-top: 30px; }
.tab-panel.is-active { display: block; animation: fadeUp .35s var(--ease); }
.prose { max-width: 780px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin-top: 40px; }
.prose h3 { font-size: 1.12rem; margin-top: 30px; }
.prose p, .prose li { color: var(--gray-700); line-height: 1.78; }
.prose ul, .prose ol { display: grid; gap: 10px; padding-left: 0; }
.prose ul li { position: relative; padding-left: 24px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; background: var(--red); }
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 34px; counter-increment: n; }
.prose ol li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 2px; font-family: var(--mono); font-size: .78rem; color: var(--red); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose blockquote { border-left: 3px solid var(--red); padding: 4px 0 4px 22px; font-size: 1.05rem; color: var(--ink); }
.prose table { border: 1px solid var(--gray-200); font-size: .88rem; }
.prose th, .prose td { padding: 12px 16px; border-bottom: 1px solid var(--gray-200); text-align: left; }
.prose th { background: var(--gray-50); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.prose figure { margin: 32px 0; }
.prose figure img { border: 1px solid var(--gray-200); }
.prose figcaption { margin-top: 12px; font-size: .8rem; color: var(--gray-500); }
.callout { padding: 22px 24px; background: var(--gray-50); border-left: 3px solid var(--red); }
.callout p { color: var(--ink); }

.spec-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); }
.spec-summary__item { background: #fff; padding: 20px 22px; }
.spec-summary__k { font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--gray-500); }
.spec-summary__v { margin-top: 8px; font-size: .95rem; font-weight: 600; }

/* ------------------------------------------------------------ 18. filter bar */
.filterbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--gray-200); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 15px;
  border: 1px solid var(--gray-200);
  font-size: .78rem;
  font-weight: 500;
  color: var(--gray-700);
  background: #fff;
  transition: all .2s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip__n { color: var(--gray-400); margin-left: 6px; font-size: .72rem; }
.chip.is-active .chip__n { color: rgba(255, 255, 255, .5); }

/* ----------------------------------------------------------- partner links page */
.flink-list { display: grid; gap: 12px; }
.flink-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--gray-200);
  transition: border-color .18s, box-shadow .18s var(--ease);
}
.flink-card:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.flink-card__logo {
  width: 48px; height: 48px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  overflow: hidden;
}
.flink-card__logo img { width: 100%; height: 100%; object-fit: contain; }
.flink-card__logo--text { font-weight: 800; font-size: 1.2rem; color: var(--gray-400); }
.flink-card__body { display: grid; gap: 3px; min-width: 0; }
.flink-card__name { font-weight: 650; color: var(--ink); }
.flink-card__desc { font-size: .84rem; color: var(--gray-600); line-height: 1.5; }
.flink-card__url { font-size: .74rem; color: var(--gray-400); word-break: break-all; }
.flink-card__go { margin-left: auto; color: var(--gray-400); flex: none; }
.flink-card:hover .flink-card__go { color: var(--red); }

.search-inline { position: relative; margin-left: auto; min-width: 260px; }
.search-inline input { width: 100%; padding: 11px 42px 11px 15px; border: 1px solid var(--gray-300); border-radius: var(--radius); font-size: .86rem; }
.search-inline input:focus { outline: none; border-color: var(--ink); }
.search-inline button { position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; display: grid; place-items: center; color: var(--gray-500); }
.search-inline button:hover { color: var(--red); }

.empty-state { padding: 72px 24px; text-align: center; border: 1px dashed var(--gray-300); background: var(--gray-50); }
.empty-state h3 { margin-bottom: 10px; }
.empty-state p { color: var(--gray-600); max-width: 460px; margin: 0 auto 24px; }

/* -------------------------------------------------------------- 19. pagination */
.pager { display: flex; justify-content: center; gap: 6px; margin-top: clamp(32px, 4vw, 52px); }
.pager a, .pager span {
  min-width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--gray-200);
  font-size: .84rem;
  transition: all .2s;
}
.pager a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.pager .is-current { background: var(--red); border-color: var(--red); color: #fff; font-weight: 600; }
.pager .is-disabled { opacity: .4; pointer-events: none; }
.pager .pager__ell { border: none; min-width: 24px; color: var(--gray-400); }

/* ------------------------------------------------------- article table of contents */
.article-toc {
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  padding: 20px 24px;
  margin-bottom: 40px;
}
.article-toc__title {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.article-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.article-toc a { color: var(--gray-700); font-size: .92rem; text-decoration: none; }
.article-toc a:hover { color: var(--red); text-decoration: underline; }
.article-toc li { line-height: 1.45; }
.prose h2 { scroll-margin-top: 24px; }

/* ------------------------------------------------------------- 20. editorial */
.editorial { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.editorial__media { position: relative; }
.editorial__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.editorial__stat {
  position: absolute;
  right: -18px; bottom: -18px;
  background: var(--ink);
  color: #fff;
  padding: 22px 26px;
  min-width: 190px;
}
.editorial__stat strong { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.04em; }
.editorial__stat span { display: block; margin-top: 5px; font-size: .74rem; color: rgba(255, 255, 255, .55); letter-spacing: .04em; }
.section--soft .editorial__stat { background: var(--ink); }

.checklist { display: grid; gap: 14px; margin-top: 26px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--gray-700); line-height: 1.65; }
.checklist svg { flex: none; color: var(--red); margin-top: 4px; }
.section--dark .checklist li { color: rgba(255, 255, 255, .72); }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 6px 12px; border: 1px solid var(--gray-200); font-size: .74rem; color: var(--gray-700); letter-spacing: .03em; }
.tag--dark { border-color: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .65); }

/* --------------------------------------------------------------- 21. article */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--gray-200); transition: box-shadow .28s var(--ease), transform .28s var(--ease), border-color .25s; }
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--gray-300); }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray-100); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.045); }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: 12px; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-500); }
.post-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-card__cat { color: var(--red); font-weight: 600; }
.post-card h3 { margin-top: 14px; font-size: 1.06rem; line-height: 1.4; }
.post-card h3 a:hover { color: var(--red); }
.post-card p { margin-top: 12px; font-size: .88rem; color: var(--gray-600); line-height: 1.68; }
.post-card__more { margin-top: auto; padding-top: 18px; }

.article { max-width: 820px; margin-inline: auto; }
.article__head { margin-bottom: 36px; }
.article__cover { margin-bottom: 40px; border: 1px solid var(--gray-200); aspect-ratio: 16/9; overflow: hidden; }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article__meta { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; font-size: .78rem; color: var(--gray-500); margin-top: 20px; }
.article__toc { border: 1px solid var(--gray-200); padding: 22px 26px; margin-bottom: 40px; background: var(--gray-50); }
.article__toc h4 { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 14px; }
.article__toc ol { display: grid; gap: 9px; counter-reset: n; }
.article__toc li { counter-increment: n; padding-left: 30px; position: relative; font-size: .88rem; }
.article__toc li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; font-family: var(--mono); font-size: .74rem; color: var(--red); top: 3px; }
.article__toc a:hover { color: var(--red); }
.share-row { display: flex; align-items: center; gap: 10px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--gray-200); flex-wrap: wrap; }
.share-row__label { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-500); margin-right: 4px; }
.share-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  transition: all .2s;
}
.share-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.share-btn--red:hover { background: var(--red); border-color: var(--red); }

.author-box { display: flex; gap: 20px; align-items: flex-start; padding: 26px; background: var(--gray-50); border: 1px solid var(--gray-200); margin-top: 40px; }
.author-box__avatar { width: 54px; height: 54px; flex: none; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; }

/* ---------------------------------------------------------------- 22. cta band */
.cta-band { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(9, 11, 15, .95), rgba(9, 11, 15, .78)); }
.cta-band__inner { padding-block: clamp(56px, 6vw, 96px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 40px; align-items: center; }
.cta-band h2 { margin-top: 18px; }
.cta-band p { margin-top: 18px; max-width: 620px; color: rgba(255, 255, 255, .68); }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; }

/* --------------------------------------------------------------- 23. projects */
.project-card { position: relative; overflow: hidden; display: block; background: var(--ink); }
.project-card__media { aspect-ratio: 4 / 3; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .4s; }
.project-card:hover .project-card__media img { transform: scale(1.05); opacity: .72; }
.project-card__body { position: absolute; inset: auto 0 0 0; padding: 26px 26px 24px; background: linear-gradient(to top, rgba(9, 11, 15, .96), rgba(9, 11, 15, .7) 55%, transparent); color: #fff; }
.project-card__country { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #ff5a63; }
.project-card__body h3 { margin-top: 10px; font-size: 1.1rem; }
.project-card__body p { margin-top: 8px; font-size: .82rem; color: rgba(255, 255, 255, .66); }
.project-card__stat { position: absolute; top: 18px; right: 18px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(6px); padding: 7px 12px; font-size: .72rem; letter-spacing: .06em; }

/* ------------------------------------------------------------- 24. comparison */
.compare { position: relative; overflow: hidden; border: 1px solid var(--gray-200); }
.compare img { width: 100%; display: block; }
.compare__after { position: absolute; inset: 0; }
.compare__after img { width: 100%; height: 100%; object-fit: cover; }
.compare__clip { position: absolute; inset: 0; overflow: hidden; }
.compare__handle { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; transform: translateX(-1px); }
.compare__grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; background: #fff; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-md); color: var(--ink); }
.compare__label { position: absolute; bottom: 14px; padding: 5px 11px; background: rgba(9, 11, 15, .82); color: #fff; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }

/* --------------------------------------------------------------- 25. video */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 26px); }
.video-card { background: #fff; border: 1px solid var(--gray-200); overflow: hidden; }
.video-card__frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.video-card__frame iframe, .video-card__frame video { width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-card__play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: linear-gradient(to top, rgba(9, 11, 15, .7), rgba(9, 11, 15, .2));
  color: #fff;
  transition: background .3s;
}
.video-card__play:hover { background: rgba(9, 11, 15, .35); }
.video-card__play span {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border: 2px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.video-card__play:hover span { transform: scale(1.08); background: var(--red); border-color: var(--red); }
.video-card__body { padding: 20px 22px 24px; }
.video-card__body p { margin-top: 8px; font-size: .85rem; color: var(--gray-600); }
.video-card__dur { position: absolute; bottom: 12px; right: 12px; background: rgba(9, 11, 15, .82); color: #fff; padding: 4px 9px; font-size: .7rem; font-family: var(--mono); }
/* Video detail page + clickable listing cards */
a.video-card { color: inherit; text-decoration: none; display: block; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
a.video-card:hover { box-shadow: 0 14px 34px rgba(9, 11, 15, .12); transform: translateY(-3px); }
a.video-card:hover .video-card__play span { transform: scale(1.08); background: var(--red); border-color: var(--red); }
.video-card--feature { max-width: 1080px; margin: 0 auto; }
.video-card--feature .video-card__frame { aspect-ratio: 16 / 9; }
.video-card--feature .video-card__body { padding: 28px 32px 34px; }
.video-card__body h3 a { color: inherit; text-decoration: none; }
.video-card__body h3 a:hover { color: var(--red); }

/* ---------------------------------------------------------------- 26. contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.contact-list { display: grid; gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); }
.contact-item { background: #fff; padding: 22px 24px; display: grid; grid-template-columns: 42px 1fr; gap: 18px; align-items: start; }
.contact-item__icon { width: 42px; height: 42px; display: grid; place-items: center; background: var(--gray-100); color: var(--red); }
.contact-item__k { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-500); }
.contact-item__v { margin-top: 7px; font-size: .96rem; font-weight: 500; }
.contact-item__v a:hover { color: var(--red); }
.contact-item__n { margin-top: 5px; font-size: .8rem; color: var(--gray-500); }

.map-embed { border: 1px solid var(--gray-200); background: var(--gray-100); aspect-ratio: 16 / 9; position: relative; overflow: hidden; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.map-fallback { display: grid; place-items: center; height: 100%; text-align: center; padding: 30px; }

/* ----------------------------------------------------------------- 27. footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .62); padding-top: clamp(52px, 6vw, 84px); }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)) 1.2fr; gap: clamp(24px, 3vw, 44px); padding-bottom: 52px; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: rgba(255, 255, 255, .4); }
.footer__about { margin-top: 20px; font-size: .88rem; line-height: 1.72; max-width: 320px; }
.footer__socials { margin-top: 24px; display: flex; gap: 9px; }
.footer__socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .7); transition: all .2s; }
.footer__socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer__col-title { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer__links { display: grid; gap: 11px; }
.footer__links a { font-size: .87rem; transition: color .18s, padding-left .2s var(--ease); }
.footer__links a:hover { color: #fff; padding-left: 4px; }
.footer__contact { display: grid; gap: 14px; font-size: .87rem; }
.footer__contact-item { display: flex; gap: 11px; align-items: flex-start; }
.footer__contact-item svg { color: var(--red); flex: none; margin-top: 3px; }
.footer__contact-item a:hover { color: #fff; }
.footer__newsletter { margin-top: 22px; }
.footer__newsletter form { display: flex; gap: 8px; }
.footer__newsletter input {
  flex: 1; min-width: 0;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  font-size: .86rem;
}
.footer__newsletter input::placeholder { color: rgba(255, 255, 255, .38); }
.footer__newsletter input:focus { outline: none; border-color: var(--red); }
.footer__newsletter button { width: 48px; background: var(--red); color: #fff; display: grid; place-items: center; transition: background .2s; }
.footer__newsletter button:hover { background: var(--red-600); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: rgba(255, 255, 255, .42);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__legal a:hover { color: #fff; }
.footer__bottom-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* ------------------------------------------------- partner / friend links band */
.footer__partners {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 20px;
}
.footer__partnerlinks { display: flex; flex-wrap: wrap; gap: 10px 8px; margin-top: 14px; }
.footer__partnerlinks a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: rgba(255, 255, 255, .62);
  transition: color .18s, border-color .18s, background .18s var(--ease);
}
.footer__partnerlinks a:hover { color: #fff; border-color: rgba(255, 255, 255, .38); background: rgba(255, 255, 255, .07); }
.footer__partnerlinks img { width: 20px; height: 20px; object-fit: contain; border-radius: 3px; flex: none; }
.footer__partnerlinks-apply { border-color: rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .82); }

/* language pills sit on the dark footer, so they need the light-on-dark set */
.site-footer .lang-inline { justify-content: flex-start; gap: 6px; }
.site-footer .lang-inline__opt { color: rgba(255, 255, 255, .58); border-color: rgba(255, 255, 255, .16); }
.site-footer .lang-inline__opt:hover { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .3); }
.site-footer .lang-inline__opt.is-current { background: var(--red); border-color: var(--red); color: #fff; }

/* ------------------------------------------------------------- 28. floaters */
.float-stack { position: fixed; right: 18px; bottom: 22px; z-index: 240; display: grid; gap: 10px; }
.float-btn {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  border-radius: 50%;
  transition: all .24s var(--ease);
}
.float-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.float-btn--wa { background: #25d366; border-color: #25d366; color: #fff; }
.float-btn--wa:hover { background: #1eb558; border-color: #1eb558; }
.float-btn--top { opacity: 0; visibility: hidden; transform: translateY(10px); }
.float-btn--top.is-visible { opacity: 1; visibility: visible; transform: none; }

.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 230;
  display: none;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -4px 20px -8px rgba(12, 14, 18, .25);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 9px; height: 56px; font-size: .82rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.mobile-bar a + a { border-left: 1px solid var(--gray-200); }
.mobile-bar__wa { color: var(--ink); }
.mobile-bar__quote { background: var(--red); color: #fff; }

.cookie-bar {
  position: fixed;
  left: 18px; right: 18px; bottom: 18px;
  z-index: 260;
  background: var(--ink);
  color: rgba(255, 255, 255, .8);
  padding: 20px 24px;
  display: none;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
  border-left: 3px solid var(--red);
  max-width: 1180px;
  margin-inline: auto;
}
.cookie-bar.is-visible { display: flex; }
.cookie-bar p { flex: 1; min-width: 260px; font-size: .84rem; line-height: 1.6; }
.cookie-bar a { color: #fff; text-decoration: underline; }
.cookie-bar__actions { display: flex; gap: 10px; }

/* ------------------------------------------------------------- 29. utilities */
.sr-only { 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 { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--ink); color: #fff; padding: 12px 20px; }
.skip-link:focus { left: 12px; top: 12px; }
.mt-0 { margin-top: 0 !important; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; } .mt-56 { margin-top: 56px; }
.text-center { text-align: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.divider { height: 1px; background: var(--gray-200); border: 0; }
.section--dark .divider { background: rgba(255, 255, 255, .12); }

/* scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* typeahead */
.suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  z-index: 120;
  max-height: 380px;
  overflow-y: auto;
  display: none;
}
.suggest.is-open { display: block; }
.suggest__item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--gray-150); font-size: .88rem; }
.suggest__item:last-child { border-bottom: 0; }
.suggest__item:hover { background: var(--gray-50); }
.suggest__model { font-family: var(--mono); font-size: .72rem; color: var(--gray-400); }
.suggest__empty { padding: 18px 16px; font-size: .84rem; color: var(--gray-500); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(9, 11, 15, .94); display: none; align-items: center; justify-content: center; padding: 40px 20px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__close { position: absolute; top: 22px; right: 26px; color: #fff; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .3); }
.lightbox__nav:hover { background: #fff; color: var(--ink); }
.lightbox__nav--prev { left: 26px; }
.lightbox__nav--next { right: 26px; }

/* ---------------------------------------------------------- 30. responsive */
@media (max-width: 1240px) {
  .nav, .header__actions .btn { display: none; }
  .burger { display: inline-flex; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: 1.4fr repeat(2, minmax(0, 1fr)); }
  .mega { display: none; }
}

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__aside { display: none; }
  .split, .editorial, .cta-band__inner, .contact-grid, .pdp { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .process-grid, .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head--split { flex-direction: column; align-items: flex-start; }
  .quote-sticky { position: static; }
  .spec-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  body { font-size: 15.5px; }
  :root { --header-h: 64px; }
  .topbar { display: none; }
  .grid-2, .grid-3, .grid-4, .product-grid, .product-grid--3, .cat-grid, .process-grid, .video-grid { grid-template-columns: 1fr; }
  .form-grid--2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .stat:last-child { border-bottom: 0; }
  .footer__top { grid-template-columns: 1fr; gap: 34px; }
  .editorial__stat { position: static; margin-top: 16px; display: inline-block; }
  .gallery__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .search-inline { margin-left: 0; width: 100%; }
  .mobile-bar { display: grid; }
  .float-stack { bottom: 76px; }
  .cookie-bar { flex-direction: column; align-items: flex-start; gap: 14px; bottom: 74px; }
  .spec-summary { grid-template-columns: 1fr; }
  .step { grid-template-columns: 44px 1fr; gap: 14px; padding: 22px 20px; }
  .article__toc { padding: 18px 20px; }
  .hero__facts { gap: 12px 24px; }
  .cta-band__actions { flex-direction: column; }
  .cta-band__actions .btn { width: 100%; }
  .lightbox__nav--prev { left: 8px; } .lightbox__nav--next { right: 8px; }
  .pager a, .pager span { min-width: 40px; height: 40px; }
  .flink-card { padding: 12px 14px; gap: 12px; }
  .flink-card__logo { width: 40px; height: 40px; }
  .flink-card__go { display: none; }
  .footer__partnerlinks { gap: 8px 6px; }
}

@media (max-width: 420px) {
  .btn { height: 48px; padding: 0 20px; font-size: .8rem; }
  .hero__cta .btn { flex: 1 1 100%; }
}

/* ------------------------------------------------------------------ 32. modals */
.modal {
  position: fixed;
  inset: 0;
  z-index: 520;
  background: rgba(9, 11, 15, .72);
  backdrop-filter: blur(4px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(16px, 4vh, 60px) var(--gutter);
  overflow-y: auto;
}
.modal.is-open { display: flex; animation: fadeUp .3s var(--ease); }
.modal__panel {
  position: relative;
  width: 100%;
  max-width: 940px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  margin: auto 0;
}
.modal__panel--lg { max-width: 1120px; }
.modal__panel--search { max-width: 780px; grid-template-columns: 1fr; }
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 4;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  color: var(--gray-600);
  background: #fff;
  border: 1px solid var(--gray-200);
  transition: all .2s;
}
.modal__close:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.modal__aside { padding: clamp(28px, 3.4vw, 46px); background: var(--gray-50); border-right: 1px solid var(--gray-200); }
.modal__aside--dark { background: var(--ink); color: #fff; border-right-color: transparent; }
.modal__aside--dark .lead { color: rgba(255, 255, 255, .68); }
.modal__aside--dark .checklist li { color: rgba(255, 255, 255, .74); }
.modal__assurance { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--gray-200); display: flex; gap: 11px; align-items: flex-start; font-size: .78rem; color: var(--gray-500); line-height: 1.6; }
.modal__main { padding: clamp(28px, 3.4vw, 46px); }

.search-block { padding: clamp(28px, 4vw, 48px); }
.search-block__field { margin-top: 18px; position: relative; display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 14px; color: var(--gray-400); }
.search-block__field input { flex: 1; border: 0; outline: none; font-size: clamp(1.05rem, 1.8vw, 1.45rem); font-weight: 500; letter-spacing: -.02em; background: transparent; }
.search-block__field input::placeholder { color: var(--gray-400); }
.search-block .suggest { position: static; box-shadow: none; border: 0; border-top: 1px solid var(--gray-200); max-height: 340px; margin-top: 10px; }
.search-block__hints { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .82rem; color: var(--gray-500); }
.search-block__hints a { padding: 6px 12px; border: 1px solid var(--gray-200); color: var(--gray-700); transition: all .2s; }
.search-block__hints a:hover { border-color: var(--red); color: var(--red); }

.timeline-marker { display: grid; gap: 0; }

/* -------------------------------------------------- 33. quote form variants */
.section--dark .field label { color: rgba(255, 255, 255, .72); }
.section--dark .field input, .section--dark .field select, .section--dark .field textarea {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .18);
  color: #fff;
}
.section--dark .field input::placeholder, .section--dark .field textarea::placeholder { color: rgba(255, 255, 255, .35); }
.section--dark .file-drop { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .04); }
.section--dark .file-drop__text { color: rgba(255, 255, 255, .6); }
.section--dark .form-note { color: rgba(255, 255, 255, .45); }
.section--dark .checkline { color: rgba(255, 255, 255, .6); }

@media (max-width: 860px) {
  .modal__panel, .modal__panel--lg { grid-template-columns: 1fr; }
  .modal__aside { border-right: 0; border-bottom: 1px solid var(--gray-200); }
  .modal { padding: 12px; }
}

/* ------------------------------------------------------------- 34. oem flow */
.oem-flow { display: grid; gap: 0; }
.oem-flow__item { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); align-items: start; }
.oem-flow__item:first-child { padding-top: 0; }
.oem-flow__item:last-child { border-bottom: 0; }
.oem-flow__num {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  font-family: var(--mono);
  font-size: .72rem;
  color: #ff5a63;
}
.oem-flow__title { font-size: .95rem; font-weight: 700; color: #fff; }
.oem-flow__item .sub { margin-top: 5px; }
.section--soft .oem-flow__item { border-bottom-color: var(--gray-200); }
.section--soft .oem-flow__num { border-color: var(--gray-300); color: var(--red); }
.section--soft .oem-flow__title { color: var(--ink); }

/* ------------------------------------------------------------------- 31. print */
@media print {
  .site-header, .topbar, .site-footer, .float-stack, .mobile-bar, .cookie-bar, .cta-band { display: none !important; }
  body { color: #000; }
  .page-hero, .hero { background: none; color: #000; }
  .page-hero::before, .hero::before { display: none; }
}
