/* =========================================================
   PLATINUM TECHNOLOGIES — CORPORATE WEBSITE
   Author: Premium Industrial UI System
   No frameworks. Pure CSS3. BEM-like.
   ========================================================= */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%
}

body {
  font-family: 'Bai Jamjuree', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  display: block
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer
}

ul,
ol {
  list-style: none
}

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* color */
  --bg: #ffffff;
  --bg-soft: #fafaf9;
  --bg-softer: #f5f5f4;
  --text: #1c1917;
  --text-muted: #78716c;
  --text-light: #a8a29e;
  --border: #e7e5e4;
  --border-strong: #d6d3d1;
  --accent: #1c1917;
  --accent-hover: #292524;
  --highlight: #1c1917;

  /* spacing */
  --container: 1440px;
  --gutter: clamp(20px, 4vw, 48px);

  /* radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;
  --r-xl: 24px;

  /* shadow (soft only) */
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, .04);
  --shadow-md: 0 4px 14px rgba(28, 25, 23, .06);
  --shadow-lg: 0 12px 40px rgba(28, 25, 23, .08);
  --shadow-xl: 0 24px 60px rgba(28, 25, 23, .10);

  /* type */
  --t-xs: .75rem;
  --t-sm: .875rem;
  --t-base: 1rem;
  --t-md: 1.125rem;
  --t-lg: 1.375rem;
  --t-xl: 1.75rem;
  --t-2xl: 2.25rem;
  --t-3xl: 3rem;
  --t-4xl: 4rem;

  /* motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: 160ms;
  --t-base-d: 280ms;
  --t-slow: 480ms;

  /* layout */
  --header-h: 78px;
}

/* ---------- UTILITIES ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter)
}

.section {
  padding: clamp(64px, 9vw, 120px) 0
}

.eyebrow {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--text-muted);
  font-weight: 500;
}

.heading {
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--text);
}

.heading--xl {
  font-size: clamp(2rem, 4.2vw, var(--t-4xl))
}

.heading--lg {
  font-size: clamp(1.75rem, 3.4vw, var(--t-3xl))
}

.heading--md {
  font-size: clamp(1.4rem, 2.4vw, var(--t-2xl))
}

.muted {
  color: var(--text-muted)
}

.divider {
  height: 1px;
  background: var(--border)
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  height: 48px;
  padding: 0 22px;
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: .01em;
  border-radius: 999px;
  transition: all var(--t-base-d) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn i {
  font-size: 1.1rem;
  transition: transform var(--t-base-d) var(--ease)
}

.btn:hover i {
  transform: translateX(3px)
}

.btn--primary {
  background: var(--accent);
  color: #fff
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg)
}

.btn--ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
  backdrop-filter: blur(10px)
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, .18);
  border-color: #fff
}

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

.btn--outline:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text)
}

.btn--light {
  background: #fff;
  color: var(--accent)
}

.btn--light:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg)
}

.btn--sm {
  height: 40px;
  padding: 0 18px;
  font-size: var(--t-xs)
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  transition: background var(--t-base-d) var(--ease),
    border-color var(--t-base-d) var(--ease),
    backdrop-filter var(--t-base-d) var(--ease);
  border-bottom: 1px solid transparent;
}

.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.header__logo {
  display: flex;
  align-items: center;
  height: 38px;
  position: relative;
}

.header__logo img {
  height: 30px;
  width: auto;
  transition: opacity var(--t-base-d) var(--ease),
    transform .5s var(--ease);
}

.header__logo:hover img {
  transform: scale(1.06)
}

.header__logo .logo-w {
  display: block
}

.header__logo .logo-b {
  display: none
}

/* nav */
.nav {
  display: flex;
  align-items: center;
  gap: 6px
}

.nav__item {
  position: relative
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: var(--t-sm);
  font-weight: 500;
  color: #fff;
  border-radius: 8px;
  transition: color var(--t-base-d) var(--ease), background var(--t-base-d) var(--ease);
  cursor: pointer;
}

.nav__link i {
  font-size: 1rem;
  transition: transform var(--t-base-d) var(--ease)
}

.nav__link:hover {
  background: rgba(255, 255, 255, .1)
}

.nav__item--has-mega.is-open .nav__link i {
  transform: rotate(180deg)
}

/* utilities right */
.header__utils {
  display: flex;
  align-items: center;
  gap: 8px
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 50%;
  transition: background var(--t-base-d) var(--ease), color var(--t-base-d) var(--ease);
  font-size: 1.05rem;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, .12)
}

/* lang dropdown */
.lang-wrap {
  position: relative
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: var(--t-sm);
  font-weight: 500;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--t-base-d) var(--ease), color var(--t-base-d) var(--ease);
}

.lang:hover {
  background: rgba(255, 255, 255, .1)
}

.lang i {
  font-size: 1rem
}

.lang__caret {
  font-size: .75rem !important;
  transition: transform var(--t-base-d) var(--ease);
  opacity: .7;
}

.lang-wrap.is-open .lang__caret {
  transform: rotate(180deg);
  opacity: 1
}

.lang-wrap.is-open .lang {
  background: rgba(255, 255, 255, .12)
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 6px;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.96);
  transform-origin: top right;
  transition: opacity var(--t-base-d) var(--ease),
    transform var(--t-base-d) var(--ease),
    visibility var(--t-base-d) var(--ease);
  z-index: 101;
}

.lang-menu::before {
  content: '';
  position: absolute;
  top: -5px;
  right: 18px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  transform: rotate(45deg);
}

.lang-wrap.is-open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-menu__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--text);
  border-radius: var(--r-sm);
  text-align: left;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), padding var(--t-fast) var(--ease);
  position: relative;
}

.lang-menu__code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  padding: 3px 6px;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--text-muted);
  background: var(--bg-softer);
  border-radius: 4px;
  transition: all var(--t-fast) var(--ease);
}

.lang-menu__name {
  flex: 1;
  color: var(--text-muted);
  transition: color var(--t-fast) var(--ease)
}

.lang-menu__item i {
  font-size: 1rem;
  color: var(--accent);
  opacity: 0;
  transform: scale(.6);
  transition: opacity var(--t-base-d) var(--ease), transform var(--t-base-d) var(--ease);
}

.lang-menu__item:hover {
  background: var(--bg-softer);
  padding-left: 14px
}

.lang-menu__item:hover .lang-menu__code {
  background: var(--accent);
  color: #fff
}

.lang-menu__item:hover .lang-menu__name {
  color: var(--text)
}

.lang-menu__item.is-active {
  background: var(--bg-softer)
}

.lang-menu__item.is-active .lang-menu__code {
  background: var(--accent);
  color: #fff
}

.lang-menu__item.is-active .lang-menu__name {
  color: var(--text)
}

.lang-menu__item.is-active i {
  opacity: 1;
  transform: scale(1)
}

/* staggered open animation for items */
.lang-wrap.is-open .lang-menu__item {
  animation: langItemIn .35s var(--ease-out) backwards;
}

.lang-wrap.is-open .lang-menu__item:nth-child(1) {
  animation-delay: .04s
}

.lang-wrap.is-open .lang-menu__item:nth-child(2) {
  animation-delay: .08s
}

.lang-wrap.is-open .lang-menu__item:nth-child(3) {
  animation-delay: .12s
}

.lang-wrap.is-open .lang-menu__item:nth-child(4) {
  animation-delay: .16s
}

.lang-wrap.is-open .lang-menu__item:nth-child(5) {
  animation-delay: .20s
}

@keyframes langItemIn {
  from {
    opacity: 0;
    transform: translateX(-8px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

.menu-toggle {
  display: none
}

/* HEADER SCROLLED state */
.header.is-scrolled,
.header--inner {
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--border);
}

.header.is-scrolled .header__logo .logo-w,
.header--inner .header__logo .logo-w {
  display: none
}

.header.is-scrolled .header__logo .logo-b,
.header--inner .header__logo .logo-b {
  display: block
}

.header.is-scrolled .nav__link,
.header.is-scrolled .icon-btn,
.header.is-scrolled .lang,
.header--inner .nav__link,
.header--inner .icon-btn,
.header--inner .lang {
  color: var(--text)
}

.header.is-scrolled .nav__link:hover,
.header--inner .nav__link:hover {
  background: var(--bg-softer)
}

.header.is-scrolled .icon-btn:hover,
.header.is-scrolled .lang:hover,
.header--inner .icon-btn:hover,
.header--inner .lang:hover {
  background: var(--bg-softer)
}

.header.is-scrolled .lang-wrap.is-open .lang,
.header--inner .lang-wrap.is-open .lang {
  background: var(--bg-softer)
}

/* HEADER when mega open: also force light state */
.header.is-mega-open {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--border);
}

.header.is-mega-open .header__logo .logo-w {
  display: none
}

.header.is-mega-open .header__logo .logo-b {
  display: block
}

.header.is-mega-open .nav__link,
.header.is-mega-open .icon-btn,
.header.is-mega-open .lang {
  color: var(--text)
}

/* =========================================================
   MEGA MENU
   ========================================================= */
.mega {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t-base-d) var(--ease),
    transform var(--t-base-d) var(--ease),
    visibility var(--t-base-d) var(--ease);
  z-index: 99;
}

.mega.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0)
}

.mega__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 36px var(--gutter) 44px;
  display: grid;
  grid-template-columns: 240px 1fr 1fr;
  gap: 40px;
  min-height: 440px;
}

/* Cutters mega — no category column.
   Same height + spacing as Printers, but only 2 columns:
   product list (left) + preview (right). */
.mega--no-cats .mega__inner {
  grid-template-columns: 1fr 1.2fr;
}

/* col1 - categories */
.mega__cats {
  border-right: 1px solid var(--border);
  padding-right: 24px;
  max-height: 480px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.mega__cats::-webkit-scrollbar {
  width: 4px
}

.mega__cats::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 2px
}

.mega__cat-label {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--text-light);
  margin-bottom: 14px;
  padding-left: 14px;
}

.mega__cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 14px;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 2px;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  text-align: left;
  text-decoration: none;
}

.mega__cat i {
  font-size: .9rem;
  color: var(--text-light);
  transition: transform var(--t-base-d) var(--ease), color var(--t-base-d) var(--ease)
}

.mega__cat:hover {
  background: var(--bg-softer);
  color: var(--accent)
}

.mega__cat.is-active {
  background: var(--accent);
  color: #fff
}

.mega__cat.is-active i {
  color: #fff;
  transform: translateX(3px)
}

.mega__cat--sub {
  padding-left: 30px;
  font-weight: 400;
  font-size: var(--t-sm);
  color: var(--text-muted)
}

.mega__cat--sub.is-active {
  background: var(--bg-softer);
  color: var(--accent);
  font-weight: 500
}

/* col2 - product list */
.mega__list-wrap {
  padding: 8px 0;
  max-height: 480px;
  padding-right: 36px;
  overflow-y: auto;
  scrollbar-width: thin;
  border-right: 1px solid var(--border);
}

.mega__list-wrap::-webkit-scrollbar {
  width: 4px
}

.mega__list-wrap::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 2px
}

.mega__list {
  display: none;
  flex-direction: column;
  gap: 2px
}

.mega__list.is-active {
  display: flex;
  animation: fadeIn var(--t-base-d) var(--ease)
}

.mega__list-label {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--text-light);
  margin-bottom: 14px;
  padding-left: 14px;
}

.mega__product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), padding var(--t-fast) var(--ease);
  text-align: left;
  width: 100%;
  text-decoration: none;
}

.mega__product i {
  font-size: .95rem;
  color: var(--text-light);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--t-base-d) var(--ease), transform var(--t-base-d) var(--ease), color var(--t-base-d) var(--ease);
}

.mega__product:hover {
  background: var(--bg-softer);
  color: var(--accent);
  padding-left: 18px
}

.mega__product:hover i {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent)
}

.mega__product.is-active {
  background: var(--bg-softer);
  color: var(--accent)
}

.mega__product.is-active i {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent)
}

/* col3 - preview */
.mega__preview {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.mega__preview-img {
  width: 100%;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
}

.mega__preview-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(28, 25, 23, .18));
}

.mega__preview-content {
  position: relative
}

.mega__preview-tag {
  display: inline-block;
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.mega__preview-title {
  font-size: var(--t-xl);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -.01em;
}

.mega__preview-desc {
  font-size: var(--t-sm);
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mega__preview-anim {
  animation: fadeSlide var(--t-slow) var(--ease)
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* mega backdrop */
.mega-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 25, 23, .18);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base-d) var(--ease), visibility var(--t-base-d) var(--ease);
  z-index: 98;
  backdrop-filter: blur(2px);
}

.mega-backdrop.is-open {
  opacity: 1;
  visibility: visible
}

/* =========================================================
   HERO (Swiper)
   ========================================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  width: 100%;
  overflow: hidden;
  background: #0a0a0a;
}

.hero-swiper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: relative;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0a0a0a;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: slowZoom 14s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  from {
    transform: scale(1.05)
  }

  to {
    transform: scale(1.12)
  }
}

/* Native MP4 background video — clean object-fit: cover, no chrome to hide */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  background: #0a0a0a;
  opacity: 0;
  transition: opacity .8s var(--ease-out);
}

.hero__video.is-ready {
  opacity: 1
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .25) 35%, rgba(0, 0, 0, .65) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 60%);
}

.hero__inner {
  position: absolute;
  inset: 0;
  z-index: 5;
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--header-h) var(--gutter) 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
}

.hero__inner>* {
  pointer-events: auto
}

.hero__content {
  max-width: 680px;
  color: #fff;
  margin-top: auto;
  margin-bottom: auto;
  padding-top: 80px;
  padding-bottom: 60px
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  background: rgba(255, 255, 255, .10);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1c1917;
  box-shadow: 0 0 0 4px rgba(28, 25, 23, .3);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(28, 25, 23, .3)
  }

  50% {
    box-shadow: 0 0 0 7px rgba(28, 25, 23, .0)
  }
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.025em;
  margin-bottom: 20px;
}

.hero__title em {
  font-style: normal;
  font-weight: 300;
  opacity: .85;
  display: block
}

.hero__desc {
  font-size: var(--t-md);
  color: rgba(255, 255, 255, .82);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.55;
  font-weight: 300;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* unified hero entrance / slide-change animation */
[data-hero-anim] {
  opacity: 0;
  transform: translateY(28px);
  animation: heroRise .9s var(--ease-out) forwards;
}

[data-hero-anim]:nth-child(1) {
  animation-delay: .10s
}

[data-hero-anim]:nth-child(2) {
  animation-delay: .25s
}

[data-hero-anim]:nth-child(3) {
  animation-delay: .40s
}

[data-hero-anim]:nth-child(4) {
  animation-delay: .55s
}

/* re-run animations when hero gets .is-changing class then removed */
.hero__content.is-resetting [data-hero-anim] {
  animation: none;
  opacity: 0;
  transform: translateY(28px);
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(28px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* hero side meta */
.hero__meta {
  position: absolute;
  right: var(--gutter);
  bottom: 120px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  color: #fff;
}

.hero__meta-counter {
  font-size: var(--t-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .7;
}

.hero__meta-counter b {
  font-size: var(--t-md);
  font-weight: 600;
  opacity: 1
}

.hero__progress {
  width: 80px;
  height: 1px;
  background: rgba(255, 255, 255, .25);
  position: relative;
  overflow: hidden;
}

.hero__progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: #fff;
  transition: width 100ms linear;
  will-change: width;
}

/* logo switch — buttons host white PNG logos; flip to black on active */
.hero__switch {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  gap: 6px;
  padding: 8px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  /* responsive: cap width and allow horizontal scroll if many buttons */
  max-width: calc(100vw - 24px);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scroll-padding: 8px;
  -webkit-overflow-scrolling: touch;
}

.hero__switch::-webkit-scrollbar {
  display: none;
}

.hero__switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--t-base-d) var(--ease),
    transform var(--t-base-d) var(--ease);
  background: transparent;
  border: none;
  position: relative;
  flex-shrink: 0;
  scroll-snap-align: center;
}

.hero__switch-btn img {
  height: auto;
  width: 100px;
  display: block;
  opacity: .65;
  transition: opacity var(--t-base-d) var(--ease),
    filter var(--t-base-d) var(--ease);
  /* PNG'ler beyaz; aktifken siyaha çevirmek için filter:invert(1) */
}

.hero__switch-btn:hover img {
  opacity: 1
}

.hero__switch-btn.is-active {
  background: #fff
}

.hero__switch-btn.is-active img {
  opacity: 1;
  filter: invert(1);
}

/* =========================================================
   STATS BAR
   ========================================================= */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 56px 0;
}

.stats__item {
  padding: 0 var(--gutter);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: background var(--t-base-d) var(--ease);
}

.stats__item:last-child {
  border-right: none
}

.stats__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-softer);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--text);
  transition: all var(--t-base-d) var(--ease);
}

.stats__item:hover .stats__icon {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.stats__num {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--text);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stats__num sup {
  font-size: .5em;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 2px;
  top: -.4em;
  position: relative
}

.stats__label {
  font-size: var(--t-sm);
  color: var(--text-muted);
  line-height: 1.45
}

/* =========================================================
   SECTION HEAD
   ========================================================= */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}

.sec-head__left {
  max-width: 680px
}

.sec-head__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 18px;
}

.sec-head__eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--text-muted);
}

.sec-head__title {
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--text);
}

.sec-head__title em {
  font-style: normal;
  color: var(--text-muted);
  font-weight: 300
}

.sec-head__desc {
  font-size: var(--t-md);
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.55;
}

/* =========================================================
   PRODUCTS SECTION
   ========================================================= */
.products {
  background: var(--bg-soft)
}

.products__tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 40px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scroll-padding: 6px;
  -webkit-overflow-scrolling: touch;
}

.products__tabs::-webkit-scrollbar {
  display: none;
}

.products__tab {
  padding: 10px 20px;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  scroll-snap-align: center;
  transition: all var(--t-base-d) var(--ease);
}

.products__tab:hover {
  color: var(--text)
}

.products__tab.is-active {
  background: var(--accent);
  color: #fff
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-slow) var(--ease),
    box-shadow var(--t-slow) var(--ease),
    border-color var(--t-slow) var(--ease);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.product-card__media {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: pointer;
  text-decoration: none;
}

.product-card__media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform var(--t-slow) var(--ease);
}

.product-card:hover .product-card__media img {
  transform: scale(1.04)
}

.product-card__title-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: opacity var(--t-base-d) var(--ease);
}

.product-card__title-link:hover {
  opacity: .7
}

.product-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  background: #1c1917;
  border-radius: 6px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  z-index: 2;
}

.product-card__body {
  padding: 24px;
  display: flex;
  border-top: 1px solid var(--border);
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-card__series {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--text-muted);
  font-weight: 500;
}

.product-card__title {
  font-size: var(--t-lg);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--text);
}

.product-card__desc {
  font-size: var(--t-sm);
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 8px;
}

.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--accent);
}

.product-card__link i {
  transition: transform var(--t-base-d) var(--ease)
}

.product-card:hover .product-card__link i {
  transform: translateX(4px)
}

.product-card__specs {
  display: flex;
  gap: 10px;
  font-size: var(--t-xs);
  color: var(--text-muted);
}

.product-card__specs span {
  display: inline-flex;
  align-items: center;
  gap: 4px
}

/* =========================================================
   APPLICATIONS
   ========================================================= */
.apps__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(220px, 1fr));
  gap: 16px;
}

.app-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #0a0a0a;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  min-height: 220px;
}

.app-card--lg {
  grid-row: span 2;
  min-height: 0
}

.app-card__bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transition: transform 1s var(--ease);
  z-index: 0;
}

.app-card:hover .app-card__bg {
  transform: scale(1.06)
}

.app-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 75%;
  background: linear-gradient(180deg,
      rgba(10, 16, 24, 0) 0%,
      rgba(10, 16, 24, .55) 55%,
      rgba(10, 16, 24, .95) 100%);
  z-index: 1;
  pointer-events: none;
}

.app-card__content {
  color: #fff;
  width: 100%;
  position: relative;
  z-index: 2;
  opacity: .88;
  transition: opacity var(--t-base-d) var(--ease), transform var(--t-base-d) var(--ease);
}

.app-card:hover .app-card__content {
  opacity: 1;
  transform: translateY(-2px)
}

.app-card__num {
  font-size: var(--t-xs);
  letter-spacing: .18em;
  opacity: .7;
  font-weight: 500;
}

.app-card__title {
  font-size: var(--t-lg);
  font-weight: 600;
  margin-top: 4px;
  letter-spacing: -.01em;
  line-height: 1.25;
}

.app-card--lg .app-card__title {
  font-size: var(--t-xl);
  line-height: 1.2
}

.app-card__arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transition: all var(--t-base-d) var(--ease);
}

.app-card:hover .app-card__arrow {
  background: #fff;
  color: var(--accent);
  transform: rotate(-45deg)
}

/* =========================================================
   FEATURE BLOCK (split image/text)
   ========================================================= */
.feature {
  background: #fff
}

.feature__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature__media {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-softer);
  aspect-ratio: 5/4;
  position: relative;
  display: block;
  cursor: pointer;
  text-decoration: none;
}

.feature__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s var(--ease);
}

.feature__media:hover img {
  transform: scale(1.04)
}

.feature__title {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 14px 0 20px;
}

.feature__desc {
  font-size: var(--t-md);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.feature__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px
}

.feature__list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.feature__list-item:last-child {
  border-bottom: none
}

.feature__list-item i {
  font-size: 1.2rem;
  color: var(--text);
  margin-top: 2px
}

.feature__list-item div {
  flex: 1
}

.feature__list-item b {
  display: block;
  font-weight: 500;
  font-size: var(--t-sm);
  margin-bottom: 2px
}

.feature__list-item p {
  font-size: var(--t-xs);
  color: var(--text-muted);
  margin: 0
}

/* =========================================================
   NEWS
   ========================================================= */
.news {
  background: var(--bg-soft)
}

.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.news-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-base-d) var(--ease), box-shadow var(--t-base-d) var(--ease);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg)
}

.news-card__media {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-softer);
  display: block;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: filter var(--t-base-d) var(--ease);
}

.news-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0);
  transition: background var(--t-base-d) var(--ease);
}

.news-card:hover .news-card__media::after {
  background: rgba(28, 25, 23, .08)
}

.news-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1
}

.news-card__meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-muted);
  font-weight: 500;
}

.news-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px
}

.news-card__title-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: opacity var(--t-base-d) var(--ease);
}

.news-card__title-link:hover {
  opacity: .7
}

.news-card__title {
  font-size: var(--t-md);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.35;
  color: var(--text);
}

.news-card__link {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--accent);
}

.news-card__link i {
  transition: transform var(--t-base-d) var(--ease)
}

.news-card:hover .news-card__link i {
  transform: translateX(4px)
}

/* =========================================================
   FOOTER + CTA (UNIFIED - EDGE TO EDGE)
   ========================================================= */
.footer-cta {
  background: #0a0a0a;
  color: #d6d3d1;
  position: relative;
  overflow: hidden;
}

.footer-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 40%, transparent 100%);
  pointer-events: none;
}

.footer-cta__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

/* CTA top band */
.footer-cta__top {
  padding: clamp(64px, 8vw, 100px) 0 clamp(56px, 7vw, 80px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  position: relative;
}

.footer-cta__cta {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: end;
}

.footer-cta__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .55);
  font-weight: 500;
  margin-bottom: 18px;
}

.footer-cta__eyebrow span {
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, .4);
  display: inline-block;
}

.footer-cta__title {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 18px;
}

.footer-cta__desc {
  font-size: var(--t-md);
  color: rgba(255, 255, 255, .7);
  line-height: 1.55;
  max-width: 520px;
}

.footer-cta__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

/* Main grid */
.footer-cta__main {
  padding: clamp(56px, 7vw, 80px) 0 48px;
  position: relative;
}

.footer-cta__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 48px;
}

.footer-cta__brand img {
  height: 30px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-cta__brand p {
  font-size: var(--t-sm);
  color: #a8a29e;
  line-height: 1.6;
  max-width: 340px;
  margin-bottom: 24px;
}

.footer-cta__social {
  display: flex;
  gap: 8px
}

.footer-cta__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d6d3d1;
  transition: all var(--t-base-d) var(--ease);
  font-size: 1.05rem;
}

.footer-cta__social a:hover {
  background: #fff;
  color: #1c1917;
  border-color: #fff;
  transform: translateY(-2px)
}

.footer-cta__col h4 {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #fff;
  margin-bottom: 18px;
  font-weight: 500;
}

.footer-cta__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.footer-cta__col a {
  font-size: var(--t-sm);
  color: #a8a29e;
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
  display: inline-block;
}

.footer-cta__col a:hover {
  color: #fff;
  padding-left: 4px
}

/* Bottom bar */
.footer-cta__bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  position: relative;
}

.footer-cta__bottom-inner {
  padding: 22px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: var(--t-xs);
  color: #78716c;
}

.footer-cta__copy {
  flex: 0 1 auto
}

.footer-cta__bottom-links {
  display: flex;
  gap: 24px;
  flex: 1 1 auto;
  justify-content: center
}

.footer-cta__bottom-links a {
  color: #a8a29e;
  transition: color var(--t-fast) var(--ease)
}

.footer-cta__bottom-links a:hover {
  color: #fff
}

.footer-cta__credit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  text-decoration: none;
  color: #a8a29e;
  font-size: var(--t-xs);
  letter-spacing: .04em;
  transition: all var(--t-base-d) var(--ease);
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
  min-height: 38px;
}

.footer-cta__credit-label {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .65rem;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity var(--t-base-d) var(--ease), transform var(--t-base-d) var(--ease);
}

.footer-cta__credit-mark {
  display: inline-flex;
  align-items: center;
  transition: opacity var(--t-base-d) var(--ease), transform var(--t-base-d) var(--ease);
}

.footer-cta__credit-mark img {
  height: 22px;
  width: auto;
  display: block;
  transition: transform var(--t-base-d) var(--ease);
}

/* hover message (replaces the label+logo content) */
.footer-cta__credit-hover {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: .02em;
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity var(--t-base-d) var(--ease), transform var(--t-base-d) var(--ease);
  pointer-events: none;
}

.footer-cta__credit-hover i {
  font-size: .95rem
}

.footer-cta__credit-hover i:last-child {
  font-size: .85rem;
  opacity: .8
}

/* hover state */
.footer-cta__credit:hover {
  background: linear-gradient(135deg, rgba(225, 29, 72, .20) 0%, rgba(190, 18, 60, .25) 100%);
  border-color: rgba(225, 29, 72, .50);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(225, 29, 72, .22);
}

.footer-cta__credit:hover .footer-cta__credit-label,
.footer-cta__credit:hover .footer-cta__credit-mark {
  opacity: 0;
  transform: translateY(-100%);
}

.footer-cta__credit:hover .footer-cta__credit-hover {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   MOBILE PANEL
   ========================================================= */
.mobile-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 110;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease-out),
    visibility var(--t-slow) var(--ease-out);
  visibility: hidden;
  display: flex;
  flex-direction: column;
}

.mobile-panel.is-open {
  transform: translateX(0);
  visibility: visible;
}

/* sticky header inside panel */
.mobile-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  border-bottom: 1px solid var(--border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 2;
}

.mobile-panel__logo {
  height: 26px;
  width: auto;
}

.mobile-panel__close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-softer);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text);
  cursor: pointer;
  border: none;
  transition: background var(--t-base-d) var(--ease),
    transform var(--t-base-d) var(--ease);
}

.mobile-panel__close:hover {
  background: var(--accent);
  color: #fff;
  transform: rotate(90deg);
}

.mobile-panel__body {
  flex: 1;
  padding: 14px var(--gutter) 24px;
}

.mobile-panel ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-panel ul li {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity .4s var(--ease-out),
    transform .4s var(--ease-out);
}

.mobile-panel.is-open ul li {
  opacity: 1;
  transform: translateX(0);
}

.mobile-panel.is-open ul li:nth-child(1) {
  transition-delay: .12s;
}

.mobile-panel.is-open ul li:nth-child(2) {
  transition-delay: .17s;
}

.mobile-panel.is-open ul li:nth-child(3) {
  transition-delay: .22s;
}

.mobile-panel.is-open ul li:nth-child(4) {
  transition-delay: .27s;
}

.mobile-panel.is-open ul li:nth-child(5) {
  transition-delay: .32s;
}

.mobile-panel.is-open ul li:nth-child(6) {
  transition-delay: .37s;
}

.mobile-panel.is-open ul li:nth-child(7) {
  transition-delay: .42s;
}

.mobile-panel ul a,
.mobile-panel ul button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  font-size: var(--t-md);
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  width: 100%;
  text-align: left;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  text-decoration: none;
  cursor: pointer;
  transition: padding-left var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}

.mobile-panel ul a:hover,
.mobile-panel ul button:hover {
  padding-left: 8px;
  color: var(--accent);
}

.mobile-panel ul a i,
.mobile-panel ul button i {
  font-size: 1rem;
  color: var(--text-light);
  transition: transform var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}

.mobile-panel ul a:hover i,
.mobile-panel ul button:hover i {
  transform: translateX(4px);
  color: var(--accent);
}

.mobile-panel__sub {
  padding-left: 18px;
  font-size: var(--t-sm);
  color: var(--text-muted) !important;
  font-weight: 400 !important;
}

/* CTA block at the bottom */
.mobile-panel__cta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-panel__cta .btn {
  height: 52px;
  justify-content: center;
}

/* contact info strip */
.mobile-panel__contact {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: var(--bg-softer);
  border-radius: 12px;
}

.mobile-panel__contact a {
  padding: 6px 0;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  transition: color var(--t-fast) var(--ease);
}

.mobile-panel__contact a:hover {
  color: var(--accent);
}

.mobile-panel__contact a i {
  font-size: 1.05rem;
  color: var(--text);
}

/* =========================================================
   SIMPLE DROPDOWN (nav)
   ========================================================= */
.nav__item--dropdown {
  position: relative
}

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 6px;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base-d) var(--ease),
    transform var(--t-base-d) var(--ease),
    visibility var(--t-base-d) var(--ease);
  z-index: 99;
}

.dropdown::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #fff;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  transform: translateX(-50%) rotate(45deg);
}

.nav__item--dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__item--dropdown.is-open .nav__link i {
  transform: rotate(180deg)
}

.dropdown__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--text);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), padding var(--t-fast) var(--ease);
  text-decoration: none;
}

.dropdown__item i {
  font-size: .85rem;
  color: var(--text-light);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--t-base-d) var(--ease), transform var(--t-base-d) var(--ease), color var(--t-base-d) var(--ease);
}

.dropdown__item:hover {
  background: var(--bg-softer);
  color: var(--accent);
  padding-left: 18px
}

.dropdown__item:hover i {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent)
}

.nav__item--dropdown.is-open .dropdown__item {
  animation: dropItemIn .35s var(--ease-out) backwards;
}

.nav__item--dropdown.is-open .dropdown__item:nth-child(1) {
  animation-delay: .04s
}

.nav__item--dropdown.is-open .dropdown__item:nth-child(2) {
  animation-delay: .07s
}

.nav__item--dropdown.is-open .dropdown__item:nth-child(3) {
  animation-delay: .10s
}

.nav__item--dropdown.is-open .dropdown__item:nth-child(4) {
  animation-delay: .13s
}

.nav__item--dropdown.is-open .dropdown__item:nth-child(5) {
  animation-delay: .16s
}

.nav__item--dropdown.is-open .dropdown__item:nth-child(6) {
  animation-delay: .19s
}

.nav__item--dropdown.is-open .dropdown__item:nth-child(7) {
  animation-delay: .22s
}

.nav__item--dropdown.is-open .dropdown__item:nth-child(8) {
  animation-delay: .25s
}

@keyframes dropItemIn {
  from {
    opacity: 0;
    transform: translateY(-4px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* =========================================================
   SEARCH OVERLAY
   ========================================================= */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity .4s var(--ease-out),
    transform .4s var(--ease-out),
    visibility .4s var(--ease-out);
}

.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.search-overlay__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-softer);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text);
  cursor: pointer;
  border: none;
  z-index: 2;
  transition: all var(--t-base-d) var(--ease);
}

.search-overlay__close:hover {
  background: var(--accent);
  color: #fff;
  transform: rotate(90deg)
}

.search-overlay__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  transform: translateY(20px);
  opacity: 0;
  transition: transform .5s var(--ease-out) .1s, opacity .5s var(--ease-out) .1s;
}

.search-overlay.is-open .search-overlay__inner {
  transform: translateY(0);
  opacity: 1;
}

.search-overlay__label {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--text-muted);
  font-weight: 500;
}

.search-overlay__field {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--t-base-d) var(--ease), border-color var(--t-base-d) var(--ease);
}

.search-overlay__field:focus-within {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.search-overlay__field i {
  font-size: 1.4rem;
  color: var(--text-muted);
  flex-shrink: 0
}

.search-overlay__field input {
  flex: 1;
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
  font-size: var(--t-lg);
  font-weight: 500;
  color: var(--text);
  padding: 6px 0;
}

.search-overlay__field input::placeholder {
  color: var(--text-light);
  font-weight: 400
}

.search-overlay__field kbd {
  font-family: inherit;
  font-size: var(--t-xs);
  font-weight: 500;
  padding: 4px 8px;
  background: var(--bg-softer);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
}

.search-overlay__suggestions {
  margin-top: 8px
}

.search-overlay__sub {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 14px;
}

.search-overlay__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.search-chip {
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all var(--t-base-d) var(--ease);
}

.search-chip:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* =========================================================
   SUPPORT WIDGET (floating bottom-right)
   ========================================================= */
.support {
  position: fixed;
  right: 55px;
  bottom: 55px;
  z-index: 90;
  font-family: inherit;
  pointer-events: none;
}

/* FAB shows when .support has .is-visible */
.support__fab,
.support__panel {
  pointer-events: auto;
}

.support__fab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px 0 16px;
  height: 56px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  /* show/hide via transform on the FAB only */
  opacity: 0;
  visibility: hidden;
  transform: translateY(140%);
  transition: transform .55s var(--ease-out),
    opacity .4s var(--ease-out),
    visibility .55s var(--ease-out),
    box-shadow var(--t-base-d) var(--ease),
    background var(--t-base-d) var(--ease);
  box-shadow: 0 12px 32px rgba(28, 25, 23, .25), 0 4px 8px rgba(28, 25, 23, .12);
  position: relative;
  isolation: isolate;
}

.support.is-visible .support__fab {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.support.is-visible .support__fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(28, 25, 23, .32), 0 6px 12px rgba(28, 25, 23, .16);
}

.support__fab-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  position: relative;
  flex-shrink: 0;
}

.support__fab-icon i {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.support__icon-close {
  opacity: 0;
  transform: rotate(-45deg) scale(.8)
}

.support.is-open .support__icon-default {
  opacity: 0;
  transform: rotate(45deg) scale(.8)
}

.support.is-open .support__icon-close {
  opacity: 1;
  transform: rotate(0) scale(1)
}

.support__fab-label {
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: .01em;
  white-space: nowrap;
}

.support__fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid var(--accent);
  pointer-events: none;
  z-index: -1;
  animation: supportPulse 2.4s ease-out infinite;
  opacity: 0;
}

@keyframes supportPulse {
  0% {
    transform: scale(.95);
    opacity: .4
  }

  70% {
    transform: scale(1.18);
    opacity: 0
  }

  100% {
    transform: scale(1.18);
    opacity: 0
  }
}

.support.is-open .support__fab-pulse {
  display: none
}

/* Panel */
.support__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: 380px;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 120px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(28, 25, 23, .18), 0 6px 16px rgba(28, 25, 23, .08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(.98);
  transform-origin: bottom right;
  transition: opacity var(--t-base-d) var(--ease),
    transform var(--t-base-d) var(--ease),
    visibility var(--t-base-d) var(--ease);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.support.is-open .support__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.support__head {
  padding: 20px 22px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.support__head-eyebrow {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 4px;
}

.support__head-title {
  font-size: var(--t-md);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--text);
  line-height: 1.3;
}

.support__body {
  overflow-y: auto;
  flex: 1;
}

.support__group {
  padding: 18px 18px 8px;
  margin-bottom: 18px
}

.support__group-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--text-light);
  font-weight: 500;
  padding: 0 4px 8px;
}

.support__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  transition: background var(--t-fast) var(--ease);
  margin-bottom: 2px;
}

.support__item:hover {
  background: var(--bg-softer)
}

.support__item-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-softer);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: var(--text);
  flex-shrink: 0;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.support__item:hover .support__item-ico {
  background: var(--accent);
  color: #fff
}

.support__item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0
}

.support__item-content b {
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--text);
}

.support__item-content span {
  font-size: var(--t-xs);
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.support__item-arrow {
  font-size: .9rem;
  color: var(--text-light);
  transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.support__item:hover .support__item-arrow {
  transform: translate(2px, -2px);
  color: var(--accent)
}

/* Quick links grid */
.support__quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.support__quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 8px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  background: var(--bg-soft);
  transition: all var(--t-fast) var(--ease);
}

.support__quick-item i {
  font-size: 1.5rem;
  color: var(--text)
}

.support__quick-item span {
  font-size: var(--t-xs);
  font-weight: 500;
  color: var(--text-muted);
}

.support__quick-item:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.support__quick-item:hover i,
.support__quick-item:hover span {
  color: #fff
}

.support__foot {
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  font-size: var(--t-xs);
  color: var(--text-muted);
  text-align: center;
}

/* =========================================================
   COOKIE CONSENT (bottom-left slide-in)
   ========================================================= */
.cookie {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 91;
  width: 380px;
  max-width: calc(100vw - 48px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(28, 25, 23, .18), 0 6px 16px rgba(28, 25, 23, .08);
  padding: 24px;
  transform: translateY(120%);
  opacity: 0;
  visibility: hidden;
  transition: transform .55s var(--ease-out),
    opacity .4s var(--ease-out),
    visibility .55s var(--ease-out);
}

.cookie.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.cookie__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #92400e;
  flex-shrink: 0;
}

.cookie__title {
  font-size: var(--t-md);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--text);
}

.cookie__text {
  font-size: var(--t-sm);
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.cookie__text b {
  color: var(--text);
  font-weight: 600
}

.cookie__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cookie__link {
  font-size: var(--t-xs);
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--t-fast) var(--ease);
}

.cookie__link:hover {
  color: var(--text)
}



/* =========================================================
   RESPONSIVE — Bootstrap-style breakpoints
   xxl: ≤1250px (early header tightening, prevents logo↔nav crowding)
   xl:  ≤1200px (large desktop / small laptop)
   lg:  ≤992px  (tablet landscape)
   md:  ≤768px  (tablet portrait)
   sm:  ≤576px  (mobile)
   ========================================================= */

/* ---------- xxl: ≤1250px (header gap tighten) ---------- */
@media (max-width: 1250px) {
  .header__inner {
    gap: 14px;
  }
}

/* ---------- xl: ≤1200px ---------- */
@media (max-width: 1200px) {
  .nav {
    gap: 4px;
  }

  .nav__link {
    padding: 10px 12px;
    font-size: var(--t-xs);
  }

  .mega__inner {
    grid-template-columns: 220px 1fr 1fr;
    gap: 28px;
  }

  .mega--no-cats .mega__inner {
    grid-template-columns: 1fr 1.2fr;
  }

  .footer-cta__grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }

  .footer-cta__brand {
    grid-column: 1 / -1;
  }
}

/* ---------- between 1200 and 1100: tighter nav padding ---------- */
@media (max-width: 1100px) {
  .nav__link {
    padding: 10px 8px;
    gap: 4px;
  }

  .nav__link i {
    font-size: .85rem;
  }

  .header__inner {
    gap: 16px;
  }

  .header__utils {
    gap: 4px;
  }
}

/* ---------- between 1100 and 992: drop logo subtitle / shrink utils ---------- */
@media (max-width: 1024px) {
  .nav {
    gap: 0;
  }

  .nav__link {
    padding: 10px 6px;
  }

  /* Slightly tighten utility icons */
  .header__utils .icon-btn {
    width: 36px;
    height: 36px;
  }
}

/* ---------- lg: ≤992px ---------- */
@media (max-width: 992px) {
  :root {
    --header-h: 64px;
  }

  .nav,
  .header__utils .icon-btn {
    display: none;
  }

  .header__utils {
    gap: 6px;
  }

  .header__utils #searchToggle {
    display: inline-flex;
  }

  /* Compact lang at narrower viewports */
  .lang-wrap {
    display: block;
  }

  .lang {
    padding: 7px 10px;
    font-size: var(--t-xs);
  }

  .lang i.ph-globe {
    font-size: .95rem;
  }

  /* Anchor lang dropdown to right edge so it doesn't overflow */
  .lang-menu {
    right: 0;
    left: auto;
    transform-origin: top right;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #fff;
    border-radius: 8px;
    font-size: 1.4rem;
  }

  .header.is-scrolled .menu-toggle,
  .header--inner .menu-toggle {
    color: var(--text);
  }

  .hero__meta {
    display: none;
  }

  .hero__switch {
    padding: 6px;
    gap: 4px;
  }

  .hero__switch-btn {
    padding: 0 18px;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
    padding: 48px 0;
  }

  .stats__item:nth-child(2) {
    border-right: none;
  }

  .sec-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .products__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* News: 1 top (full width) + 2 bottom (side by side) */
  .news__grid {
    grid-template-columns: 1fr 1fr;
  }

  .news__grid .news-card:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: stretch;
  }

  .news__grid .news-card:first-child .news-card__media {
    height: 100%;
    aspect-ratio: auto;
    min-height: 240px;
  }

  .apps__grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }

  .app-card--lg {
    grid-row: auto;
    grid-column: span 2;
  }

  .feature__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-cta__cta {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-cta__cta-actions {
    justify-content: flex-start;
  }

  .footer-cta__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-cta__brand {
    grid-column: 1 / -1;
  }
}

/* ---------- md: ≤768px ---------- */
@media (max-width: 768px) {
  .hero {
    min-height: 600px;
  }

  .hero__switch {
    max-width: calc(100vw - 16px);
    padding: 6px;
    gap: 3px;
  }

  .hero__switch-btn {
    height: 34px;
    padding: 5px 12px;
  }

  .hero__switch-btn img {
    width: 70px;
  }

  .products__grid,
  .news__grid {
    grid-template-columns: 1fr;
  }

  /* Reset the 1-top-2-bottom special layout */
  .news__grid .news-card:first-child {
    grid-column: auto;
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
  }

  .news__grid .news-card:first-child .news-card__media {
    aspect-ratio: 16/10;
    min-height: 0;
    height: auto;
  }

  /* Apps: reset row template — let grid-auto-rows handle all 5 cards uniformly */
  .apps__grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: 200px;
    gap: 16px;
  }

  .app-card,
  .app-card--lg {
    grid-row: auto;
    grid-column: auto;
    min-height: 200px;
  }

  .stats__grid {
    grid-template-columns: 1fr 1fr;
    padding: 36px 0;
    row-gap: 32px;
  }

  /* Hide secondary footer columns on tablet — only brand + bottom bar visible */
  .footer-cta__col {
    display: none;
  }

  .footer-cta__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-cta__brand {
    grid-column: auto;
  }

  .footer-cta__bottom-inner {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }

  .footer-cta__bottom-links {
    justify-content: center;
    flex: 0 1 auto;
  }

  .hero__inner {
    padding-bottom: 120px;
  }

  .hero__switch {
    bottom: 24px;
    max-width: calc(100vw - 12px);
    padding: 5px;
    gap: 2px;
  }

  .hero__switch-btn {
    padding: 4px 10px;
  }

  .hero__switch-btn img {
    width: 60px;
  }

  .search-overlay__field input {
    font-size: var(--t-md);
  }
}

/* ---------- sm: ≤576px ---------- */
@media (max-width: 576px) {
  .hero {
    min-height: 540px;
  }

  /* Products tabs — compact + scrollable on small screens */
  .products__tabs {
    width: 100%;
    margin-bottom: 28px;
  }

  .products__tab {
    padding: 9px 16px;
    font-size: var(--t-xs);
  }

  /* Stats: keep 2x2 grid (NOT 1-column) so it stays compact */
  .stats__grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 28px;
    column-gap: 12px;
    padding: 32px 0;
  }

  .stats__item {
    padding: 0 16px;
    border-right: none;
    border-bottom: none;
  }

  .stats__item:nth-child(2n)::after {
    /* no bottom borders, clean grid */
  }

  /* Apps stay 1-column with proper gap */
  .apps__grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: 180px;
    gap: 14px;
  }

  .app-card,
  .app-card--lg {
    grid-row: auto;
    grid-column: auto;
    min-height: 180px;
  }

  /* Hero CTA: inline, compact size */
  .hero__cta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: auto;
  }

  .hero__cta .btn {
    flex: 0 0 auto;
    justify-content: center;
    width: auto;
    height: 42px;
    padding: 0 18px;
    font-size: var(--t-xs);
  }

  .hero__cta .btn i {
    font-size: 1rem;
  }

  /* Footer: brand + bottom bar only (cols already hidden on md) */
  .footer-cta__grid {
    grid-template-columns: 1fr;
  }

  /* Support widget — proper compact mobile sizing */
  .support {
    right: 16px;
    bottom: 16px;
  }

  .support__fab {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .support__fab-label {
    display: none;
  }

  .support__fab-icon {
    width: 28px;
    height: 28px;
    background: transparent;
  }

  .support__fab-icon i {
    font-size: 1.3rem;
  }

  .support__panel {
    position: fixed;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
    bottom: 80px;
    max-height: calc(100vh - 100px);
    border-radius: 16px;
  }

  .support__head {
    padding: 18px 18px 14px;
  }

  .support__head-title {
    font-size: var(--t-sm);
  }

  .support__body {
    padding: 14px 14px 6px;
  }

  .support__quick-item {
    padding: 14px 6px;
  }

  .support__quick-item i {
    font-size: 1.3rem;
  }

  /* Cookie */
  .cookie {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: 16px;
    padding: 20px;
  }

  .cookie.is-open {
    bottom: 16px;
  }
}