/*
Theme Name: KYKY Tech Russia GP
Template: generatepress
Author: KYKY Tech Russia
Description: GeneratePress child theme for the Russian KYKY industrial catalog.
Version: 2.0.0
Text Domain: kyky-gp
*/

@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215;
}

:root {
  --kyky-primary: #0f172a;
  --kyky-secondary: #334155;
  --kyky-accent: #0369a1;
  --kyky-accent-hover: #075985;
  --kyky-surface: #ffffff;
  --kyky-background: #f8fafc;
  --kyky-muted: #e8ecf1;
  --kyky-muted-text: #526176;
  --kyky-border: #d8e1ea;
  --kyky-focus: #0f172a;
  --kyky-success: #0f766e;
  --kyky-danger: #b91c1c;
  --kyky-radius-sm: 4px;
  --kyky-radius: 8px;
  --kyky-shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --kyky-shadow-md: 0 10px 28px rgba(15, 23, 42, .09);
  --kyky-space-1: 4px;
  --kyky-space-2: 8px;
  --kyky-space-3: 12px;
  --kyky-space-4: 16px;
  --kyky-space-5: 24px;
  --kyky-space-6: 32px;
  --kyky-space-7: 48px;
  --kyky-space-8: 64px;
  font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--kyky-primary);
  background: var(--kyky-background);
  font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body, button, input, select, textarea { font-family: inherit; }
a { color: var(--kyky-accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--kyky-accent-hover); }
img { display: block; max-width: 100%; height: auto; }
button, a { touch-action: manipulation; }
h1, h2, h3, h4 { color: var(--kyky-primary); font-weight: 600; line-height: 1.12; letter-spacing: 0; overflow-wrap: anywhere; }
h1 { font-size: 56px; }
h2 { font-size: 36px; }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--kyky-focus);
  outline-offset: 3px;
}
.kyky-wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.kyky-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--kyky-primary);
  transform: translateY(-160%);
  transition: transform 180ms ease-out;
}
.kyky-skip-link:focus { color: #fff; transform: translateY(0); }

/* Header and navigation */
.kyky-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--kyky-border);
  box-shadow: var(--kyky-shadow-sm);
}
.kyky-header__inner { min-height: 76px; display: flex; align-items: center; gap: 24px; }
.kyky-brand { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; color: var(--kyky-primary); text-decoration: none; white-space: nowrap; }
.kyky-brand:hover { color: var(--kyky-primary); text-decoration: none; }
.kyky-brand__mark {
  width: 54px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid var(--kyky-accent);
  color: var(--kyky-accent);
  background: #eff8ff;
  font-size: 17px;
  font-weight: 700;
}
.kyky-brand__text { font-size: 17px; font-weight: 700; line-height: 1.15; }
.kyky-brand small { display: block; margin-top: 3px; color: var(--kyky-muted-text); font-size: 12px; font-weight: 500; }
.kyky-nav { display: flex; align-items: stretch; justify-content: flex-end; gap: 2px; margin-left: auto; }
.kyky-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-bottom: 2px solid transparent;
  color: var(--kyky-secondary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}
.kyky-nav a:hover, .kyky-nav a[aria-current="page"] { color: var(--kyky-accent); border-bottom-color: var(--kyky-accent); background: #f5faff; }
.kyky-mail {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid #b6d4e7;
  border-radius: var(--kyky-radius-sm);
  color: var(--kyky-accent);
  background: #f2f9fd;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.kyky-menu-toggle { display: none; }

/* Buttons and links */
.kyky-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--kyky-border);
  border-radius: var(--kyky-radius-sm);
  color: var(--kyky-primary);
  background: var(--kyky-surface);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.kyky-btn:hover { color: var(--kyky-accent); border-color: #9fc6dc; box-shadow: var(--kyky-shadow-sm); text-decoration: none; transform: translateY(-1px); }
.kyky-btn--primary, .kyky-btn--dark { color: #fff; border-color: var(--kyky-accent); background: var(--kyky-accent); }
.kyky-btn--primary:hover, .kyky-btn--dark:hover { color: #fff; border-color: var(--kyky-accent-hover); background: var(--kyky-accent-hover); }
.kyky-btn--secondary, .kyky-btn--ghost { color: var(--kyky-primary); border-color: #94a3b8; background: rgba(255,255,255,.92); }
.kyky-text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.kyky-text-link span, .kyky-feature__link i, .kyky-card__action i { font-style: normal; transition: transform 180ms ease; }
.kyky-text-link:hover span, .kyky-feature:hover .kyky-feature__link i, .kyky-card__link:hover .kyky-card__action i { transform: translateX(3px); }

/* Homepage */
.kyky-hero { position: relative; overflow: hidden; min-height: 620px; background: #eaf4fa; border-bottom: 1px solid var(--kyky-border); isolation: isolate; }
.kyky-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 42%;
  background-image: var(--kyky-hero-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(720px, 82%) auto;
  mix-blend-mode: multiply;
}
.kyky-hero__inner { min-height: 620px; display: flex; align-items: center; padding-block: 72px; }
.kyky-hero__copy { max-width: 670px; }
.kyky-eyebrow { color: var(--kyky-accent); font-size: 13px; font-weight: 700; line-height: 1.4; text-transform: uppercase; letter-spacing: 0; }
.kyky-hero h1 { margin: 10px 0 18px; font-size: 72px; }
.kyky-hero__copy > p { max-width: 650px; color: var(--kyky-secondary); font-size: 20px; line-height: 1.6; }
.kyky-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.kyky-hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 44px 0 0; padding: 0; background: #b9d3e2; border: 1px solid #b9d3e2; }
.kyky-hero__facts div { padding: 14px 16px; background: rgba(255,255,255,.9); }
.kyky-hero__facts dt { color: var(--kyky-primary); font-size: 18px; font-weight: 700; }
.kyky-hero__facts dd { margin: 2px 0 0; color: var(--kyky-muted-text); font-size: 13px; }
.kyky-section { padding-block: var(--kyky-space-8); }
.kyky-section--white { background: var(--kyky-surface); }
.kyky-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.kyky-section__head h2 { margin: 6px 0 0; }
.kyky-grid { display: grid; gap: 20px; }
.kyky-grid--featured, .kyky-grid--products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kyky-feature {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 0 20px 20px;
  border: 1px solid var(--kyky-border);
  border-radius: var(--kyky-radius);
  color: var(--kyky-primary);
  background: var(--kyky-surface);
  box-shadow: var(--kyky-shadow-sm);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.kyky-feature:hover { color: var(--kyky-primary); border-color: #aac9db; box-shadow: var(--kyky-shadow-md); text-decoration: none; transform: translateY(-2px); }
.kyky-feature__image { height: 210px; margin: 0 -20px 20px; display: grid; place-items: center; overflow: hidden; background: #f4f8fb; border-radius: var(--kyky-radius) var(--kyky-radius) 0 0; }
.kyky-feature__image img { width: 100%; height: 100%; padding: 18px; object-fit: contain; mix-blend-mode: multiply; }
.kyky-feature__title { font-size: 21px; font-weight: 600; line-height: 1.25; }
.kyky-feature p { margin: 10px 0 18px; color: var(--kyky-muted-text); }
.kyky-feature__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--kyky-accent); font-weight: 600; }
.kyky-capabilities { background: #eef4f7; border-block: 1px solid var(--kyky-border); }
.kyky-capabilities__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.kyky-capabilities h2 { margin: 8px 0 18px; }
.kyky-capabilities__grid > div > p { max-width: 560px; color: var(--kyky-secondary); font-size: 18px; }
.kyky-process { margin: 0; padding: 0; list-style: none; border-top: 1px solid #bdcbd5; }
.kyky-process li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid #bdcbd5; }
.kyky-process li > span { color: var(--kyky-accent); font-variant-numeric: tabular-nums; font-weight: 700; }
.kyky-process strong { font-size: 18px; }
.kyky-process p { margin: 4px 0 0; color: var(--kyky-muted-text); }
.kyky-contact-band { padding-block: 42px; color: #fff; background: var(--kyky-primary); }
.kyky-contact-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.kyky-contact-band .kyky-eyebrow { color: #7dd3fc; }
.kyky-contact-band h2 { max-width: 760px; margin: 6px 0 0; color: #fff; font-size: 32px; }

/* Page headers and breadcrumbs */
.kyky-page-head { padding: 44px 0 50px; background: #eef4f7; border-bottom: 1px solid var(--kyky-border); }
.kyky-page-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.kyky-page-head h1 { max-width: 900px; margin: 8px 0 14px; font-size: 52px; }
.kyky-page-head p { max-width: 760px; margin: 0; color: var(--kyky-secondary); font-size: 18px; }
.kyky-breadcrumbs { margin-bottom: 28px; color: var(--kyky-muted-text); font-size: 14px; }
.kyky-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.kyky-breadcrumbs li { display: inline-flex; align-items: center; min-width: 0; }
.kyky-breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #94a3b8; }
.kyky-breadcrumbs a { min-height: 44px; display: inline-flex; align-items: center; color: var(--kyky-muted-text); }
.kyky-breadcrumbs span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Catalog and cards */
.kyky-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.kyky-filter a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--kyky-border);
  border-radius: var(--kyky-radius-sm);
  color: var(--kyky-secondary);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}
.kyky-filter a:hover { color: var(--kyky-accent); border-color: #a9c9dc; background: #f3f9fd; }
.kyky-filter a span { min-width: 24px; padding: 1px 6px; border-radius: 10px; color: var(--kyky-muted-text); background: var(--kyky-muted); font-size: 12px; text-align: center; font-variant-numeric: tabular-nums; }
.kyky-results-bar { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--kyky-border); color: var(--kyky-muted-text); font-size: 14px; }
.kyky-results-bar strong { color: var(--kyky-primary); font-size: 16px; }
.kyky-card { min-width: 0; border: 1px solid var(--kyky-border); border-radius: var(--kyky-radius); background: #fff; box-shadow: var(--kyky-shadow-sm); overflow: hidden; transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.kyky-card:hover { border-color: #abc8d9; box-shadow: var(--kyky-shadow-md); transform: translateY(-2px); }
.kyky-card__link { height: 100%; display: flex; flex-direction: column; color: var(--kyky-primary); text-decoration: none; }
.kyky-card__link:hover { color: var(--kyky-primary); text-decoration: none; }
.kyky-card__image { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; background: #f2f6f9; border-bottom: 1px solid var(--kyky-border); }
.kyky-card__image img { width: 100%; height: 100%; padding: 18px; object-fit: contain; mix-blend-mode: multiply; transition: transform 220ms ease; }
.kyky-card:hover .kyky-card__image img { transform: scale(1.025); }
.kyky-card__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 18px; }
.kyky-tag { display: inline-flex; max-width: 100%; padding: 4px 8px; border-radius: 3px; color: var(--kyky-accent); background: #eaf4fa; font-size: 12px; font-weight: 600; line-height: 1.35; }
.kyky-card h3 { margin: 14px 0 10px; font-size: 20px; line-height: 1.28; }
.kyky-card__summary { display: block; margin-bottom: 18px; color: var(--kyky-muted-text); font-size: 14px; line-height: 1.55; }
.kyky-card__model { width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--kyky-border); }
.kyky-card__model small { color: var(--kyky-muted-text); font-size: 12px; text-transform: uppercase; }
.kyky-card__model strong { max-width: 70%; overflow-wrap: anywhere; text-align: right; font-variant-numeric: tabular-nums; }
.kyky-card__action { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--kyky-accent); font-size: 14px; font-weight: 600; }
.kyky-image-placeholder { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 8px; padding: 20px; color: var(--kyky-accent); background: #f1f6f9; text-align: center; }
.kyky-image-placeholder strong { font-size: 28px; line-height: 1.1; }
.kyky-image-placeholder span { color: var(--kyky-muted-text); font-size: 13px; }
.kyky-pagination { display: flex; justify-content: center; margin-top: 40px; }
.kyky-pagination .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; margin: 3px; padding: 0 12px; border: 1px solid var(--kyky-border); border-radius: var(--kyky-radius-sm); color: var(--kyky-secondary); background: #fff; font-weight: 600; text-decoration: none; }
.kyky-pagination .page-numbers:hover, .kyky-pagination .current { color: #fff; border-color: var(--kyky-accent); background: var(--kyky-accent); }
.kyky-category-note, .kyky-tech-article { margin: 0 0 28px; padding: 24px; border-left: 4px solid var(--kyky-accent); background: #f1f6f9; }
.kyky-category-note h2, .kyky-tech-article h2 { margin-top: 0; font-size: 28px; }
.kyky-method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kyky-method-grid div { padding: 16px; border: 1px solid var(--kyky-border); background: #fff; }
.kyky-method-grid b, .kyky-method-grid span { display: block; }
.kyky-method-grid b { color: var(--kyky-accent); }
.kyky-method-grid span { margin-top: 6px; color: var(--kyky-muted-text); font-size: 14px; }
.kyky-comparison { margin-top: 54px; }
.kyky-comparison h2 { font-size: 30px; }

/* Product and content pages */
.kyky-product-section { background: #fff; }
.kyky-content { max-width: 900px; margin-inline: auto; }
.kyky-content h1 { margin: 8px 0 28px; font-size: 52px; }
.kyky-product { max-width: none; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 28px; align-items: start; }
.kyky-product > * { grid-column: 1 / -1; }
.kyky-product > .kyky-product-image { grid-column: 1 / 7; grid-row: 3 / span 3; }
.kyky-product > .kyky-detail-lead, .kyky-product > .kyky-key-specs { grid-column: 7 / -1; }
.kyky-product-image { min-height: 390px; display: grid; place-items: center; margin: 0 0 30px; overflow: hidden; border: 1px solid var(--kyky-border); border-radius: var(--kyky-radius); background: #f3f7fa; }
.kyky-product-image img { width: 100%; height: 100%; max-height: 460px; padding: 24px; object-fit: contain; mix-blend-mode: multiply; }
.kyky-detail-lead { margin: 0 0 22px; padding: 0 0 0 18px; border-left: 4px solid var(--kyky-accent); color: var(--kyky-secondary); font-size: 18px; line-height: 1.65; }
.kyky-key-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 30px; }
.kyky-key-specs div { min-width: 0; padding: 14px; border: 1px solid var(--kyky-border); border-radius: var(--kyky-radius-sm); background: #f7fafc; }
.kyky-key-specs span { display: block; color: var(--kyky-muted-text); font-size: 12px; font-weight: 600; text-transform: uppercase; }
.kyky-key-specs b { display: block; margin-top: 6px; color: var(--kyky-accent); line-height: 1.3; overflow-wrap: anywhere; }
.kyky-content h2 { margin: 46px 0 16px; font-size: 32px; }
.kyky-content h3 { margin: 32px 0 12px; font-size: 23px; }
.kyky-content p, .kyky-content ul, .kyky-content ol { max-width: 820px; }
.kyky-content li { margin-block: 6px; }
.kyky-content a[href^="mailto:"] { min-height: 44px; display: inline-flex; align-items: center; }
.kyky-content table, .kyky-specs { width: 100%; margin: 24px 0; border-collapse: collapse; background: #fff; font-size: 15px; font-variant-numeric: tabular-nums; }
.kyky-content th, .kyky-content td, .kyky-specs th, .kyky-specs td { padding: 12px 14px; border: 1px solid var(--kyky-border); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.kyky-content th, .kyky-specs th { color: var(--kyky-primary); background: #edf3f6; font-size: 13px; font-weight: 600; }
.kyky-content tbody tr:nth-child(even) td, .kyky-specs tbody tr:nth-child(even) td { background: #f8fafc; }
.kyky-specs td:last-child a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; }
.kyky-table-scroll, .kyky-spec-table { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.kyky-table-scroll .kyky-specs, .kyky-spec-table table { min-width: 620px; }
.kyvac-source-content { margin-top: 16px; }
.kyvac-source-content > p:first-child { font-size: 18px; color: var(--kyky-secondary); }
.kyky-detail-list { margin: 12px 0 24px; padding-left: 22px; }
.kyky-related { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 28px; }
.kyky-related a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--kyky-border); border-radius: var(--kyky-radius-sm); color: var(--kyky-secondary); background: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.kyky-related a:hover { color: var(--kyky-accent); border-color: #a9c9dc; }

/* Footer */
.kyky-footer { padding: 50px 0 0; color: #cbd5e1; background: var(--kyky-primary); }
.kyky-footer__grid { display: grid; grid-template-columns: 1.35fr .8fr .8fr 1fr; gap: 48px; }
.kyky-footer__grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.kyky-footer__brand { color: #fff; font-size: 20px; font-weight: 700; text-decoration: none; }
.kyky-footer p { max-width: 430px; color: #94a3b8; }
.kyky-footer strong { margin-bottom: 4px; color: #fff; }
.kyky-footer a { min-height: 44px; display: inline-flex; align-items: center; color: #cbd5e1; text-decoration: none; }
.kyky-footer a:hover { color: #fff; text-decoration: underline; }
.kyky-footer__contact a { color: #7dd3fc; font-size: 17px; font-weight: 600; }
.kyky-footer__contact span { color: #94a3b8; }
.kyky-footer__bottom { margin-top: 38px; padding-block: 18px; border-top: 1px solid #27364d; color: #94a3b8; font-size: 13px; }

@media (max-width: 1100px) {
  .kyky-mail { display: none; }
  .kyky-grid--featured, .kyky-grid--products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kyky-hero::after { background-size: 92% auto; }
  .kyky-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  h1 { font-size: 42px; }
  h2 { font-size: 32px; }
  .kyky-wrap { width: min(100% - 32px, 720px); }
  .kyky-header__inner { min-height: 68px; }
  .kyky-menu-toggle {
    min-width: 88px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-left: auto;
    padding: 0 12px;
    border: 1px solid var(--kyky-border);
    border-radius: var(--kyky-radius-sm);
    color: var(--kyky-primary);
    background: #fff;
    font-weight: 600;
    cursor: pointer;
  }
  .kyky-menu-toggle__icon { width: 18px; display: grid; gap: 4px; }
  .kyky-menu-toggle__icon i { height: 2px; display: block; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
  .kyky-menu-toggle[aria-expanded="true"] .kyky-menu-toggle__icon i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .kyky-menu-toggle[aria-expanded="true"] .kyky-menu-toggle__icon i:nth-child(2) { opacity: 0; }
  .kyky-menu-toggle[aria-expanded="true"] .kyky-menu-toggle__icon i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .kyky-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 18px;
    border-bottom: 1px solid var(--kyky-border);
    background: #fff;
    box-shadow: var(--kyky-shadow-md);
  }
  .kyky-menu-open .kyky-nav { display: flex; }
  .kyky-nav a { min-height: 48px; padding-inline: 12px; border-bottom: 1px solid var(--kyky-border); }
  .kyky-nav a:hover, .kyky-nav a[aria-current="page"] { border-bottom-color: var(--kyky-border); border-left: 3px solid var(--kyky-accent); }
  .kyky-hero { min-height: 720px; }
  .kyky-hero::after { inset: auto 0 0; height: 330px; background-size: min(580px, 88%) auto; background-position: center bottom 24px; opacity: .9; }
  .kyky-hero__inner { min-height: 720px; align-items: flex-start; padding: 58px 0 320px; }
  .kyky-hero h1 { font-size: 58px; }
  .kyky-capabilities__grid { grid-template-columns: 1fr; gap: 32px; }
  .kyky-page-head__row, .kyky-contact-band__inner { align-items: flex-start; flex-direction: column; }
  .kyky-page-head h1 { font-size: 42px; }
  .kyky-product > .kyky-product-image, .kyky-product > .kyky-detail-lead, .kyky-product > .kyky-key-specs { grid-column: 1 / -1; grid-row: auto; }
  .kyky-product-image { min-height: 320px; }
  .kyky-content h1 { font-size: 42px; }
}

@media (max-width: 600px) {
  body { line-height: 1.6; }
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .kyky-wrap { width: calc(100% - 32px); }
  .kyky-brand__mark { width: 48px; height: 36px; font-size: 15px; }
  .kyky-brand__text { font-size: 15px; }
  .kyky-brand small { font-size: 11px; }
  .kyky-menu-toggle { min-width: 48px; width: 48px; padding: 0; }
  .kyky-menu-toggle > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .kyky-section { padding-block: 48px; }
  .kyky-section__head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .kyky-hero { min-height: 680px; }
  .kyky-hero__inner { min-height: 680px; padding: 48px 0 200px; }
  .kyky-hero::after { height: 200px; }
  .kyky-hero h1 { font-size: 48px; }
  .kyky-hero__copy > p { font-size: 17px; }
  .kyky-actions { flex-direction: column; align-items: stretch; }
  .kyky-actions .kyky-btn { width: 100%; }
  .kyky-hero__facts { display: none; }
  .kyky-grid--featured, .kyky-grid--products, .kyky-method-grid { grid-template-columns: 1fr; }
  .kyky-feature__image { height: 190px; }
  .kyky-page-head { padding: 30px 0 36px; }
  .kyky-page-head h1, .kyky-content h1 { font-size: 34px; }
  .kyky-page-head p, .kyky-detail-lead { font-size: 16px; }
  .kyky-breadcrumbs { margin-bottom: 20px; }
  .kyky-breadcrumbs li:last-child { max-width: 230px; }
  .kyky-breadcrumbs li:last-child span { overflow: visible; white-space: normal; overflow-wrap: anywhere; }
  .kyky-filter { flex-wrap: nowrap; margin-inline: -16px; padding: 0 16px 8px; overflow-x: auto; scroll-snap-type: x proximity; }
  .kyky-filter a { flex: 0 0 auto; scroll-snap-align: start; }
  .kyky-results-bar { align-items: flex-start; flex-direction: column; gap: 2px; }
  .kyky-product { display: block; }
  .kyky-product-image { min-height: 270px; }
  .kyky-key-specs { grid-template-columns: 1fr; }
  .kyky-content h2 { margin-top: 36px; font-size: 27px; }
  .kyky-content h3 { font-size: 21px; }
  .kyky-content table, .kyky-specs { font-size: 14px; }
  .kyky-content th, .kyky-content td, .kyky-specs th, .kyky-specs td { padding: 10px; }
  .kyky-pagination { flex-wrap: wrap; }
  .kyky-pagination .page-numbers { margin: 2px; }
  .kyky-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .kyky-contact-band h2 { font-size: 27px; }
}

@media (max-width: 340px) and (max-height: 780px) {
  .kyky-hero { min-height: 640px; }
  .kyky-hero__inner { min-height: 640px; padding-top: 36px; }
  .kyky-hero h1 { font-size: 43px; }
}

@media (orientation: landscape) and (max-height: 560px) and (min-width: 601px) and (max-width: 860px) {
  .kyky-hero { min-height: 300px; }
  .kyky-hero__inner { min-height: 300px; align-items: center; padding: 24px 0; }
  .kyky-hero__copy { max-width: 54%; }
  .kyky-hero h1 { margin: 4px 0 8px; font-size: 40px; }
  .kyky-hero__copy > p { margin-bottom: 0; font-size: 15px; line-height: 1.4; }
  .kyky-actions { flex-wrap: nowrap; margin-top: 14px; }
  .kyky-actions .kyky-btn { min-height: 44px; padding-inline: 14px; font-size: 14px; }
  .kyky-hero__facts { display: none; }
  .kyky-hero::after { inset: 0 0 0 50%; height: auto; background-position: center; background-size: 86% auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
