/* =========================================================
   WINIY – rugged embedded computers
   Plain CSS, no framework
   ========================================================= */
:root {
  --navy: #0b1b2e;
  --navy-2: #10263f;
  --blue: #16466f;
  --blue-2: #1f5d93;
  --accent: #f5a524;
  --accent-2: #e08e0b;
  --teal: #4fd1c5;
  --ink: #1b2430;
  --muted: #5b6778;
  --line: #e2e8f0;
  --bg: #f5f7fa;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 27, 46, .08);
  --shadow-lg: 0 24px 60px rgba(11, 27, 46, .16);
  --container: 1240px;
  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue-2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-2); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy); font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--gray { background: var(--bg); }
.section--dark { background: var(--navy); color: #c8d4e3; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--dark .section-head p { color: #9fb1c7; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.split-head h2 { margin: 0; }
.lead { font-size: 1.15rem; color: var(--muted); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: 32px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; border: 2px solid transparent; cursor: pointer; transition: all .25s; font-family: inherit; }
.btn svg { width: 16px; height: 16px; transition: transform .25s; }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: var(--navy); }
.btn--primary:hover { background: var(--accent-2); color: var(--navy); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-2); color: var(--white); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn--outline { border-color: var(--blue); color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: var(--white); }
.btn--sm { padding: 9px 18px; font-size: .78rem; }
.link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- topbar & header ---------- */
.topbar { background: var(--navy); color: #9fb1c7; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar a { color: #dbe5f1; }
.topbar a:hover { color: var(--accent); }
.topbar__links { display: flex; gap: 22px; align-items: center; }
.topbar__tag { margin: 0; }

.header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(11, 27, 46, .08); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .3s; }
.header.is-scrolled .container { height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.55rem; letter-spacing: -.01em; line-height: 1; color: var(--navy); text-transform: lowercase; }
.logo:hover { color: var(--navy); }
.logo__mark { width: 40px; height: 40px; flex: none; border-radius: 12px 12px 12px 4px; background: linear-gradient(135deg, var(--teal), var(--blue-2) 55%, var(--navy)); display: grid; place-items: center; color: var(--white); box-shadow: 0 6px 16px rgba(31, 93, 147, .35); }
.logo__mark svg { width: 26px; height: 26px; display: block; }
.logo__text { display: flex; align-items: baseline; }
.logo span.ws { color: var(--blue-2); }
.logo__text small { font-size: .5em; font-weight: 700; letter-spacing: .02em; color: var(--muted); margin-left: 2px; }
.footer .logo span.ws { color: var(--teal); }
.footer .logo__text small { color: rgba(255, 255, 255, .55); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; display: flex; margin: 0; padding: 0; gap: 2px; }
.nav__item { position: relative; }
.nav__link { display: flex; align-items: center; gap: 6px; padding: 12px 16px; color: var(--ink); font-weight: 600; font-size: .95rem; border-radius: 8px; }
.nav__link:hover, .nav__item.is-active > .nav__link { color: var(--blue-2); }
.nav__item.is-active > .nav__link { box-shadow: inset 0 -3px 0 var(--accent); border-radius: 0; }
.nav__link .caret { width: 10px; height: 10px; transition: transform .2s; }
.nav__item:hover .caret { transform: rotate(180deg); }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--white); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 10px; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .22s; border-top: 3px solid var(--accent); }
.nav__item:hover > .dropdown, .nav__item:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink); font-size: .92rem; font-weight: 500; }
.dropdown a:hover { background: var(--bg); color: var(--blue-2); padding-left: 18px; }

.mega { position: absolute; top: 100%; left: 50%; width: 760px; transform: translate(-40%, 10px); background: var(--white); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; opacity: 0; visibility: hidden; transition: all .22s; border-top: 3px solid var(--accent); }
.nav__item:hover > .mega, .nav__item:focus-within > .mega { opacity: 1; visibility: visible; transform: translate(-40%, 0); }
.mega__card { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 10px; color: var(--ink); }
.mega__card:hover { background: var(--bg); }
.mega__card img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; }
.mega__card strong { display: block; font-size: .92rem; }
.mega__card small { color: var(--muted); font-size: .78rem; }

.header__actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 0; cursor: pointer; color: var(--navy); transition: all .2s; }
.icon-btn:hover { background: var(--accent); }
.icon-btn svg { width: 18px; height: 18px; }
.burger { display: none; }

/* search overlay */
.search-overlay { position: fixed; inset: 0; background: rgba(11, 27, 46, .96); z-index: 300; display: none; padding: 12vh 24px 24px; }
.search-overlay__inner { max-width: 760px; margin: 0 auto; }
.search-overlay__close { position: absolute; top: 24px; right: 24px; background: none; border: 0; color: var(--white); font-size: 2.2rem; cursor: pointer; }
.search-overlay input { width: 100%; background: transparent; border: 0; border-bottom: 2px solid rgba(255, 255, 255, .3); color: var(--white); font-size: clamp(1.4rem, 3vw, 2.2rem); padding: 14px 0; outline: none; font-family: inherit; }
.search-overlay input:focus { border-color: var(--accent); }
.search-overlay__hint { color: #8ea2bb; margin-top: 12px; font-size: .9rem; }
.search-results { list-style: none; padding: 0; margin: 24px 0 0; max-height: 50vh; overflow: auto; }
.search-results li a { display: flex; gap: 16px; align-items: center; padding: 12px; border-radius: 10px; color: #dbe5f1; }
.search-results li a:hover { background: rgba(255, 255, 255, .06); }
.search-results img { width: 72px; height: 54px; border-radius: 8px; object-fit: cover; }
.search-results small { display: block; color: #8ea2bb; }

/* mobile nav */
.mobile-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: var(--white); z-index: 250; transform: translateX(100%); transition: transform .35s; overflow-y: auto; padding: 24px; box-shadow: var(--shadow-lg); }
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--line); }
.mobile-nav > ul > li > a, .mobile-nav__toggle { display: flex; justify-content: space-between; width: 100%; padding: 14px 4px; font-weight: 700; color: var(--navy); background: none; border: 0; font-size: 1rem; cursor: pointer; font-family: inherit; text-align: left; }
.mobile-nav .sub { display: none; padding: 0 0 12px 12px; }
.mobile-nav .sub a { display: block; padding: 7px 0; color: var(--muted); }
.backdrop { position: fixed; inset: 0; background: rgba(11, 27, 46, .5); z-index: 240; display: none; }

/* ---------- hero ---------- */
.hero { position: relative; background: radial-gradient(1200px 600px at 80% 20%, #1c4a78 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, #0a2240 100%); color: #c8d4e3; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("../img/hero-circuit.svg") repeat; background-size: 420px; opacity: .5; }
.hero__slides { position: relative; min-height: 640px; }
.hero__slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; opacity: 0; visibility: hidden; transition: opacity .8s, visibility .8s; }
.hero__slide.is-active { opacity: 1; visibility: visible; position: relative; }
.hero__content { padding: 80px 0; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 1.12rem; max-width: 560px; color: #b9c8da; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__media { position: relative; }
.hero__media img { border-radius: 20px; box-shadow: 0 40px 80px rgba(0, 0, 0, .45); transform: perspective(1200px) rotateY(-8deg); }
.hero__badge { position: absolute; left: -24px; bottom: 30px; background: var(--white); color: var(--navy); border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; animation: floaty 4s ease-in-out infinite; }
.hero__badge strong { font-size: 1.5rem; color: var(--blue); display: block; line-height: 1; }
.hero__badge small { color: var(--muted); font-size: .8rem; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
.hero__dots { position: absolute; left: 24px; bottom: 34px; display: flex; gap: 10px; z-index: 3; }
.hero__dots button { width: 34px; height: 4px; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .3); cursor: pointer; padding: 0; transition: all .3s; }
.hero__dots button.is-active { background: var(--accent); width: 56px; }
.hero__controls { position: absolute; right: 24px; bottom: 24px; display: flex; gap: 10px; z-index: 3; }
.hero__controls button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: var(--white); cursor: pointer; font-size: 1.1rem; }
.hero__controls button:hover { background: var(--accent); color: var(--navy); border-color: var(--accent); }

/* page hero */
.page-hero { position: relative; background: linear-gradient(160deg, var(--navy) 0%, #0a2a4c 100%); color: #b9c8da; padding: 80px 0 72px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: url("../img/hero-circuit.svg") repeat; background-size: 360px; opacity: .45; }
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); max-width: 900px; }
.page-hero p { max-width: 720px; font-size: 1.1rem; }
.breadcrumb { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .85rem; flex-wrap: wrap; }
.breadcrumb a { color: #9fb1c7; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #5d7590; }
.breadcrumb li:last-child { color: var(--accent); }

/* ---------- feature strip ---------- */
.strip { background: var(--white); position: relative; z-index: 2; margin-top: -56px; }
.strip__inner { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__item { padding: 28px; display: flex; gap: 16px; align-items: flex-start; border-right: 1px solid var(--line); }
.strip__item:last-child { border-right: 0; }
.strip__icon { flex: 0 0 48px; height: 48px; border-radius: 12px; background: rgba(245, 165, 36, .14); color: var(--accent-2); display: grid; place-items: center; }
.strip__icon svg { width: 24px; height: 24px; }
.strip__item h4 { margin: 0 0 4px; font-size: 1rem; }
.strip__item p { margin: 0; color: var(--muted); font-size: .88rem; }

/* ---------- category cards ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cat-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; border: 1px solid var(--line); }
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.cat-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg); }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat-card:hover .cat-card__img img { transform: scale(1.07); }
.cat-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.cat-card__body p { color: var(--muted); font-size: .93rem; flex: 1; }
.badges { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }
.badge-pill { display: inline-flex; gap: 10px; align-items: center; background: var(--white); border: 1px solid var(--line); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--navy); }
.badge-pill i { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.badge-pill small { color: var(--muted); font-weight: 400; }

/* ---------- promo / brochure ---------- */
.promo { background: linear-gradient(120deg, var(--blue) 0%, var(--navy) 100%); border-radius: 22px; padding: 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; color: #c8d4e3; position: relative; overflow: hidden; }
.promo::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: rgba(245, 165, 36, .15); }
.promo h2 { color: var(--white); }
.promo img { max-height: 320px; margin: 0 auto; position: relative; z-index: 1; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: 20px; box-shadow: var(--shadow-lg); }
.split__media::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 2px solid var(--accent); border-radius: 20px; z-index: -1; }
.checklist { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before { content: "✓"; flex: 0 0 26px; height: 26px; border-radius: 50%; background: rgba(79, 209, 197, .18); color: #12907f; display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.section--dark .checklist li::before { color: var(--teal); }

.pills-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.pill-box { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: var(--white); }
.pill-box strong { display: block; color: var(--navy); margin-bottom: 4px; }
.pill-box span { color: var(--muted); font-size: .88rem; }

/* ---------- product cards ---------- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: all .3s; position: relative; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.product-card__img { aspect-ratio: 4 / 3; background: var(--bg); overflow: hidden; display: block; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-card__img img { transform: scale(1.06); }
.product-card__tag { position: absolute; top: 14px; left: 14px; background: var(--navy); color: var(--white); font-size: .7rem; padding: 5px 10px; border-radius: 6px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.product-card__tag--new { background: var(--accent); color: var(--navy); }
.product-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-card__sku { font-size: .78rem; color: var(--blue-2); font-weight: 800; letter-spacing: .08em; }
.product-card__title { font-size: 1rem; margin: 6px 0 12px; }
.product-card__title a { color: var(--navy); }
.product-card__title a:hover { color: var(--blue-2); }
.product-card__specs { list-style: none; padding: 0; margin: 0 0 16px; font-size: .84rem; color: var(--muted); display: grid; gap: 4px; flex: 1; }
.product-card__specs li::before { content: "•"; color: var(--accent); margin-right: 6px; }
.product-card__foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; }
.compare-check { font-size: .8rem; color: var(--muted); display: flex; gap: 6px; align-items: center; cursor: pointer; }

/* products page layout */
.shop { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: start; }
.filters { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 100px; }
.filters h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 12px; color: var(--navy); }
.filter-group { border-bottom: 1px solid var(--line); padding: 14px 0; }
.filter-group:last-child { border-bottom: 0; }
.filter-group__title { display: flex; justify-content: space-between; cursor: pointer; font-weight: 700; color: var(--navy); font-size: .92rem; user-select: none; }
.filter-group__title span { transition: transform .2s; }
.filter-group.is-closed .filter-group__title span { transform: rotate(-90deg); }
.filter-group__body { padding-top: 10px; display: grid; gap: 8px; }
.filter-group label { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: var(--muted); cursor: pointer; }
.filter-group input[type=checkbox] { accent-color: var(--blue); width: 16px; height: 16px; }
.tabs-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tabs-filter button { background: var(--white); border: 1px solid var(--line); padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); cursor: pointer; font-family: inherit; transition: all .2s; }
.tabs-filter button:hover { border-color: var(--blue); color: var(--blue); }
.tabs-filter button.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.toolbar__count { color: var(--muted); font-size: .92rem; }
.toolbar__right { display: flex; gap: 10px; align-items: center; }
.input, .select, textarea.input { width: 100%; padding: 13px 16px; border: 1px solid #cfd8e3; border-radius: 10px; font-family: inherit; font-size: .95rem; background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.input:focus, .select:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(31, 93, 147, .12); }
.toolbar .select { width: auto; padding: 10px 14px; }
.toolbar .input { width: 240px; padding: 10px 14px; }
.view-toggle button { width: 40px; height: 40px; border: 1px solid var(--line); background: var(--white); border-radius: 8px; cursor: pointer; color: var(--muted); }
.view-toggle button.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.products-grid.is-list { grid-template-columns: 1fr; }
.products-grid.is-list .product-card { flex-direction: row; }
.products-grid.is-list .product-card__img { width: 280px; flex: 0 0 280px; aspect-ratio: auto; }
.shop .products-grid { grid-template-columns: repeat(3, 1fr); }
.shop .products-grid.is-list { grid-template-columns: 1fr; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination button { min-width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); cursor: pointer; font-weight: 700; color: var(--navy); font-family: inherit; }
.pagination button.is-active, .pagination button:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); border: 2px dashed var(--line); border-radius: var(--radius); display: none; }
.compare-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--navy); color: var(--white); padding: 14px 0; z-index: 90; transform: translateY(100%); transition: transform .3s; }
.compare-bar.is-visible { transform: translateY(0); }
.compare-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }

/* product detail */
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.pd__main { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg); cursor: zoom-in; }
.pd__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.pd__thumbs img { border-radius: 10px; border: 2px solid transparent; cursor: pointer; opacity: .7; transition: all .2s; }
.pd__thumbs img.is-active, .pd__thumbs img:hover { border-color: var(--accent); opacity: 1; }
.pd__sku { font-weight: 800; color: var(--blue-2); letter-spacing: .1em; }
.pd__features { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.pd__features li { display: flex; gap: 10px; }
.pd__features li::before { content: ""; flex: 0 0 8px; height: 8px; margin-top: 9px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.pd__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.pd__meta { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.pd__meta strong { color: var(--navy); }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 42px; border: 0; background: var(--bg); cursor: pointer; font-size: 1.1rem; }
.qty input { width: 54px; text-align: center; border: 0; font-family: inherit; font-weight: 700; }

.tabs__nav { display: flex; gap: 4px; border-bottom: 2px solid var(--line); margin-bottom: 28px; flex-wrap: wrap; }
.tabs__nav button { background: none; border: 0; padding: 14px 22px; font-weight: 700; color: var(--muted); cursor: pointer; font-family: inherit; font-size: .95rem; position: relative; }
.tabs__nav button.is-active { color: var(--navy); }
.tabs__nav button.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--accent); }
.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; animation: fade .4s; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 32%; background: var(--bg); color: var(--navy); font-weight: 700; }
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.doc-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; }
.doc-list li span { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.doc-list li span::before { content: "PDF"; font-size: .68rem; font-weight: 800; background: #fdecec; color: #c0392b; padding: 6px 8px; border-radius: 6px; }

/* ---------- news ---------- */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.news-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: all .3s; }
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.news-card__img { aspect-ratio: 16 / 10; overflow: hidden; display: block; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-card__img img { transform: scale(1.06); }
.news-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.news-card__meta { display: flex; gap: 10px; align-items: center; font-size: .78rem; color: var(--muted); margin-bottom: 10px; }
.chip { display: inline-block; background: rgba(31, 93, 147, .1); color: var(--blue-2); font-weight: 700; font-size: .7rem; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.chip--accent { background: rgba(245, 165, 36, .16); color: #a76505; }
.news-card h3 { font-size: 1.02rem; flex: 1; }
.news-card h3 a { color: var(--navy); }
.news-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.news-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.sidebar-box { background: var(--bg); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.sidebar-box h4 { font-size: 1rem; margin-bottom: 14px; }
.sidebar-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sidebar-box ul a { color: var(--ink); display: flex; justify-content: space-between; }
.article { max-width: 820px; }
.article img.cover { border-radius: var(--radius); margin-bottom: 32px; width: 100%; }
.article h2 { font-size: 1.5rem; margin-top: 1.4em; }
.article blockquote { border-left: 4px solid var(--accent); margin: 28px 0; padding: 8px 24px; font-size: 1.15rem; color: var(--navy); font-style: italic; }
.share { display: flex; gap: 10px; align-items: center; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- newsletter / cta ---------- */
.newsletter { background: var(--accent); }
.newsletter .container { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 48px; padding-bottom: 48px; flex-wrap: wrap; }
.newsletter h2 { margin: 0; color: var(--navy); }
.newsletter p { margin: 6px 0 0; color: #4a3604; }
.newsletter form { display: flex; gap: 10px; flex: 1; max-width: 520px; }
.newsletter .input { border-color: transparent; border-radius: 999px; padding: 15px 22px; }
.newsletter .btn--blue { background: var(--navy); }
.form-msg { font-size: .88rem; margin-top: 8px; display: none; }
.form-msg.is-ok { color: #0d7a4f; display: block; }
.form-msg.is-err { color: #c0392b; display: block; }
.newsletter .form-msg.is-ok { color: var(--navy); }

.cta-band { background: linear-gradient(120deg, #0a2240, var(--blue)); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: url("../img/hero-circuit.svg") repeat; background-size: 360px; opacity: .35; }
.cta-band .container { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #b9c8da; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 28px; text-align: center; }
.stat strong { display: block; font-size: 2.6rem; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.stat span { color: #b9c8da; font-size: .9rem; }
.section--gray .stat, .section:not(.section--dark) .stat { background: var(--white); border-color: var(--line); }
.section:not(.section--dark) .stat span { color: var(--muted); }

/* ---------- feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { background: var(--white); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); transition: all .3s; position: relative; overflow: hidden; }
.feature::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 4px; background: var(--accent); transition: width .4s; }
.feature:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.feature:hover::after { width: 100%; }
.feature__icon { width: 58px; height: 58px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--navy)); color: var(--accent); display: grid; place-items: center; margin-bottom: 20px; }
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em; }
.feature p { color: var(--muted); font-size: .93rem; margin: 0; }
.section--dark .feature { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section--dark .feature p { color: #9fb1c7; }

/* industries */
.ind-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.ind-card { grid-column: span 2; position: relative; border-radius: 18px; overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; color: var(--white); isolation: isolate; }
.ind-card:nth-child(4), .ind-card:nth-child(5) { grid-column: span 3; }
.ind-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s; }
.ind-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(6, 16, 28, .92) 100%); z-index: -1; }
.ind-card:hover img { transform: scale(1.08); }
.ind-card__body { padding: 28px; }
.ind-card h3 { color: var(--white); margin-bottom: 6px; letter-spacing: .04em; text-transform: uppercase; }
.ind-card p { color: #c8d4e3; font-size: .92rem; margin: 0 0 12px; max-height: 0; overflow: hidden; opacity: 0; transition: all .4s; }
.ind-card:hover p { max-height: 120px; opacity: 1; }
.ind-card .link-arrow { color: var(--accent); }
.market-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; }
.market-list li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; font-weight: 600; color: var(--navy); display: flex; gap: 12px; align-items: center; }
.market-list li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); transform: rotate(45deg); flex: 0 0 10px; }

/* timeline */
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--line); transform: translateX(-50%); }
.tl-item { position: relative; width: 50%; padding: 0 44px 40px; }
.tl-item:nth-child(odd) { text-align: right; }
.tl-item:nth-child(even) { margin-left: 50%; }
.tl-item::before { content: ""; position: absolute; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--accent); }
.tl-item:nth-child(odd)::before { right: -9px; }
.tl-item:nth-child(even)::before { left: -9px; }
.tl-item strong { font-size: 1.6rem; color: var(--blue); display: block; }
.tl-item p { color: var(--muted); margin: 4px 0 0; }

/* team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.person { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); cursor: pointer; transition: all .3s; }
.person:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.person img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.person__body { padding: 22px; }
.person__body h3 { margin: 0 0 4px; }
.person__body span { color: var(--accent-2); font-weight: 700; font-size: .86rem; text-transform: uppercase; letter-spacing: .06em; }

/* partners */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.partner { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--white); }
.partner h4 { margin-bottom: 4px; }
.partner small { color: var(--accent-2); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.partner p { color: var(--muted); font-size: .9rem; margin: 10px 0 0; }
.region-tabs { justify-content: center; }

/* accordion */
.accordion { display: grid; gap: 12px; }
.acc-item { border: 1px solid var(--line); border-radius: 12px; background: var(--white); overflow: hidden; }
.acc-item__head { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; background: none; border: 0; text-align: left; font-family: inherit; font-size: 1.02rem; font-weight: 700; color: var(--navy); cursor: pointer; }
.acc-item__head i { flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-style: normal; transition: all .3s; }
.acc-item.is-open .acc-item__head i { transform: rotate(45deg); background: var(--accent); }
.acc-item__body { display: none; padding: 0 24px 22px; color: var(--muted); }
.faq-layout { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.faq-nav { position: sticky; top: 100px; display: grid; gap: 6px; }
.faq-nav a { padding: 12px 16px; border-radius: 10px; color: var(--ink); font-weight: 600; }
.faq-nav a.is-active, .faq-nav a:hover { background: var(--navy); color: var(--white); }
.faq-group { margin-bottom: 48px; scroll-margin-top: 110px; }

/* forms */
.form-card { background: var(--white); border-radius: 18px; padding: 40px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--navy); }
.field label .req { color: #c0392b; }
.field .err { color: #c0392b; font-size: .8rem; margin-top: 4px; display: none; }
.field.has-error .input, .field.has-error .select { border-color: #c0392b; }
.field.has-error .err { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.check input { margin-top: 4px; accent-color: var(--blue); }
textarea.input { min-height: 140px; resize: vertical; }
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.info-card { background: var(--navy); color: #c8d4e3; border-radius: 18px; padding: 36px; }
.info-card h3 { color: var(--white); }
.info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.info-row:last-child { border-bottom: 0; }
.info-row i { flex: 0 0 44px; height: 44px; border-radius: 12px; background: rgba(245, 165, 36, .15); color: var(--accent); display: grid; place-items: center; font-style: normal; }
.info-row i svg { width: 20px; height: 20px; }
.info-row strong { display: block; color: var(--white); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.info-row a { color: #dbe5f1; }
.map-box { border-radius: 18px; overflow: hidden; margin-top: 24px; position: relative; }
.map-box span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--white); padding: 10px 16px; border-radius: 10px; font-weight: 700; color: var(--navy); font-size: .85rem; box-shadow: var(--shadow); }

/* support */
.support-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.support-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.support-card p { color: var(--muted); flex: 1; margin: 0; }
.doc-search { display: grid; grid-template-columns: 1fr 260px auto; gap: 12px; }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert { display: flex; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: var(--white); color: var(--navy); font-weight: 700; transition: all .2s; }
.cert:hover { border-color: var(--accent); color: var(--navy); box-shadow: var(--shadow); }
.cert i { flex: 0 0 48px; height: 48px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; font-style: normal; font-size: .72rem; font-weight: 800; color: var(--blue); }
.cert small { display: block; color: var(--muted); font-weight: 400; }

/* policy */
.prose { max-width: 860px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; scroll-margin-top: 110px; }
.prose p, .prose li { color: #3b4655; }
.toc { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(11, 27, 46, .7); }
.modal.is-open { display: flex; }
.modal__box { background: var(--white); border-radius: 20px; max-width: 560px; width: 100%; padding: 40px; position: relative; max-height: 90vh; overflow: auto; animation: pop .3s; }
.modal__box--wide { max-width: 900px; padding: 0; background: transparent; }
@keyframes pop { from { opacity: 0; transform: scale(.95) translateY(10px); } }
.modal__close { position: absolute; top: 14px; right: 16px; background: var(--bg); border: 0; width: 38px; height: 38px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; z-index: 2; }
.modal__person { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: start; }
.modal__person img { border-radius: 14px; }

/* cookie */
.cookie { position: fixed; left: 24px; bottom: 24px; max-width: 420px; background: var(--white); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 22px; z-index: 350; display: none; border-left: 4px solid var(--accent); }
.cookie p { font-size: .9rem; color: var(--muted); }
.cookie .row { display: flex; gap: 10px; }

/* back to top */
.to-top { position: fixed; right: 24px; bottom: 24px; width: 50px; height: 50px; border-radius: 50%; background: var(--accent); color: var(--navy); border: 0; cursor: pointer; z-index: 80; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .3s; font-size: 1.2rem; font-weight: 800; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: #9fb1c7; padding-top: 80px; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding-bottom: 56px; }
.footer .logo { color: var(--white); margin-bottom: 18px; }
.footer h4 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: #9fb1c7; }
.footer a:hover { color: var(--accent); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: var(--white); }
.socials a:hover { background: var(--accent); color: var(--navy); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .nav, .topbar__tag { display: none; }
  .burger { display: grid; }
  .cats, .products-grid, .news-grid, .features { grid-template-columns: repeat(2, 1fr); }
  .shop { grid-template-columns: 1fr; }
  .filters { position: static; }
  .shop .products-grid { grid-template-columns: repeat(2, 1fr); }
  .strip__inner { grid-template-columns: repeat(2, 1fr); }
  .strip__item:nth-child(2) { border-right: 0; }
  .strip__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .news-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .hero__slide, .split, .promo, .cta-band .container, .pd, .contact-layout, .faq-layout { grid-template-columns: 1fr; }
  .hero__slides { min-height: 0; }
  .hero__content { padding: 64px 0 20px; }
  .hero__media { padding-bottom: 90px; }
  .hero__media img { transform: none; }
  .hero__badge { left: 12px; bottom: 100px; }
  .split--rev .split__media { order: 0; }
  .split__media::before { display: none; }
  .promo { padding: 36px; }
  .ind-card, .ind-card:nth-child(4), .ind-card:nth-child(5) { grid-column: span 6; }
  .ind-card p { max-height: 120px; opacity: 1; }
  .team, .partners, .support-cards, .cert-grid, .market-list, .pills-3 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .faq-nav { position: static; grid-template-columns: repeat(2, 1fr); }
  .doc-search { grid-template-columns: 1fr; }
  .timeline::before { left: 10px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; margin-left: 0; text-align: left !important; padding: 0 0 32px 44px; }
  .tl-item::before, .tl-item:nth-child(odd)::before { left: 1px; right: auto; }
}
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .topbar__links a:not(.topbar__phone) { display: none; }
  .cats, .products-grid, .news-grid, .features, .shop .products-grid, .news-list, .team, .partners, .support-cards, .cert-grid, .market-list, .pills-3, .form-grid { grid-template-columns: 1fr; }
  .strip__inner { grid-template-columns: 1fr; }
  .strip__item { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .newsletter form { flex-direction: column; }
  .form-card { padding: 24px; }
  .products-grid.is-list .product-card { flex-direction: column; }
  .products-grid.is-list .product-card__img { width: 100%; flex: auto; }
  .toolbar .input { width: 100%; }
  .modal__person { grid-template-columns: 1fr; }
  .header__actions .btn { display: none; }
}

/* ---------- real product photos (white background) ---------- */
.product-card__img, .cat-card__img, .pd__main { background: #fff; }
.product-card__img img, .cat-card__img img { object-fit: contain; padding: 14px; }
.pd__main img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 24px; }
.pd__thumbs img { aspect-ratio: 1; object-fit: cover; background: #fff; }
.mega__card img, .search-results img { object-fit: contain; background: #fff; }
.products-grid.is-list .product-card__img img { height: 100%; }
.hero__media img { background: #fff; aspect-ratio: 4 / 3; object-fit: contain; padding: 20px; }
.hero__slide:last-child .hero__media img { object-fit: cover; padding: 0; }
.news-card__img img { object-fit: cover; }
.person img { object-fit: cover; object-position: top; }
.split__media img { width: 100%; }

/* =========================================================
   Full responsive layer (large screens → small phones)
   ========================================================= */
body { overflow-x: clip; }
h1, h2, h3, h4, p, li, a, td, th { overflow-wrap: break-word; }
img, svg, video, iframe { max-width: 100%; }
.spec-table-wrap, .tabs__panel { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* wide screens */
@media (min-width: 1600px) {
  :root { --container: 1380px; }
  body { font-size: 17px; }
}

/* small laptops: keep desktop nav from crowding */
@media (max-width: 1280px) and (min-width: 1121px) {
  .nav__link { padding: 12px 11px; font-size: .9rem; }
  .header__actions .btn--sm { padding: 9px 14px; }
  .mega { width: 680px; }
  .cats, .products-grid, .news-grid, .features { gap: 18px; }
  .footer__grid { gap: 28px; }
}

/* tablets landscape */
@media (max-width: 1120px) {
  .section { padding: 80px 0; }
  .hero__slide { gap: 32px; }
  .split { gap: 48px; }
  .pd { gap: 36px; }
  .support-cards, .cert-grid, .team, .partners { gap: 20px; }
  .filters { margin-bottom: 8px; }
  .faq-layout { grid-template-columns: 220px 1fr; gap: 32px; }
  .contact-layout { grid-template-columns: 1.2fr 1fr; gap: 28px; }
  .stats { gap: 14px; }
  .stat strong { font-size: 2.2rem; }
}

/* tablets portrait */
@media (max-width: 860px) {
  .header .container, .header.is-scrolled .container { height: 70px; }
  .page-hero { padding: 60px 0 52px; }
  .hero__content { text-align: left; }
  .hero__media { max-width: 560px; }
  .strip { margin-top: -32px; }
  .promo[style] { grid-template-columns: 1fr !important; padding: 32px !important; }
  .promo img { max-height: 240px; }
  .cta-band .container > div[style] { text-align: left !important; }
  .news-layout { gap: 32px; }
  .shop .products-grid, .products-grid { gap: 18px; }
  .info-card { padding: 28px; }
  .form-card { padding: 32px; }
  .newsletter .container { flex-direction: column; align-items: stretch; text-align: left; }
  .newsletter .container > div[style] { max-width: none !important; }
  .newsletter form { max-width: none; }
  .modal__box { padding: 32px 26px; }
  .tabs__nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tabs__nav::-webkit-scrollbar { display: none; }
  .tabs__nav button { white-space: nowrap; padding: 12px 16px; }
  .pd__thumbs { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .footer { padding-top: 60px; }
  .footer__grid { gap: 28px; }
  .cookie { left: 16px; right: 16px; max-width: none; bottom: 16px; }
  .compare-bar .container { flex-wrap: wrap; }
}

/* phones */
@media (max-width: 600px) {
  body { font-size: 15px; }
  h1 { font-size: clamp(1.75rem, 8vw, 2.2rem); }
  h2 { font-size: clamp(1.4rem, 6.4vw, 1.8rem); }
  .section { padding: 56px 0; }
  .section--tight { padding: 44px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head p, .lead, .hero p, .page-hero p { font-size: 1rem; }
  .topbar .container { justify-content: center; min-height: 36px; }
  .topbar__links { gap: 14px; flex-wrap: wrap; justify-content: center; }
  .header .container, .header.is-scrolled .container { height: 64px; }
  .logo { font-size: 1.3rem; gap: 8px; }
  .logo__mark { width: 34px; height: 34px; border-radius: 10px 10px 10px 3px; }
  .logo__mark svg { width: 22px; height: 22px; }
  .icon-btn { width: 40px; height: 40px; }
  .btn { padding: 12px 20px; font-size: .84rem; }
  .hero__content { padding: 44px 0 12px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn, .pd__cta .btn { justify-content: center; }
  .hero__media { padding-bottom: 80px; }
  .hero__badge { padding: 10px 14px; bottom: 92px; left: 8px; }
  .hero__badge strong { font-size: 1.2rem; }
  .hero__dots { left: 18px; bottom: 30px; }
  .hero__controls { right: 18px; bottom: 18px; }
  .hero__controls button { width: 40px; height: 40px; }
  .page-hero { padding: 44px 0 40px; }
  .strip { margin-top: -24px; }
  .strip__item { padding: 20px; }
  .split { gap: 32px; }
  .split__media img, .hero__media img { border-radius: 14px; }
  .promo, .promo[style] { padding: 24px !important; border-radius: 16px; }
  .cta-band .container { gap: 20px; }
  .cta-band .btn, .newsletter .btn { width: 100%; justify-content: center; }
  .market-list, .market-list[style] { grid-template-columns: 1fr !important; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 20px 12px; }
  .stat strong { font-size: 1.8rem; }
  .feature { padding: 24px; }
  .ind-card { min-height: 260px; }
  .ind-card__body { padding: 20px; }
  .tabs-filter { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-left: -18px; margin-right: -18px; padding-left: 18px; padding-right: 18px; scrollbar-width: none; }
  .tabs-filter::-webkit-scrollbar { display: none; }
  .tabs-filter button { white-space: nowrap; flex: none; }
  .region-tabs { justify-content: flex-start; }
  .toolbar { align-items: stretch; }
  .toolbar__right { width: 100%; flex-wrap: wrap; }
  .toolbar__right .select { flex: 1; }
  .pagination { flex-wrap: wrap; }
  .compare-bar .container { flex-direction: column; align-items: stretch; text-align: center; gap: 10px; }
  .compare-bar .container > div[style] { justify-content: center; }
  .pd { gap: 24px; }
  .pd__main img { padding: 14px; }
  .pd__cta { flex-direction: column; }
  .pd__meta { gap: 10px 18px; }
  .spec-table th, .spec-table td { padding: 10px 12px; font-size: .88rem; }
  .spec-table th { width: 40%; }
  .doc-list li { flex-wrap: wrap; padding: 14px 16px; }
  .news-layout { gap: 24px; }
  .article blockquote { padding: 6px 16px; font-size: 1.02rem; }
  .share { flex-wrap: wrap; }
  .faq-nav { grid-template-columns: 1fr; }
  .acc-item__head { padding: 16px 18px; font-size: .96rem; }
  .acc-item__body { padding: 0 18px 18px; }
  .info-card { padding: 22px; border-radius: 14px; }
  .form-card { border-radius: 14px; }
  .modal { padding: 12px; }
  .modal__box { padding: 28px 20px; border-radius: 16px; }
  .modal__person img { max-width: 160px; }
  .search-overlay { padding: 80px 18px 18px; }
  .search-overlay__close { top: 14px; right: 14px; }
  .timeline::before { left: 8px; }
  .tl-item, .tl-item:nth-child(even) { padding-left: 36px; }
  .tl-item strong { font-size: 1.3rem; }
  .footer { padding-top: 48px; }
  .footer__grid { gap: 28px 20px; padding-bottom: 36px; }
  .footer__bottom .container { flex-direction: column; align-items: flex-start; }
  .cookie { left: 12px; right: 12px; bottom: 12px; padding: 18px; }
  .cookie .row .btn { width: 100%; justify-content: center; }
  .to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}

/* small phones */
@media (max-width: 400px) {
  .container { padding: 0 14px; }
  .logo__text small { display: none; }
  .topbar__mail { display: none; }
  .header__actions { gap: 6px; }
  .stats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .pd__thumbs { grid-template-columns: repeat(3, 1fr); }
  .tabs-filter { margin-left: -14px; margin-right: -14px; padding-left: 14px; padding-right: 14px; }
  .hero__badge { display: none; }
  .hero__media { padding-bottom: 70px; }
}

/* landscape phones: don't let the hero eat the screen */
@media (max-height: 500px) and (orientation: landscape) {
  .hero__content { padding: 32px 0 12px; }
  .search-overlay { padding-top: 40px; }
  .modal__box { max-height: 94vh; }
}

/* touch devices: show hover-only content */
@media (hover: none) {
  .ind-card p { max-height: 120px; opacity: 1; }
  .cat-card:hover, .product-card:hover, .news-card:hover, .feature:hover, .person:hover { transform: none; }
}
