/* ==========================================================================
   Sesameware — Premium Minimal Theme
   Mobile-first · No framework dependencies
   ========================================================================== */

:root {
  --ink: #20262d;
  --ink-2: #3b434c;
  --muted: #6d757e;
  --paper: #f5f6f8;
  --white: #ffffff;
  --line: #e7e9ec;
  --line-soft: #f0f2f4;
  --accent: #739abc;
  --accent-deep: #405d79;
  --accent-soft: #739abc;
  --dark: #1b2127;
  --dark-2: #232c35;
  --shadow-sm: 0 1px 2px rgba(24, 28, 33, 0.04), 0 6px 18px -8px rgba(24, 28, 33, 0.08);
  --shadow-md: 0 2px 4px rgba(24, 28, 33, 0.05), 0 18px 36px -16px rgba(24, 28, 33, 0.16);
  --shadow-lg: 0 6px 12px rgba(24, 28, 33, 0.06), 0 28px 56px -20px rgba(24, 28, 33, 0.22);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Poppins", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --container: 1360px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--accent-deep);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  margin: 0 0 0.45em;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

::selection {
  background: var(--accent-soft);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--ink);
  color: var(--white);
}

.btn--dark:hover {
  background: #000;
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn--light {
  background: var(--white);
  color: var(--ink);
}

.btn--light:hover {
  color: var(--ink);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.btn--outline {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--accent {
  background: var(--accent);
  color: var(--white);
}

.btn--accent:hover {
  background: var(--accent-deep);
  color: var(--white);
}

.btn .fa-solid,
.btn .fa-brands {
  font-size: 12px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(24, 28, 33, 0.25);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
}

.site-logo img {
  height: 40px;
  width: auto;
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav > ul > li > a {
  position: relative;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 0;
}

.main-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
  color: var(--accent);
}

.main-nav > ul > li > a:hover::after,
.main-nav > ul > li > a.active::after {
  transform: scaleX(1);
}

.main-nav .btn {
  padding: 10px 22px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile panel */
.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--white);
  padding: 96px 28px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
}

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

.mobile-panel .mp-link {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
}

.mobile-panel .mp-link.active {
  color: var(--accent);
}

.mobile-panel .mp-sub {
  padding: 6px 0 16px 14px;
}

.mobile-panel .mp-sub a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 14px;
}

.mobile-panel .mp-sub a:hover {
  color: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 74px);
  min-height: 640px;
  background-color: var(--dark);
  color: var(--white);
  overflow: hidden;
  cursor: grab;
}

.hero.dragging {
  cursor: grabbing;
}

.hero.dragging .hero-slide {
  transition: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(15, 19, 24, 0.72) 0%,
    rgba(15, 19, 24, 0.44) 48%,
    rgba(15, 19, 24, 0.12) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 90px 0 110px;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.hero .eyebrow::before {
  background: var(--accent-soft);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5.4vw, 3.55rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 18px 0 20px;
}

.hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16.5px;
  font-weight: 300;
  max-width: 620px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.hero-arrow:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.hero-arrow--prev {
  left: 22px;
}

.hero-arrow--next {
  right: 22px;
}

.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 9px;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-dots button.active {
  background: var(--white);
  transform: scale(1.3);
}

/* ---------- Eyebrow & section head ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
}

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

.section--paper {
  background: var(--paper);
}

.section--dark {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.78);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 42px;
}

.section-head h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  margin: 12px 0 0;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 560px;
}

.section-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
}

/* ---------- Stats ---------- */
.stats {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.stats__item {
  padding: 34px 16px;
  text-align: center;
  border-left: 1px solid var(--line-soft);
}

.stats__item:first-child {
  border-left: none;
}

.stats__num {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.stats__label {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

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

.product-card__media {
  aspect-ratio: 1 / 1;
  background: var(--white);
  overflow: hidden;
  display: block;
}

.product-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-user-drag: none;
  user-select: none;
  transition: transform 0.5s ease;
}

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

.product-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.product-card__cat {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.product-card__model {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.product-card__link {
  margin-top: auto;
  padding-top: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.product-card__link .fa-solid {
  transition: transform 0.3s ease;
}

.product-card:hover .product-card__link .fa-solid {
  transform: translateX(4px);
}

/* ---------- Category cards ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 32px 28px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.category-card__icon {
  width: 96px;
  height: 96px;
  border-radius: 26px;
  background: linear-gradient(135deg, #eef3f8 0%, #e0ebf3 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 10px 22px -12px rgba(79, 111, 143, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.category-card:hover .category-card__icon {
  transform: scale(1.05);
}

.category-card__icon img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.category-card h3 {
  font-size: 19px;
  margin: 0;
}

.category-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.category-card .arrow {
  position: absolute;
  top: 30px;
  right: 28px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--ink);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.category-card:hover .arrow {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  transform: translateX(3px);
}

/* ---------- Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}

.split__body h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  margin: 14px 0 16px;
  letter-spacing: -0.02em;
}

.split__body > p {
  color: var(--muted);
  max-width: 540px;
}

.check-list {
  margin: 22px 0 30px;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink-2);
}

.check-list .fa-circle-check {
  color: var(--accent);
  margin-top: 3px;
  font-size: 14px;
}

.split__media {
  position: relative;
}

.split__media::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  z-index: 0;
}

.split__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.split__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Feature cards (quality / craft) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.feature-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.feature-card:hover .feature-card__media img {
  transform: scale(1.06);
}

.feature-card__body {
  padding: 24px 26px 26px;
}

.feature-card__body h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.feature-card__body p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Map ---------- */
.map-media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-media img {
  width: 100%;
  height: auto;
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    linear-gradient(120deg, rgba(27, 33, 39, 0.94), rgba(35, 44, 53, 0.88)),
    radial-gradient(60% 120% at 80% 20%, var(--accent-deep), transparent 60%);
  color: var(--white);
  text-align: center;
  padding: clamp(70px, 10vw, 110px) 24px;
}

.cta-band .eyebrow {
  color: var(--accent-soft);
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  margin: 16px 0 14px;
  letter-spacing: -0.02em;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
  margin: 0 auto 34px;
  font-weight: 300;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #161b21;
  color: #98a2ac;
  font-size: 14px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding: 64px 0 48px;
}

.site-footer h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.site-footer address {
  font-style: normal;
  line-height: 1.9;
}

.site-footer ul li {
  padding: 5px 0;
}

.site-footer a {
  color: #98a2ac;
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer .contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
}

.site-footer .contact-list .fa-solid,
.site-footer .contact-list .fa-brands {
  color: var(--accent-soft);
  width: 18px;
  text-align: center;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  font-size: 12.5px;
  color: #7a838d;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 116px 0 42px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}

.page-hero .eyebrow {
  color: var(--accent);
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin: 10px 0 10px;
  letter-spacing: -0.02em;
}

.page-hero p {
  color: var(--muted);
  max-width: 640px;
  margin: 0;
  font-weight: 300;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--ink-2);
}

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

.breadcrumb .sep {
  opacity: 0.6;
}

.breadcrumb .current {
  color: var(--accent);
  font-weight: 500;
}

.page-hero .breadcrumb {
  margin-top: 0;
  margin-bottom: 16px;
}

.page-hero--image {
  position: relative;
  padding: 176px 0 116px;
  background-size: cover;
  background-position: center;
  border-bottom: none;
  color: var(--white);
}

.page-hero--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(15, 19, 24, 0.82) 0%,
    rgba(15, 19, 24, 0.5) 55%,
    rgba(15, 19, 24, 0.18) 100%
  );
}

.page-hero--image .container {
  position: relative;
  z-index: 1;
}

.page-hero--image h1 {
  color: var(--white);
}

.page-hero--image p {
  color: rgba(255, 255, 255, 0.82);
}

.page-hero--image .eyebrow {
  color: var(--accent-soft);
}

.page-hero--image .breadcrumb,
.page-hero--image .breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
}

.page-hero--image .breadcrumb a:hover {
  color: var(--white);
}

.page-hero--image .breadcrumb .current {
  color: var(--accent-soft);
}

/* ---------- Full-width image band ---------- */
.factory-band {
  position: relative;
  padding: clamp(84px, 10vw, 132px) 0;
  background-size: cover;
  background-position: center;
  text-align: center;
  color: var(--white);
}

.factory-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 19, 24, 0.78), rgba(15, 19, 24, 0.62));
}

.factory-band .container {
  position: relative;
  z-index: 1;
}

.factory-band .eyebrow {
  color: var(--accent-soft);
}

.factory-band h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  margin: 14px 0 14px;
  letter-spacing: -0.02em;
}

.factory-band p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 30px;
  font-weight: 300;
}

/* ---------- Category layout ---------- */
.layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.side-nav {
  display: none;
}

.side-nav__group {
  margin-bottom: 8px;
}

.side-nav__group summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.side-nav__group summary:hover {
  background: var(--paper);
  color: var(--accent);
}

.side-nav__group summary::-webkit-details-marker {
  display: none;
}

.side-nav__group summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 10px;
  color: var(--muted);
  transition: transform 0.25s ease;
}

.side-nav__group[open] summary::after {
  transform: rotate(180deg);
}

.side-nav__group ul {
  padding: 4px 0 10px;
}

.side-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-left: 2px solid transparent;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.side-nav__top i {
  font-size: 10px;
  color: var(--muted);
  transition: transform 0.25s ease;
}

.side-nav__top:hover {
  color: var(--accent);
  background: var(--paper);
}

.side-nav__top:hover i {
  transform: translateX(3px);
}

.side-nav__top.active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: var(--paper);
}

.side-nav a {
  display: block;
  padding: 9px 16px;
  font-size: 13.5px;
  color: var(--ink-2);
  border-left: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.side-nav a:hover {
  color: var(--accent);
  background: var(--paper);
}

.side-nav a.active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: var(--paper);
  font-weight: 500;
}

.side-nav--mobile {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.side-nav--mobile summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.side-nav--mobile summary::-webkit-details-marker {
  display: none;
}

.side-nav--mobile .side-nav__group {
  margin: 0;
  padding: 4px 14px 8px;
}

.side-nav--mobile .side-nav__group summary {
  padding-left: 2px;
}

.side-nav--mobile a {
  padding-left: 4px;
  border-left: none;
}

.side-nav--mobile a.active {
  border-left: none;
  background: transparent;
}

.side-nav--mobile .side-nav__top {
  margin: 4px 14px 0;
  padding-left: 2px;
}

.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.list-toolbar__count {
  font-size: 13px;
  color: var(--muted);
}

.list-toolbar__count strong {
  color: var(--ink);
}

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 44px;
}

.pagination li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: all 0.25s ease;
}

.pagination li a:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-2px);
}

.pagination li.active a {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

/* ---------- Product detail ---------- */
.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}

.product-layout > *,
.layout > * {
  min-width: 0;
}

.gallery {
  position: relative;
}

.gallery__main {
  aspect-ratio: 1 / 1;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
}

.gallery__track {
  display: flex;
  height: 100%;
  min-width: 0;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.gallery__slide {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-user-drag: none;
  user-select: none;
}

.gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.gallery__arrow:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.gallery__arrow--prev {
  left: 12px;
}

.gallery__arrow--next {
  right: 12px;
}

.gallery__arrow.disabled {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gallery__main.single .gallery__arrow {
  display: none;
}

.gallery .breadcrumb {
  margin: 0 0 12px;
}

.gallery-eyebrow {
  margin-bottom: 12px;
}

.gallery__hint {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.04em;
}

.gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.gallery__thumbs button {
  width: 64px;
  height: 64px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.gallery__thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery__thumbs button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.gallery__thumbs button.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(115, 154, 188, 0.18);
}

.product-info h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 12px 0 12px;
}

.product-info .lead {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 26px;
}

.spec-list {
  border-top: 1px solid var(--line);
}

.spec-list__row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}

.spec-list__row dt {
  color: var(--muted);
  font-weight: 400;
  min-width: 130px;
}

.spec-list__row dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  text-align: right;
}

.product-info .product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* ---------- Inline size diagram (right column) ---------- */
.size-inline {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--white);
}

.size-inline h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.size-inline img {
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

.size-inline figcaption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

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

.contact-card .icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #eef1f5;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.contact-card strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

.contact-card .value {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  word-break: break-word;
}

.contact-card .addr {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}

.map-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.map-card iframe {
  display: block;
  width: 100%;
  border: 0;
}

.map-card figcaption {
  padding: 16px 20px 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.map-card figcaption strong {
  color: var(--ink);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.contact-list-block {
  display: grid;
  gap: 16px;
  margin: 30px 0 28px;
  max-width: 560px;
}

.contact-list-block li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-list-block .icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #eef1f5;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.contact-list-block strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

.contact-list-block .value {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.contact-list-block .value:hover {
  color: var(--accent);
}

.contact-list-block .addr {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.social-row {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
}

.social-row > span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
}

.social-row a {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.social-row a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

.panel-card {
  align-self: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.contact-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0;
}

.contact-stats .item {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 18px 12px;
  text-align: center;
  background: var(--paper);
}

.contact-stats .num {
  display: block;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.contact-stats .lbl {
  display: block;
  margin-top: 6px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Technology page ---------- */
.stream-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.stream-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.stream-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stream-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.stream-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.stream-card:hover .stream-card__media img {
  transform: scale(1.05);
}

.stream-card__body {
  padding: 24px 26px 26px;
}

.stream-card__body h3 {
  font-size: 18px;
  margin-bottom: 14px;
}

.stream-card__steps {
  display: grid;
  gap: 12px;
}

.stream-card__steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}

.stream-card__steps .num {
  flex: none;
  min-width: 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  padding-top: 2px;
}

.stream-card__steps small {
  display: block;
  margin-top: 1px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--muted);
}

.timeline {
  position: relative;
  max-width: 1020px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 19px;
  width: 2px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding-left: 56px;
  padding-bottom: 48px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--accent);
  z-index: 1;
}

.timeline-media {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.timeline-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline-body .phase-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.timeline-body h3 {
  font-size: 20px;
  margin: 8px 0 8px;
}

.timeline-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 520px;
}

.core-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.core-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.core-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #eef1f5;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
}

.core-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.core-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- About page ---------- */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 680px;
  margin: 32px 0 0;
}

.hero-stats .item {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.hero-stats .num {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-stats .lbl {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.tag-row .tag {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.map-box {
  height: 520px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.map-box #logistics-map {
  width: 100%;
  height: 100%;
}

.stats--mt {
  margin-top: 56px;
}

/* ---------- 404 page ---------- */
.notfound {
  padding-top: clamp(120px, 14vw, 180px);
  padding-bottom: clamp(100px, 12vw, 160px);
}

.notfound .container {
  max-width: 680px;
  text-align: center;
}

.notfound-code {
  display: block;
  font-size: clamp(5rem, 15vw, 8.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--line);
  margin-bottom: 26px;
}

.notfound h1 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 12px 0 12px;
}

.notfound p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 32px;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(12, 15, 19, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 92%;
  max-height: 86vh;
  border-radius: 8px;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--white);
}

.lightbox__nav--prev {
  left: 24px;
}

.lightbox__nav--next {
  right: 24px;
}

.lightbox__close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Touch-device fixes (iOS double-tap) ---------- */
/* On touch screens the first tap is eaten while a card is lifting
   or a reveal transition is running. Keep tap = navigate on mobile. */
@media (hover: none) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .product-card:hover,
  .category-card:hover,
  .feature-card:hover,
  .contact-card:hover,
  .stream-card:hover,
  .core-card:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--line);
  }

  .product-card:hover .product-card__media img,
  .feature-card:hover .feature-card__media img,
  .stream-card:hover .stream-card__media img,
  .category-card:hover .category-card__icon {
    transform: none;
  }

  .product-card:hover .product-card__link .fa-solid {
    transform: none;
  }

  .category-card:hover .arrow {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

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

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

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

  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .main-nav {
    display: block;
  }

  .nav-toggle {
    display: none;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }

  .layout {
    grid-template-columns: 250px 1fr;
    gap: 52px;
  }

  .side-nav {
    display: block;
    border-top: 2px solid var(--ink);
    padding-top: 18px;
  }

  .side-nav--mobile {
    display: none;
  }

  .product-layout {
    grid-template-columns: 1.02fr 0.98fr;
    gap: 64px;
    align-items: start;
  }

  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
  }

  .contact-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

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

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

  .pillar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline-item {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    padding-left: 0;
    align-items: center;
  }

  .timeline-item::before {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
  }

  .timeline-item:nth-child(odd) .timeline-media {
    order: 1;
  }

  .timeline-item:nth-child(odd) .timeline-body {
    order: 2;
    text-align: left;
  }

  .timeline-item:nth-child(even) .timeline-media {
    order: 2;
  }

  .timeline-item:nth-child(even) .timeline-body {
    order: 1;
    text-align: right;
  }

  .timeline-item:nth-child(even) .timeline-body p {
    margin-left: auto;
  }

  .site-footer__grid {
    grid-template-columns: 1.2fr 1fr 0.8fr 0.8fr 0.8fr;
    gap: 40px;
  }
}

/* ---------- Product page: title above specs ---------- */
.product-head {
  margin-bottom: 22px;
}

.product-head .breadcrumb {
  margin: 0 0 14px;
}

.product-head h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 8px 0 8px;
  letter-spacing: -0.02em;
}

.product-head__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 540px;
}

@media (max-width: 520px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-card__body {
    padding: 14px 15px 16px;
  }

  .product-card__model {
    font-size: 15px;
  }


  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-card {
    padding: 20px 16px;
  }

  .category-card .arrow {
    display: none;
  }

  .category-card__icon {
    width: 74px;
    height: 74px;
    border-radius: 20px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .stats__item {
    padding: 26px 8px;
  }

  .site-header__inner {
    height: 64px;
  }

  .site-logo img {
    height: 32px;
  }

  .page-hero {
    padding-top: 100px;
    padding-bottom: 34px;
  }

  .page-hero--image {
    padding: 128px 0 78px;
  }

  .map-box {
    height: 360px;
  }

  .hero-stats {
    gap: 8px;
  }

  .hero-stats .item {
    padding: 12px 6px;
  }

  .hero-arrow {
    display: none;
  }

  .gallery__thumbs button {
    width: 52px;
    height: 52px;
  }

  .lightbox__nav {
    display: none;
  }
}

@media (max-width: 700px) {
  .header-actions .btn {
    display: none;
  }

  .lightbox {
    padding: 0;
  }

  .lightbox img {
    width: 100%;
    height: 86vh;
    max-width: 100%;
    max-height: 86vh;
    object-fit: contain;
    border-radius: 0;
  }
}

@media (min-width: 1150px) {
  .pillar-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Gallery placeholder (template pages) ---------- */
.gallery__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.gallery__placeholder i {
  font-size: 32px;
  color: var(--line);
}
.gallery__placeholder p {
  margin: 0;
  max-width: 260px;
}

/* ---------- Header Products dropdown ---------- */
.nav-drop { position: relative; }
.nav-drop > a { display: inline-flex; align-items: center; gap: 7px; }
.nav-drop > a .fa-chevron-down { font-size: 10px; opacity: 0.6; transition: transform 0.25s ease; }
.nav-drop:hover > a .fa-chevron-down,
.nav-drop.open > a .fa-chevron-down { transform: rotate(180deg); }
.nav-drop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
.nav-drop-panel { position: absolute; top: calc(100% + 16px); left: 50%; min-width: 360px; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); transform: translateX(-50%) translateY(8px); opacity: 0; visibility: hidden; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease; z-index: 70; }
.nav-drop:hover .nav-drop-panel,
.nav-drop.open .nav-drop-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-drop-group { margin-bottom: 8px; }
.nav-drop-title { display: block; padding: 5px 10px 4px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.nav-drop-panel a { display: block; padding: 7px 10px; border-radius: 8px; font-size: 13px; color: var(--ink-2); transition: background 0.2s ease, color 0.2s ease; }
.nav-drop-panel a:hover { background: var(--paper); color: var(--accent); }
.nav-drop-panel a.active { background: var(--paper); color: var(--accent); font-weight: 500; }
.nav-drop-links { border-top: 1px solid var(--line-soft); margin-top: 6px; padding-top: 6px; }

/* ---------- Preloader (Apple-style) ---------- */
.preloader{
    position: fixed;
    inset: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.apple-loader{
    display: flex;
    gap: 8px;
    align-items: center;
}
.apple-loader span{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.2;
    transform: scale(0.8);
    animation: apple-breathe 1.2s infinite ease-in-out;
}
.apple-loader span:nth-child(1){ animation-delay: 0s; }
.apple-loader span:nth-child(2){ animation-delay: 0.15s; }
.apple-loader span:nth-child(3){ animation-delay: 0.3s; }
@keyframes apple-breathe{
    0%{ opacity: 0.2; transform: scale(0.8); }
    50%{ opacity: 1; transform: scale(1.2); }
    100%{ opacity: 0.2; transform: scale(0.8); }
}
.preloader.preloader-deactivate{
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ==========================================================================
   Language switcher + WhatsApp floating button
   ========================================================================== */
.lang-switch {
  position: relative;
}

.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.lang-switch__btn:hover {
  border-color: var(--accent);
}

.lang-switch__btn svg {
  width: 15px;
  height: 15px;
  fill: var(--accent-deep);
}

.lang-switch__btn svg.caret {
  width: 10px;
  height: 10px;
  fill: var(--muted);
  transition: transform 0.25s ease;
}

.lang-switch.open .lang-switch__btn svg.caret {
  transform: rotate(180deg);
}

.lang-switch__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 196px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 70;
}

.lang-switch.open .lang-switch__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switch__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--ink);
  font-family: var(--font);
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lang-switch__opt:hover {
  background: var(--line-soft);
}

.lang-switch__opt.active {
  color: var(--accent-deep);
  font-weight: 600;
}

.lang-switch__opt .check {
  width: 12px;
  height: 12px;
  margin-left: auto;
  fill: var(--accent);
  opacity: 0;
}

.lang-switch__opt.active .check {
  opacity: 1;
}

/* WhatsApp floating button */
.wa-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 75;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(37, 211, 102, 0.7);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -10px rgba(37, 211, 102, 0.8);
}

.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.45);
  animation: wa-pulse 2.4s infinite;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.55);
    opacity: 0;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

.wa-float svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  fill: #fff;
}

.wa-float__tip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(4px);
  padding: 8px 14px;
  background: var(--dark);
  color: var(--white);
  font-size: 12.5px;
  line-height: 1.4;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.wa-float:hover .wa-float__tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 700px) {
  .wa-float__tip {
    display: none;
  }
}

/* ==========================================================================
   Site search (header box + results page)
   ========================================================================== */
.header-search {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-search__input {
  width: 150px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 13px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.header-search__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(115, 154, 188, 0.18);
}

.header-search__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.header-search__btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.header-search__btn i {
  font-size: 14px;
}

.header-search--mobile {
  width: 100%;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.header-search--mobile .header-search__input {
  flex: 1;
  width: auto;
  height: 46px;
  font-size: 14px;
}

.header-search--mobile .header-search__btn {
  height: 46px;
}

.search-form {
  display: flex;
  gap: 10px;
  max-width: 620px;
  margin-top: 24px;
}

.search-form__input {
  flex: 1;
  min-width: 0;
  height: 54px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.search-form__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(115, 154, 188, 0.18);
}

.search-form__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.search-form__btn:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
}

.search-summary {
  margin: 8px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

.search-summary #search-term {
  color: var(--ink);
  font-weight: 500;
}

.search-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.search-filters select {
  height: 42px;
  max-width: 100%;
  padding: 0 36px 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 13.5px;
  cursor: pointer;
}

.search-clear {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.25s ease;
}

.search-clear:hover {
  color: var(--accent-deep);
}

.search-clear[hidden] {
  display: none;
}

.search-empty {
  padding: 72px 24px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

.search-empty i {
  display: block;
  margin-bottom: 16px;
  font-size: 38px;
  color: var(--line);
}

.search-empty p {
  max-width: 420px;
  margin: 0 auto;
}

@media (max-width: 1150px) {
  .header-search__input {
    width: 110px;
  }
}

@media (max-width: 700px) {
  .header-actions .header-search {
    display: none;
  }

  .search-form {
    flex-direction: column;
  }

  .search-form__btn {
    justify-content: center;
    width: 100%;
  }
}
