:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f5f5f7;
  --color-dark: #000000;
  --color-text: #15151f;
  --color-muted: #6b6b76;
  --color-strip: #e0e0e5;
  --container: 1280px;
  --gutter: 24px;
  --font: "Open Sans", system-ui, sans-serif;
  --header-h: 77px;
  --top-strip-h: 100px;
  --hero-h: 508px;
  /* Hero copy — Figma Frame 204 (1:1242), текст 1:1243 / 1:1244 */
  --hero-title-px: 35px;
  --hero-lead-px: 18px;
  --hero-copy-gap: 34px;
  --hero-copy-pad-top: 134px;
  --hero-copy-pad-x: 34px;
  --hero-lead-max: 443px;
  /* Хедер — Figma Frame 217 (1:1298): поля x=54, ліва зона ~729px, між пунктами 170px, права ~844px */
  --header-pad-x: clamp(24px, 2.8125vw, 54px);
  --header-nav-gap: clamp(16px, calc(170 / 1920 * 100vw), 170px);
  /* Крапки каруселі — Figma Frame 204 (1:1242), група 1:1245 */
  /* Крапки — низ еліпса ~374px від верху героя при h=508 → bottom ≈134px (1:1237) */
  --hero-dots-bottom: 134px;
  --hero-dots-gap: 42px;
  --hero-dot-size: 8px;
  /* Перехід слайдів — як у Figma Dissolve / Smart animate: плавний fade */
  --hero-slide-fade-duration: 0.55s;
  --hero-slide-fade-ease: cubic-bezier(0.45, 0, 0.55, 1);
  --hero-dot-fade-duration: 0.35s;
  --hero-dot-fade-ease: cubic-bezier(0.4, 0, 0.2, 1);
  /* Смуга фото — Figma «Блок 3 фото» (1:1249): h=224, верт. 12+200+12, відступи ряду 224px при 1920, gap 12 */
  --photo-strip-pad-y: 12px;
  --photo-strip-pad-x: clamp(16px, calc(224 / 1920 * 100vw), 224px);
  --photo-strip-thumb: 200px;
  --photo-strip-gap: 12px;
  /* Смуга логотипів клієнтів — безкінечний рух зліва направо */
  --clients-marquee-gap: clamp(10px, 1.2vw, 18px);
  --clients-marquee-duration: 42s;
  /* Блок 3 — Figma Frame «Блок 3» (1:1260), група 1:1261 */
  --about-block-max: 1200px;
  --about-pad-top: 22px;
  --about-pad-bottom: 22px;
  /* Текст 1:1263 / 1:1264 / 1:1265 — Open Sans, висоти рядків з bounds макету */
  --about-title-size: clamp(28px, calc(42.8 / 1920 * 100vw), 42.8px);
  --about-title-lh: calc(48 / 42.8);
  --about-title-accent: #ffb800;
  --about-title-rest: #ffffff;
  --about-title-to-columns: 59px;
  --about-col-gap: 38.67px;
  --about-paragraph-gap: 27px;
  --about-video-offset-top: 10.7px;
  --about-lead-size: clamp(17px, calc(21.4 / 1920 * 100vw), 21.4px);
  --about-lead-lh: calc(34 / 21.4);
  --about-body-size: clamp(15px, calc(19.022222 / 1920 * 100vw), 19.022222px);
  --about-body-lh: 1.2;
  /* Інформація про компанію — Figma Frame «Сео текст» (1:1458) */
  --company-info-bg: #000000;
  --company-info-accent: #ffa900;
  --company-info-rule-w: min(706px, 100%);
  --company-info-title-size: clamp(20px, calc(24 / 1920 * 100vw), 24px);
  --company-info-body-size: clamp(16px, calc(18 / 1920 * 100vw), 18px);
  /* Блок 5 — Figma «Професійні кавомашини» Frame 115 (1:1290), картки 1:1291–1:1296 */
  --professional-pad-y: 20px;
  --professional-pad-x: 40px;
  --professional-title-size: clamp(26px, calc(33 / 1920 * 100vw), 33px);
  --professional-title-lh: calc(32 / 33);
  --professional-title-to-cards: 24px;
  --professional-card-w: 144.86083984375px;
  --professional-card-gap: 12px;
  --professional-card-radius: 16px;
  --professional-card-bg: #1c1c1c;
  --professional-card-bg-hover: #000000;
  --professional-title-accent: var(--about-title-accent);
  --professional-title-rest: #ffffff;
  /* Висота фото-фрейму / ширина картки (для aspect-ratio = w/h) */
  /* Картки: assets/km/wmf_* /card.png (експорт Frame 114, майстри WMF 320: 1:823…1:863) */
  --professional-ph-aspect-w-over-h: calc(182.73294067382812 / 266.26800537109375);
  /* Hover карток — стандартний «ease» як у інспекторі Figma (0.4 / 0.2) */
  --professional-card-hover-dur: 0.35s;
  --professional-card-hover-ease: cubic-bezier(0.4, 0, 0.2, 1);
  /* Блок WMF 1500 S+ — Figma Frame 135 (1:1331): типографіка через --about-body-* */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.visually-hidden {
  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: 1000;
  padding: 12px 20px;
  background: var(--color-dark);
  color: #fff;
}

.skip-link:focus {
  left: var(--gutter);
  top: 8px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Top strip — Figma Frame 216 (1:1232): дві колонки 960px + 960px при 1920px, без обводки */
.top-strip {
  display: flex;
  width: 100%;
  height: var(--top-strip-h);
  flex-shrink: 0;
}

.top-strip__left,
.top-strip__right {
  flex: 0 0 50%;
  width: 50%;
  min-width: 0;
}

.top-strip__left {
  background: var(--color-strip);
}

.top-strip__right {
  background: var(--color-dark);
}

/* Header */
.site-header {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 50;
  padding-block: 12px;
  padding-inline: var(--header-pad-x);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.site-header__left {
  display: flex;
  align-items: center;
  flex: 1 1 50%;
  max-width: 50%;
  min-width: 0;
  gap: clamp(12px, 1.5vw, 40px);
}

.site-logo {
  flex-shrink: 0;
}

.site-logo img {
  display: block;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 8px;
  column-gap: clamp(10px, 1.1vw, 28px);
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-start;
}

.site-nav a {
  font-weight: 600;
  font-size: clamp(12px, calc(11px + 0.35vw), 16px);
  line-height: 1.15;
  text-transform: uppercase;
  color: rgba(21, 21, 31, 0.92);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--color-text);
  text-decoration: none;
}

.site-header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  box-sizing: border-box;
  flex: 1 1 50%;
  max-width: 50%;
  min-width: 0;
  gap: clamp(16px, 3vw, 48px);
}

.site-header__icons {
  display: flex;
  align-items: center;
  gap: 60px;
}

.icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.icon-link:hover {
  opacity: 0.85;
  text-decoration: none;
}

@keyframes wmf-callback-wave {
  0% {
    transform: scale(1);
    opacity: 0.65;
  }
  100% {
    transform: scale(2.35);
    opacity: 0;
  }
}

@keyframes wmf-callback-shake {
  0%,
  55%,
  100% {
    transform: rotate(0deg);
  }
  8% {
    transform: rotate(-16deg);
  }
  16% {
    transform: rotate(16deg);
  }
  24% {
    transform: rotate(-12deg);
  }
  32% {
    transform: rotate(12deg);
  }
  40% {
    transform: rotate(-7deg);
  }
  48% {
    transform: rotate(7deg);
  }
}

.site-header__callback-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  overflow: visible;
}

.site-header__callback-btn__disc {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #4ade80 0%, #22c55e 42%, #15803d 100%);
  color: #fff;
  box-shadow:
    0 4px 16px rgba(22, 163, 74, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.35) inset;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.site-header__callback-btn__disc::before,
.site-header__callback-btn__disc::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 50%;
  border: 2px solid rgba(34, 197, 94, 0.55);
  pointer-events: none;
  animation: wmf-callback-wave 2.2s ease-out infinite;
}

.site-header__callback-btn__disc::after {
  animation-delay: 1.1s;
}

.site-header__callback-btn__icon {
  position: relative;
  z-index: 1;
  display: block;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
  transform-origin: 50% 65%;
  animation: wmf-callback-shake 1.35s ease-in-out infinite;
}

.site-header__callback-btn__label {
  max-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  font-weight: 600;
  font-size: clamp(12px, calc(11px + 0.35vw), 15px);
  line-height: 1.15;
  white-space: nowrap;
  color: #15803d;
  text-shadow: 0 0 12px rgba(34, 197, 94, 0.35);
  pointer-events: none;
  transition:
    max-width 0.35s ease,
    opacity 0.28s ease,
    margin 0.28s ease,
    padding 0.28s ease;
}

.site-header__callback-btn:hover .site-header__callback-btn__label,
.site-header__callback-btn:focus-visible .site-header__callback-btn__label {
  max-width: 280px;
  margin-left: 12px;
  padding-right: 2px;
  opacity: 1;
}

.site-header__callback-btn:hover .site-header__callback-btn__disc,
.site-header__callback-btn:focus-visible .site-header__callback-btn__disc {
  transform: scale(1.06);
  box-shadow:
    0 6px 22px rgba(22, 163, 74, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.4) inset;
}

.site-header__callback-btn:focus {
  outline: none;
}

.site-header__callback-btn:focus-visible {
  outline: 3px solid rgba(34, 197, 94, 0.85);
  outline-offset: 3px;
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .site-header__callback-btn__disc::before,
  .site-header__callback-btn__disc::after,
  .site-header__callback-btn__icon {
    animation: none !important;
  }

  .site-header__callback-btn:hover .site-header__callback-btn__disc,
  .site-header__callback-btn:focus-visible .site-header__callback-btn__disc {
    transform: none;
  }

  .site-header__callback-btn__label {
    transition: none;
  }
}

.wmf-callback-modal {
  padding: 0;
  border: none;
  border-radius: 8px;
  max-width: min(420px, calc(100vw - 32px));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.wmf-callback-modal::backdrop {
  background: rgba(15, 15, 25, 0.5);
}

.wmf-callback-modal__inner {
  position: relative;
  padding: 24px 20px 20px;
}

.wmf-callback-modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: rgba(21, 21, 31, 0.55);
  cursor: pointer;
}

.wmf-callback-modal__close:hover {
  color: var(--color-text, #15151f);
}

.wmf-callback-modal__title {
  margin: 0 32px 8px 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text, #15151f);
}

.wmf-callback-modal__lead {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: rgba(21, 21, 31, 0.75);
}

.wmf-callback-form__field {
  margin: 0 0 12px;
}

.wmf-callback-form__field label {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 0.875rem;
}

.wmf-callback-form__field input,
.wmf-callback-form__field textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #c3c4c7;
  border-radius: 4px;
  font: inherit;
}

.wmf-callback-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
}

.wmf-callback-form__submit {
  padding: 8px 18px;
  border: 0;
  border-radius: 4px;
  background: var(--color-dark, #15151f);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.wmf-callback-form__submit:hover {
  opacity: 0.92;
}

.wmf-callback-form__cancel {
  padding: 8px 14px;
  border: 1px solid #c3c4c7;
  border-radius: 4px;
  background: #fff;
  font-weight: 600;
  cursor: pointer;
}

.wmf-callback-form__message {
  margin: 12px 0 0;
  font-size: 0.9rem;
}

.wmf-callback-form__message--ok {
  color: #1e4620;
}

.wmf-callback-form__message--error {
  color: #b32d2e;
}

.lang-dropdown {
  position: relative;
}

.lang-dropdown__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #fff;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
}

.lang-dropdown__chevron {
  filter: brightness(0) invert(1);
}

.lang-dropdown__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  margin: 0;
  padding: 8px 0;
  list-style: none;
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--color-strip);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 60;
}

.lang-dropdown__menu li {
  padding: 8px 16px;
  cursor: default;
  font-size: 14px;
}

.lang-dropdown__menu li[aria-selected="true"] {
  font-weight: 600;
  background: var(--color-bg-alt);
}

/* Hero */
.hero {
  position: relative;
  min-height: var(--hero-h);
  background: var(--color-dark);
}

.hero__track {
  position: relative;
  min-height: var(--hero-h);
}

.hero__slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transition:
    opacity var(--hero-slide-fade-duration) var(--hero-slide-fade-ease),
    visibility 0s linear var(--hero-slide-fade-duration);
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
  transition:
    opacity var(--hero-slide-fade-duration) var(--hero-slide-fade-ease),
    visibility 0s linear 0s;
}

.hero__copy {
  padding: clamp(48px, 6.98vw, var(--hero-copy-pad-top)) clamp(16px, 1.77vw, var(--hero-copy-pad-x)) 0;
  display: flex;
  flex-direction: column;
  gap: var(--hero-copy-gap);
  justify-content: flex-start;
  align-items: flex-start;
  max-width: 490px;
}

.hero__title {
  margin: 0;
  font-weight: 600;
  font-size: clamp(26px, 4.2vw, var(--hero-title-px));
  line-height: calc(48 / 35);
  text-transform: uppercase;
  color: #fff;
  max-width: 490px;
}

.hero__text {
  margin: 0;
  font-size: clamp(16px, 2.2vw, var(--hero-lead-px));
  line-height: 1.62;
  color: #fff;
  max-width: var(--hero-lead-max);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--about-title-accent);
  color: #000;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  transition: transform 160ms ease, background-color 160ms ease, opacity 160ms ease;
}

.hero__cta:hover {
  transform: translateY(-1px);
}

.hero__cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.hero__visual {
  position: relative;
  overflow: hidden;
  min-height: 240px;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  min-height: var(--hero-h);
}

/* Окремі растри на слайдах; кадрування під різні співвідношення сторін */
.hero__slide[data-slide="1"] .hero__visual img {
  object-position: 50% 45%;
}

.hero__slide[data-slide="2"] .hero__visual img {
  object-position: 52% center;
}

.hero__dots {
  position: absolute;
  left: 0;
  width: 50%;
  max-width: none;
  margin-inline: 0;
  bottom: var(--hero-dots-bottom);
  padding-left: clamp(16px, 4vw, var(--hero-copy-pad-x));
  padding-right: 16px;
  display: flex;
  gap: var(--hero-dots-gap);
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  /* Поверх .hero__slide.is-active (z-index: 1), інакше слайд перехоплює кліки по крапках */
  z-index: 2;
}

.hero__dot {
  width: var(--hero-dot-size);
  height: var(--hero-dot-size);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background-color var(--hero-dot-fade-duration) var(--hero-dot-fade-ease),
    opacity var(--hero-dot-fade-duration) var(--hero-dot-fade-ease);
}

.hero__dot.is-active,
.hero__dot[aria-selected="true"] {
  background: #fff;
}

.hero__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide {
    transition-duration: 0.01ms;
    transition-delay: 0s !important;
  }

  .hero__dot {
    transition-duration: 0.01ms;
  }
}

/* Photo strip */
.photo-strip {
  position: relative;
  background: #fff;
  padding-block: var(--photo-strip-pad-y);
  overflow: hidden;
}

.photo-strip__scroller {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.photo-strip__list {
  display: flex;
  gap: var(--photo-strip-gap);
  list-style: none;
  margin: 0;
  padding-inline: var(--photo-strip-pad-x);
  width: max-content;
}

.photo-strip__list li {
  flex: 0 0 var(--photo-strip-thumb);
  scroll-snap-align: start;
  width: var(--photo-strip-thumb);
  height: var(--photo-strip-thumb);
  overflow: hidden;
}

.photo-strip__list img {
  width: var(--photo-strip-thumb);
  height: var(--photo-strip-thumb);
  object-fit: cover;
}

.photo-strip__fade {
  pointer-events: none;
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(713px, 40vw);
  z-index: 2;
}

.photo-strip__fade--left {
  left: 0;
  background: linear-gradient(
    90deg,
    rgb(224, 224, 229) 45%,
    rgba(224, 224, 229, 0) 100%
  );
}

.photo-strip__fade--right {
  right: 0;
  background: linear-gradient(
    270deg,
    rgb(224, 224, 229) 44.5%,
    rgba(224, 224, 229, 0) 100%
  );
}

/* Блок 6 партнери — Figma «Блок 6 Партнери» (1:1449): фон #232120, ряд логотипів */
.clients {
  background: #232120;
  padding-block: clamp(28px, 4.2vw, 42px);
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.clients__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 52px;
}

.clients__fade {
  pointer-events: none;
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(80px, 12vw);
  z-index: 2;
}

.clients__fade--left {
  left: 0;
  background: linear-gradient(90deg, #232120 20%, rgba(35, 33, 32, 0) 100%);
}

.clients__fade--right {
  right: 0;
  background: linear-gradient(270deg, #232120 20%, rgba(35, 33, 32, 0) 100%);
}

.clients__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  animation: clients-marquee-ltr var(--clients-marquee-duration) linear infinite;
  will-change: transform;
}

@keyframes clients-marquee-ltr {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.clients__logos {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-inline-end: var(--clients-marquee-gap);
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  column-gap: var(--clients-marquee-gap);
  flex: 0 0 auto;
}

.clients__item {
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}

.clients__logo {
  display: block;
  height: auto;
  width: auto;
  max-height: 42px;
  max-width: min(140px, 26vw);
  object-fit: contain;
}

.clients__logo--tall {
  max-height: 65px;
}

@media (prefers-reduced-motion: reduce) {
  .clients__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    will-change: auto;
  }

  .clients__logos {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: clamp(16px, 2.5vw, 24px);
  }

  .clients__logos--clone {
    display: none;
  }

  .clients__fade {
    display: none;
  }
}

/* Sections */
.section {
  padding-block: clamp(40px, 6vw, 72px);
}

.section--light {
  background: var(--color-bg);
}

.section--alt {
  background: var(--color-bg-alt);
}

.section__title {
  margin: 0 0 24px;
  font-weight: 600;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.25;
  text-transform: uppercase;
}

.section__title--center {
  text-align: center;
}

.section__title--left {
  text-align: left;
}

/* About — Figma «Блок 3» (1:1260): фон #000, текст #fff; заголовок 1:1263 — градієнт (fills mixed) */
.about {
  padding-block: var(--about-pad-top) var(--about-pad-bottom);
  background: #000000;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.about__container {
  width: 100%;
  max-width: var(--about-block-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  box-sizing: border-box;
}

.about__title {
  margin: 0 0 var(--about-title-to-columns);
  padding: 0;
  font-family: var(--font);
  text-align: center;
  font-size: var(--about-title-size);
  line-height: var(--about-title-lh);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--about-title-rest);
}

.about__title-accent {
  color: var(--about-title-accent);
}

.about__title-rest {
  color: var(--about-title-rest);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 556.64fr) minmax(0, 502.37fr);
  gap: var(--about-col-gap);
  align-items: start;
}

.about__video {
  margin-top: var(--about-video-offset-top);
}

.about__lead {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--about-lead-size);
  line-height: var(--about-lead-lh);
  color: #ffffff;
  text-align: left;
}

.about__body {
  margin: var(--about-paragraph-gap) 0 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--about-body-size);
  line-height: var(--about-body-lh);
  text-align: justify;
  color: #ffffff;
}

.about__lead > p:first-child {
  margin: 0;
}

.about__body--rich > p {
  margin: 0 0 1em;
  text-align: justify;
}

.about__body--rich > p:last-child {
  margin-bottom: 0;
}

/* Інформація про компанію — Figma «Сео текст» (1:1458); фон #000, акцент #ffa900 */
.company-info {
  padding-block: clamp(32px, 5vw, 56px);
  background: var(--company-info-bg);
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.company-info__inner {
  padding-inline: var(--header-pad-x);
  box-sizing: border-box;
}

.company-info__rule {
  width: var(--company-info-rule-w);
  height: 0;
  margin: 0 auto clamp(18px, 2.5vw, 28px);
  border: 0;
  border-top: 1px solid var(--company-info-accent);
}

.company-info__title {
  margin: 0 0 clamp(16px, 2vw, 24px);
  max-width: 100%;
  font-family: var(--font);
  font-weight: 600;
  font-size: var(--company-info-title-size);
  line-height: calc(28 / 24);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--company-info-accent);
}

.company-info__text {
  margin: 0;
  max-width: 100%;
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--company-info-body-size);
  line-height: 1.45;
  color: #ffffff;
}

.company-info__text--rich > p {
  margin: 0 0 1em;
}

.company-info__text--rich > p:last-child {
  margin-bottom: 0;
}

.video-embed--about {
  border-radius: 13.6894111633px;
  background: #0d0d0d;
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: 4px;
  overflow: hidden;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-embed--empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-embed__placeholder {
  margin: 0;
  padding: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.video-embed__note {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--color-muted);
}

.video-embed__note--about {
  font-family: var(--font);
  color: rgba(255, 255, 255, 0.72);
}

.video-embed--about .video-embed__placeholder {
  color: #eeeeee;
  font-size: clamp(12px, 1.5vw, 14px);
}

/* Професійні та побутові кавомашини — Figma 1:1287 / 1:1389 */
.professional.section,
.household.section {
  padding-block: var(--professional-pad-y);
  background: #000000;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.spotlight__machine-trigger {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.spotlight__machine-trigger:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 4px;
}

.wmf-lightbox-open {
  overflow: hidden;
}

.wmf-lightbox[hidden] {
  display: none;
}

.wmf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.wmf-lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: grid;
  place-items: center;
  padding: 24px;
}

.wmf-lightbox__dialog {
  position: relative;
  max-width: min(1100px, 100%);
  max-height: min(86vh, 100%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
}

.wmf-lightbox__img {
  max-width: min(920px, 80vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.wmf-lightbox__close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.wmf-lightbox__nav {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.wmf-lightbox__nav[hidden] {
  display: none;
}

.wmf-lightbox__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.professional .container,
.household .container {
  max-width: 1920px;
  padding-inline: var(--professional-pad-x);
}

.professional__title.section__title {
  margin: 0 0 var(--professional-title-to-cards);
  font-size: var(--professional-title-size);
  line-height: var(--professional-title-lh);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--professional-title-rest);
}

.professional__title-accent {
  color: var(--professional-title-accent);
}

.professional__title-rest {
  color: var(--professional-title-rest);
}

.professional__cards.card-row--6 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: var(--professional-card-gap);
  width: 100%;
  max-width: 100%;
}

.household__cards.card-row--3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: var(--professional-card-gap);
  width: 100%;
  max-width: 100%;
}

.professional .machine-card,
.household .machine-card {
  flex: 0 0 auto;
  width: min(100%, var(--professional-card-w));
  max-width: var(--professional-card-w);
  box-shadow: none;
  transition: transform var(--professional-card-hover-dur) var(--professional-card-hover-ease);
}

.professional .machine-card__link,
.household .machine-card__link {
  display: block;
}

.professional .machine-card__link:hover,
.household .machine-card__link:hover {
  text-decoration: none;
}

.professional .machine-card__cap,
.household .machine-card__cap {
  display: block;
  margin-top: 6px;
  font-family: var(--font);
  font-size: clamp(12px, calc(14.8 / 1920 * 100vw), 14.8px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-align: center;
}

.household .machine-card__cap {
  margin-top: 10px;
  padding-inline: 4px;
  font-size: clamp(11px, calc(13 / 1920 * 100vw), 13px);
  line-height: 1.35;
  text-wrap: balance;
}

.professional .machine-card__ph,
.household .machine-card__ph {
  position: relative;
  aspect-ratio: var(--professional-ph-aspect-w-over-h);
  width: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: var(--professional-card-bg);
  background-image: none;
  border-radius: var(--professional-card-radius);
  overflow: hidden;
  box-shadow: none;
  transition: background-color var(--professional-card-hover-dur) var(--professional-card-hover-ease);
}

/* Одна висота рамки для всіх побутових карток (як найвище зображення 760) */
.household .machine-card__ph {
  aspect-ratio: 458 / 578;
}

.household .machine-card__ph img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.professional .machine-card__ph img,
.household .machine-card__ph img {
  position: relative;
  transform-origin: 50% 65%;
  filter: grayscale(1) brightness(0.92);
  transition:
    transform calc(var(--professional-card-hover-dur) + 0.04s) var(--professional-card-hover-ease),
    filter var(--professional-card-hover-dur) var(--professional-card-hover-ease);
}

@media (hover: hover) and (pointer: fine) {
  .professional .machine-card:hover,
  .professional .machine-card:focus-within,
  .household .machine-card:hover,
  .household .machine-card:focus-within {
    transform: translateY(-3px);
  }

  .professional .machine-card:hover .machine-card__ph,
  .professional .machine-card:focus-within .machine-card__ph,
  .household .machine-card:hover .machine-card__ph,
  .household .machine-card:focus-within .machine-card__ph {
    background-color: var(--professional-card-bg-hover);
    box-shadow: none;
  }

  .professional .machine-card:hover .machine-card__ph img,
  .professional .machine-card:focus-within .machine-card__ph img,
  .household .machine-card:hover .machine-card__ph img,
  .household .machine-card:focus-within .machine-card__ph img {
    transform: scale(1.04);
    filter: grayscale(0) brightness(1) saturate(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .professional .machine-card,
  .professional .machine-card__ph,
  .professional .machine-card__ph img,
  .professional .machine-card:hover,
  .professional .machine-card:focus-within,
  .household .machine-card,
  .household .machine-card__ph,
  .household .machine-card__ph img,
  .household .machine-card:hover,
  .household .machine-card:focus-within {
    transform: none;
  }

  .professional .machine-card:hover .machine-card__ph,
  .professional .machine-card:focus-within .machine-card__ph,
  .household .machine-card:hover .machine-card__ph,
  .household .machine-card:focus-within .machine-card__ph {
    box-shadow: none;
  }

  .professional .machine-card:hover .machine-card__ph img,
  .professional .machine-card:focus-within .machine-card__ph img,
  .household .machine-card:hover .machine-card__ph img,
  .household .machine-card:focus-within .machine-card__ph img {
    transform: none;
    filter: grayscale(0) brightness(1) saturate(1.05);
  }

  .professional .machine-card__ph img,
  .household .machine-card__ph img {
    transition-duration: 0.01ms;
  }
}

/* Для кого актуально — Figma Frame 134 (1:1441), фон 1:1442, картки 1:1445–1:1448 */
.audience.section {
  position: relative;
  padding-block: 0;
  scroll-margin-top: clamp(72px, 12vw, 120px);
  background: #000000;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.audience__frame.container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  box-sizing: border-box;
}

.audience__bg {
  grid-area: 1 / 1;
  position: relative;
  z-index: 0;
  width: 100%;
  align-self: start;
  line-height: 0;
  pointer-events: none;
}

.audience__bg-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  opacity: 0.92;
}

@media (max-width: 1199.98px) {
  .audience__bg {
    display: none;
  }
}

.audience__inner {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: stretch;
  padding-top: clamp(20px, 3.5vw, 36px);
  padding-bottom: clamp(28px, 5vw, 48px);
}

.audience__title.section__title {
  flex-shrink: 0;
  margin: 0 0 clamp(20px, 3.5vw, 32px);
  font-family: var(--font);
  font-size: clamp(26px, calc(33 / 1920 * 100vw), 33px);
  line-height: calc(40 / 33);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.audience__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 412px));
  gap: clamp(16px, 2.5vw, 24px) clamp(16px, 2.2vw, 32px);
  justify-content: start;
  justify-items: start;
  list-style: none;
  margin: 0;
  /* Як у .tech-specs__card — внутрішній відступ 20px від лівого краю колонки */
  padding: 0 0 0 20px;
  width: 100%;
  box-sizing: border-box;
}

.audience__cell {
  min-width: 0;
}

/* Картки аудиторії — Figma Component 13–16 (1:1445–1:1448): фото, радіус 12.5px, підпис #fff по центру зображення */
.audience__card {
  width: 100%;
  max-width: 412px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  box-sizing: border-box;
  outline: none;
}

.audience__card:focus-visible {
  box-shadow: 0 0 0 2px #000000, 0 0 0 4px var(--about-title-accent);
}

.audience__card-ph {
  position: relative;
  margin: 0;
  padding: 0;
  line-height: 0;
  overflow: hidden;
  border-radius: inherit;
  background: transparent;
}

.audience__card-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
  filter: grayscale(1) brightness(0.9);
  transition: filter 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.audience__card-cap {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: clamp(12px, 3vw, 20px);
  font-family: var(--font);
  font-weight: 600;
  /* Figma: Open Sans, fontSize 64, centered */
  font-size: clamp(28px, calc(48 / 1920 * 100vw), 48px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-align: center;
  color: #ffffff;
  pointer-events: none;
  background: transparent;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 0 24px rgba(0, 0, 0, 0.45);
  transition:
    color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    font-size 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    text-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    inset 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) and (pointer: fine) {
  .audience__card:hover .audience__card-img,
  .audience__card:focus-visible .audience__card-img {
    filter: grayscale(0) brightness(1) saturate(1.05);
  }

  .audience__card:hover .audience__card-cap,
  .audience__card:focus-visible .audience__card-cap {
    inset: auto 0 0 0;
    align-items: flex-end;
    justify-content: center;
    padding: 0 clamp(12px, 3vw, 20px) clamp(10px, 2.2vw, 16px);
    font-size: clamp(14px, calc(24 / 1920 * 100vw), 24px);
    line-height: 1.15;
    color: #000000;
    background: rgba(217, 217, 223, 0.85);
    border-radius: 0 0 12px 12px;
    text-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .audience__card-img {
    transition-duration: 0.01ms;
    filter: grayscale(0) brightness(1) saturate(1.05);
  }

  .audience__card-cap {
    transition-duration: 0.01ms;
  }
}

@media (max-width: 640px) {
  .audience__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Додаткове обладнання — Figma «Блок 5» (1:1429) */
.accessories.section {
  padding-block: 25px clamp(32px, 5vw, 48px);
  scroll-margin-top: clamp(72px, 12vw, 120px);
  background: #000000;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.accessories__inner.container,
.clients__inner.container {
  max-width: 1280px;
  padding-inline: clamp(16px, 3.5vw, 50px);
  box-sizing: border-box;
}

.accessories__title.section__title {
  margin: 0 0 clamp(28px, 4vw, 40px);
  font-family: var(--font);
  font-size: clamp(26px, calc(36 / 1920 * 100vw), 36px);
  line-height: calc(40 / 36);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.accessories__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 48px) clamp(20px, 4.5vw, 82px);
  align-items: start;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.accessories__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 2.5vw, 24px);
  min-width: 0;
}

.accessories__product {
  display: flex;
  justify-content: center;
  width: 100%;
}

.accessories__cap {
  margin: 0;
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
  color: #ffffff;
  max-width: 220px;
}

.accessories__card-img {
  display: block;
  width: 157px;
  max-width: min(100%, 157px);
  height: auto;
}

.accessories__spec {
  width: 100%;
  max-width: 208px;
  margin-inline: auto;
  padding: 14px 13px;
  box-sizing: border-box;
  background: #000000;
  border-radius: 10px;
}

.accessories__spec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 24px;
}

.accessories__spec-label {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.25;
  color: #ffffff;
}

.accessories__spec:not(.is-open) .tech-specs__chevron {
  transform: rotate(-180deg);
}

.accessories__spec .tech-specs__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accessories__spec.is-open .tech-specs__panel {
  grid-template-rows: 1fr;
}

.accessories__spec .tech-specs__panel-inner {
  min-height: 0;
  overflow: hidden;
  padding-top: 12px;
}

.accessories__spec-body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.35;
  color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .accessories__spec .tech-specs__panel {
    transition-duration: 0.01ms;
  }

  .accessories__spec .tech-specs__chevron {
    transition-duration: 0.01ms;
  }
}

@media (max-width: 1024px) {
  .accessories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .accessories__grid {
    grid-template-columns: 1fr;
  }
}

/* WMF 1500 S+ — Figma Frame 135 (1:1331) */
.spotlight.section {

  position: relative;
  isolation: isolate;
  overflow-x: clip;
  padding-block: 25px clamp(32px, 5vw, 48px);
  scroll-margin-top: clamp(72px, 12vw, 120px);
  background: #000000;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Верхня смуга на всю ширину: суцільний #1a1a1a (~половина висоти блоку), низ — чорний фон секції */
.spotlight.section::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 100vw;
  /* ~верхня половина візуального блоку: половина висоти вікна, обмежено по висоті */
  height: max(var(--spotlight-texture-h), min(40vw, 440px));
  min-height: 260px;
  pointer-events: none;
  background-color: #1a1a1a;
}

.spotlight__container {
  position: relative;
  z-index: 1;
  max-width: 1920px;
  padding-inline: var(--professional-pad-x);
}

/* Frame 135 (1:1331): колонка фото 364px, текст 738px, проміжок 59px */
.spotlight__grid {
  display: grid;
  grid-template-columns: minmax(0, 364px) minmax(0, 738px);
  column-gap: 59px;
  row-gap: 0;
  justify-content: center;
  align-items: start;
}

/* Дзеркально: текст і акордеон зліва, фото справа */
.spotlight--mirror .spotlight__grid {
  grid-template-columns: minmax(0, 738px) minmax(0, 364px);
}

/* Явний ряд: інакше auto-placement може кинути .spotlight__copy у 2-й ряд (порожній лівий верх). */
.spotlight--mirror .spotlight__copy {
  grid-column: 1;
  grid-row: 1;
}

.spotlight--mirror .spotlight__media {
  grid-column: 2;
  grid-row: 1;
}

.spotlight__copy {
  max-width: 738px;
  width: 100%;
  min-width: 0;
}

.spotlight__media {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.spotlight__machine-img {
  width: min(100%, 308px);
  height: auto;
  max-height: 466px;
  object-fit: contain;
}

.spotlight__title {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(28px, calc(36 / 1920 * 100vw), 36px);
  line-height: calc(40 / 36);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: left;
}

.spotlight__body {
  margin: 9px 0 0;
  max-width: 721px;
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--about-body-size);
  line-height: var(--about-body-lh);
  text-align: justify;
  color: #ffffff;
}

/* Frame 120: висота ряду 209px; текст y=50 від верху фрейму (padding-top на блоці тексту) */
.spotlight__feature {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  column-gap: 32px;
  row-gap: 0;
  margin-top: 21px;
  max-width: 738px;
  min-height: 209px;
}

.spotlight__accordion-outer {
  flex: 0 0 auto;
  max-width: 100%;
  padding-top: 14px;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: visible;
}

/* Frame 87 у макеті: 290×180, gap 5px, радіус 5px; колонки 115 + 5×30 */
.spotlight__accordion {
  --spotlight-acc-h: 180px;
  --spotlight-acc-gap: 5px;
  --spotlight-acc-radius: 5px;
  --spotlight-acc-dur: 0.5s;
  --spotlight-acc-ease: cubic-bezier(0.4, 0, 0.2, 1);

  display: flex;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 290px;
  max-width: 100%;
  height: var(--spotlight-acc-h);
  gap: var(--spotlight-acc-gap);
}

.spotlight__acc-panel {
  position: relative;
  box-sizing: border-box;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--spotlight-acc-radius);
  background: #0a0a0a;
  cursor: pointer;
  overflow: hidden;
  min-width: 0;
  transition:
    flex-grow var(--spotlight-acc-dur) var(--spotlight-acc-ease),
    flex-shrink var(--spotlight-acc-dur) var(--spotlight-acc-ease),
    flex-basis var(--spotlight-acc-dur) var(--spotlight-acc-ease),
    box-shadow var(--spotlight-acc-dur) var(--spotlight-acc-ease);
}

/* Статичний стан = макет Figma */
.spotlight__accordion:not(.spotlight__accordion--interactive) .spotlight__acc-panel:nth-child(1) {
  flex: 0 0 115px;
  width: 115px;
  max-width: 115px;
}

.spotlight__accordion:not(.spotlight__accordion--interactive) .spotlight__acc-panel:nth-child(n + 2) {
  flex: 0 0 30px;
  width: 30px;
  max-width: 30px;
}

/* Після кліку — анімація в межах тих самих 290px */
.spotlight__accordion.spotlight__accordion--interactive .spotlight__acc-panel {
  flex: 1 1 0;
  width: auto;
  max-width: none;
}

.spotlight__accordion.spotlight__accordion--interactive .spotlight__acc-panel.is-active {
  flex-grow: 5;
}

.spotlight__accordion--interactive .spotlight__acc-panel:not(.is-active) .spotlight__acc-img {
  filter: blur(2px) brightness(0.72) saturate(0.92);
  transform: scale(1.06);
}

.spotlight__accordion--interactive .spotlight__acc-panel.is-active .spotlight__acc-img {
  filter: none;
  transform: none;
}

.spotlight__acc-img {
  transition:
    filter calc(var(--spotlight-acc-dur) * 0.85) var(--spotlight-acc-ease),
    transform calc(var(--spotlight-acc-dur) * 0.85) var(--spotlight-acc-ease);
}

.spotlight__acc-img-wrap {
  position: absolute;
  inset: 0;
  display: block;
}

.spotlight__acc-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.spotlight__acc-panel:focus {
  outline: none;
}

.spotlight__acc-panel:focus-visible {
  box-shadow: 0 0 0 2px #000000, 0 0 0 4px var(--about-title-accent);
}

@media (prefers-reduced-motion: reduce) {
  .spotlight__acc-panel,
  .spotlight__acc-img {
    transition-duration: 0.01ms;
  }
}

.spotlight__feature-copy {
  flex: 1 1 200px;
  min-width: 0;
  max-width: 366px;
  padding-top: 50px;
  box-sizing: border-box;
  position: relative;
}

.spotlight__feature-text {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.2;
  color: #ffffff;
}

.spotlight__feature-text[hidden] {
  display: none !important;
}

.spotlight__feature-lead {
  font-weight: 600;
}

@media (max-width: 960px) {
  .spotlight__grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .spotlight--mirror .spotlight__grid {
    grid-template-columns: 1fr;
  }

  .spotlight--mirror .spotlight__media,
  .spotlight--mirror .spotlight__copy {
    grid-column: auto;
    grid-row: auto;
  }

  .spotlight__copy {
    max-width: 738px;
    width: 100%;
  }

  .spotlight__title {
    text-align: center;
  }

  .spotlight__body {
    text-align: left;
    max-width: none;
  }

  .spotlight__feature {
    justify-content: center;
    max-width: 100%;
  }

  .spotlight__accordion-outer {
    padding-top: 0;
  }

  .spotlight__feature-copy {
    max-width: 100%;
    padding-top: 20px;
  }

  .spotlight__feature-text {
    text-align: left;
  }
}

/* Технічні характеристики — Figma Frame 127 (1:1361), інстанс padding 20, радіус 10 */
.tech-specs {
  width: 100%;
  max-width: 1180px;
  margin: clamp(5px, 1.75vw, 5px) auto 0;
  box-sizing: border-box;
}

.tech-specs__card {
  background: #000000;
  border-radius: 10px;
  padding: 20px;
  box-sizing: border-box;
}

.tech-specs__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 24px;
}

.tech-specs__title {
  margin: 0;
  font-family: var(--font);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}

.tech-specs__toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ffa900;
  color: #000000;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
}

.tech-specs__toggle:focus {
  outline: none;
}

.tech-specs__toggle:focus-visible {
  box-shadow: 0 0 0 2px #000000, 0 0 0 4px var(--about-title-accent);
}

.tech-specs__chevron {
  display: block;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-specs:not(.is-open) .tech-specs__chevron {
  transform: rotate(-180deg);
}

.tech-specs__rule {
  height: 1px;
  margin-top: 20px;
  background: #ffa900;
}

.tech-specs__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-specs.is-open .tech-specs__panel {
  grid-template-rows: 1fr;
}

.tech-specs__panel-inner {
  min-height: 0;
  overflow: hidden;
  padding-top: 20px;
}

.tech-specs__layout {
  display: grid;
  grid-template-columns: minmax(0, 309px) minmax(0, 294px) minmax(220px, 352px);
  gap: 0 32px;
  align-items: start;
}

.tech-specs__main {
  grid-column: 1 / 3;
  margin: 0;
}

.tech-specs__notes {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
}

.tech-specs__row {
  display: grid;
  grid-template-columns: minmax(0, 309px) minmax(0, 294px);
  column-gap: 32px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 169, 0, 0.4);
}

.tech-specs__row:first-child {
  padding-top: 0;
}

.tech-specs__label,
.tech-specs__value {
  margin: 0;
  font-family: var(--font);
  font-size: 12px;
  line-height: 1.25;
  text-align: justify;
  color: #ffffff;
}

.tech-specs__notes-body {
  margin: 0 0 12px;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.35;
  text-align: justify;
  color: rgba(255, 255, 255, 0.8);
}

.tech-specs__notes-body:last-child {
  margin-bottom: 0;
}

.tech-specs__notes-body strong {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 1024px) {
  .tech-specs__layout {
    grid-template-columns: 1fr;
    gap: 24px 0;
  }

  .tech-specs__main {
    grid-column: 1;
  }

  .tech-specs__notes {
    grid-column: 1;
    grid-row: auto;
    max-width: none;
  }

  .tech-specs__row {
    grid-template-columns: 1fr;
    row-gap: 6px;
    column-gap: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tech-specs__panel {
    transition-duration: 0.01ms;
  }

  .tech-specs__chevron {
    transition-duration: 0.01ms;
  }
}

/* Побутові моделі — макет Figma Frame 133 (1:1396), спільно для 660/760/890 */
.household-model.spotlight.section::before {
  background-color: #232120;
}

.household-model .spotlight__grid {
  grid-template-columns: minmax(0, 310px) minmax(0, 739px);
  column-gap: 59px;
}

/* Через одну з професійними: 660/890 — фото зліва, 760 — дзеркально (текст зліва, фото справа) */
.household-model.spotlight--mirror .spotlight__grid {
  grid-template-columns: minmax(0, 739px) minmax(0, 310px);
}

.household-model .spotlight__copy {
  max-width: 739px;
}

.household-model__panels {
  margin-top: clamp(20px, 3.5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.75vw, 8px);
  width: 100%;
}

.household-model__panels .tech-specs {
  margin-inline: 0;
  margin-top: 0;
  max-width: none;
  width: 100%;
}

.household-model__spec-title {
  text-transform: none;
  letter-spacing: 0.02em;
}

.tech-specs__layout--two-col {
  grid-template-columns: minmax(0, 309px) minmax(0, 294px);
}

.household-model__feature-list {
  margin: 0;
  padding-left: 1.35em;
  font-family: var(--font);
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
  color: #ffffff;
}

.household-model__feature-list li {
  margin: 0;
}

.household-model__feature-list li + li {
  margin-top: 0.85em;
}

.household-model__feature-list strong {
  font-weight: 600;
}

@media (max-width: 960px) {
  .household-model .spotlight__grid,
  .household-model.spotlight--mirror .spotlight__grid {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.card-row {
  display: grid;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.card-row--6 {
  grid-template-columns: repeat(6, 1fr);
}

.card-row--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card-row--3 {
  grid-template-columns: repeat(3, 1fr);
}

.machine-card {
  text-align: center;
}

.machine-card__ph {
  aspect-ratio: 145 / 211;
  max-height: 220px;
  margin: 0 auto 12px;
  background: linear-gradient(145deg, #ddd, #bbb);
  border-radius: 4px;
  overflow: hidden;
}

.machine-card__ph img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.machine-card--tall .machine-card__ph {
  aspect-ratio: 181 / 264;
  max-height: 280px;
}

.machine-card__cap {
  font-size: 14px;
  font-weight: 600;
}

/* Product blocks */
.product-block__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.product-block--reverse .product-block__inner--img-right {
  direction: rtl;
}

.product-block--reverse .product-block__inner--img-right > * {
  direction: ltr;
}

.product-block__content h2 {
  margin: 0 0 16px;
  font-size: clamp(24px, 3vw, 32px);
}

.product-block__content p {
  margin: 0 0 16px;
}

.product-block__ph {
  min-height: 400px;
  background: linear-gradient(160deg, #e8e8ed, #c8c8d0);
  border-radius: 6px;
}

.product-block__ph--sm {
  min-height: 320px;
}

.product-block__img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  margin-inline: auto;
  border-radius: 6px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 8px;
}

.spec-table th,
.spec-table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-strip);
}

.spec-table th {
  font-weight: 600;
  color: var(--color-text);
  width: 52%;
}

.spec-table td {
  color: var(--color-muted);
}

.spec-table__note {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.5;
}

.spec-placeholder {
  height: 120px;
  margin-top: 16px;
  background: repeating-linear-gradient(
    -45deg,
    #eee,
    #eee 8px,
    #f7f7f8 8px,
    #f7f7f8 16px
  );
  border-radius: 4px;
}

/* Tabs */
.section--tabs {
  background: var(--color-bg-alt);
}

.tabs-bar {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--color-strip);
}

.tabs-bar__tab {
  padding: 16px 28px;
  border: 0;
  background: transparent;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  color: var(--color-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition:
    color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-bottom-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tabs-bar__tab.is-active {
  color: var(--color-text);
  border-bottom-color: var(--color-text);
}

.tabs-bar__tab:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

.tab-panel[hidden] {
  display: none !important;
}

/* Equipment */
.equip-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.equip-card__ph {
  width: 100%;
  max-width: 157px;
  height: 320px;
  background: linear-gradient(180deg, #dfe0e6, #b8b9c2);
  border-radius: 6px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  border-radius: 4px;
  background: var(--color-dark);
  color: #fff;
  text-decoration: none;
  border: 2px solid var(--color-dark);
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
  opacity: 0.9;
}

.btn--outline {
  background: transparent;
  color: var(--color-dark);
}

.btn--ghost {
  background: transparent;
  border-color: var(--color-text);
  color: var(--color-text);
}

/* Partners */
.partners {
  background: #fff;
  border-block: 1px solid var(--color-strip);
}

.partners__list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 24px 0;
  font-weight: 600;
  color: var(--color-muted);
}

/* SEO */
.seo {
  background: var(--color-bg-alt);
}

.seo__stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.seo__block {
  background: #fff;
  padding: 32px;
  border-radius: 8px;
  border: 1px solid var(--color-strip);
}

.seo__block h2 {
  margin: 0 0 16px;
  font-size: 18px;
  text-transform: uppercase;
}

.seo__block p {
  margin: 0;
  font-size: 15px;
  color: #333;
}

/* Footer — Figma fuller 1:1467 */
.site-footer {
  background: #010101;
  color: #fff;
  padding-block: 24px;
  font-family: var(--font);
  font-size: 10px;
  line-height: 14px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}

.site-footer__logo-box {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: #fff;
  text-decoration: none;
}

.site-footer__logo-box:hover {
  text-decoration: none;
  opacity: 0.92;
}

.site-footer__logo-img {
  display: block;
  width: 56px;
  height: auto;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  flex: 1 1 auto;
  min-width: min(100%, 320px);
}

.site-footer__col--pro {
  min-width: 0;
}

.site-footer__title {
  margin: 0 0 11px;
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  color: #fff;
  text-transform: none;
}

.site-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__list li {
  margin: 0;
  padding: 0;
  color: #fff;
}

.site-footer__list li + li {
  margin-top: 3px;
}

.site-footer__pro-cols {
  display: flex;
  gap: 29px;
  align-items: flex-start;
}

.site-footer__social {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 124px;
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #fff;
  line-height: 14px;
}

.site-footer__social-link:hover {
  text-decoration: none;
  opacity: 0.85;
}

.site-footer__social-icon {
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer__social-icon svg {
  display: block;
}

.site-footer__social-label {
  font-size: 10px;
  line-height: 14px;
}

.site-footer__contact {
  flex: 0 1 auto;
  min-width: min(100%, 241px);
}

.site-footer__contact .site-footer__title {
  margin-bottom: 5px;
}

.site-footer__contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px 24px;
}

.site-footer__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #fff;
  font-size: 10px;
  line-height: 14px;
}

.site-footer__contact-link:hover {
  text-decoration: underline;
}

.site-footer__contact-icon {
  flex: 0 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.site-footer__address {
  margin: 5px 0 0;
  font-size: 10px;
  line-height: 14px;
  color: #fff;
}

.site-footer__tagline {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 14px;
  color: #fff;
}

/* Perfection */
.perfection-block__row {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 40px;
  align-items: center;
}

.perfection-block__row--reverse {
  grid-template-columns: 1fr 310px;
}

.perfection-block__row--reverse .perfection-block__img {
  order: 2;
}

.perfection-block__row--reverse .perfection-block__text {
  order: 1;
}

.perfection-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 1100px) {
  .card-row--6 {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-row--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero__slide {
    grid-template-columns: 1fr;
  }

  .hero__visual img {
    min-height: 280px;
  }

  .hero__dots {
    position: relative;
    transform: none;
    left: auto;
    bottom: auto;
    width: 100%;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    padding-block: 20px;
    gap: var(--hero-dots-gap);
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: clamp(20px, 4vw, 32px);
  }

  .about__video {
    margin-top: 0;
  }

  .product-block__inner,
  .product-block__inner--img-left,
  .product-block__inner--img-right {
    grid-template-columns: 1fr;
  }

  .product-block--reverse .product-block__inner--img-right {
    direction: ltr;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer__pro-cols {
    flex-direction: column;
    gap: 0;
  }

  .site-footer__pro-cols .site-footer__list + .site-footer__list {
    margin-top: 3px;
  }

  .perfection-block__row,
  .perfection-block__row--reverse {
    grid-template-columns: 1fr;
  }

  .perfection-block__row--reverse .perfection-block__img,
  .perfection-block__row--reverse .perfection-block__text {
    order: unset;
  }
}

@media (max-width: 640px) {
  .site-header__left,
  .site-header__right {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .site-header__inner {
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .site-header__left {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-header__right {
    justify-content: space-between;
    width: 100%;
  }

  .site-header__icons {
    gap: 24px;
  }

  .card-row--6,
  .card-row--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  :root {
    --hero-h: auto;
  }

  .hero,
  .hero__track {
    min-height: clamp(400px, 92vw, 600px);
  }
}
