:root {
  color-scheme: light;
  --navy: #103652;
  --navy-deep: #0c293d;
  --aqua: #21a7a0;
  --aqua-dark: #138e88;
  --mint: #dff4ed;
  --ink: #142232;
  --muted: #526773;
  --paper: #ffffff;
  --canvas: #f6f8f7;
  --line: #d9e2e5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "B Yekan", BYekan, Yekan, Tahoma, Arial, sans-serif;
}
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(33, 167, 160, .38);
  outline-offset: 3px;
}

.site-shell { overflow: hidden; background: var(--canvas); }
.topbar {
  min-height: 38px;
  padding: 8px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
  background: var(--navy);
  font-size: .78rem;
}
.topbar span { display: flex; align-items: center; gap: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 82px;
  padding: 13px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(16, 54, 82, .08);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 0; flex: none; }
.brand img {
  width: 260px;
  height: 64px;
  object-fit: contain;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.brand strong { display: block; font-size: .9rem; }
.brand small { opacity: .62; font-family: Arial, sans-serif; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 23px; font-size: .88rem; font-weight: 600; }
html[lang="fa"] .site-header {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(240px, 1fr);
}
html[lang="en"] .site-header {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(240px, 1fr);
}
html[lang="fa"] .brand { justify-self: end; }
html[lang="en"] .brand { justify-self: start; }
html[lang="fa"] .main-nav {
  gap: 28px;
  font-size: calc(.88rem + 2px);
}
html[lang="en"] .main-nav {
  gap: 28px;
  font-size: calc(.88rem + 2px);
}
html[lang="fa"] .language-switch { justify-self: start; }
html[lang="en"] .language-switch { justify-self: end; }
.main-nav a { position: relative; padding: 10px 0; }
.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 50%;
  bottom: 2px;
  height: 2px;
  background: var(--aqua);
  transition: inset-inline .2s ease;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { inset-inline: 0; }

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 7px 10px 7px 8px;
  color: var(--navy);
  background: #eef7f5;
  border: 1px solid #b8d8d4;
  border-radius: 999px;
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: .78rem;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
html[dir="ltr"] .language-switch { padding: 7px 8px 7px 10px; }
.language-switch:hover { transform: translateY(-1px); border-color: var(--aqua); background: var(--mint); }
.language-switch .globe {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
}
.language-switch .globe svg { width: 16px; height: 16px; }
.language-switch .lang-label { display: grid; line-height: 1.05; }
.language-switch small { color: #66808d; font-size: .62rem; font-weight: 500; }

html.hp-preload-active,
html.hp-preload-active body {
  overflow: hidden;
}

.hp-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(125,225,210,.16), transparent 24%),
    radial-gradient(circle at 82% 26%, rgba(125,225,210,.12), transparent 22%),
    linear-gradient(135deg, #071a2b 0%, #0d2940 46%, #103652 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity .52s ease, visibility .52s ease;
}
html.hp-intro-seen .hp-preloader {
  display: none;
}
.hp-preloader::before,
.hp-preloader::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08);
  pointer-events: none;
}
.hp-preloader::before {
  width: 42vw;
  height: 42vw;
  max-width: 720px;
  max-height: 720px;
  min-width: 420px;
  min-height: 420px;
  animation: hpPreloaderPulse 5.2s linear infinite;
}
.hp-preloader::after {
  width: 22vw;
  height: 22vw;
  max-width: 360px;
  max-height: 360px;
  min-width: 220px;
  min-height: 220px;
  animation: hpPreloaderPulse 4.2s linear infinite reverse;
}
.hp-preloader__ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(14px);
  opacity: .8;
  pointer-events: none;
}
.hp-preloader__ambient--one {
  width: 28vw;
  height: 28vw;
  min-width: 260px;
  min-height: 260px;
  background: radial-gradient(circle, rgba(125,225,210,.18), rgba(125,225,210,0));
  top: -6vw;
  inset-inline-start: -4vw;
}
.hp-preloader__ambient--two {
  width: 24vw;
  height: 24vw;
  min-width: 240px;
  min-height: 240px;
  background: radial-gradient(circle, rgba(255,255,255,.12), rgba(255,255,255,0));
  bottom: -4vw;
  inset-inline-end: -2vw;
}
.hp-preloader__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at center, black 28%, transparent 85%);
  opacity: .4;
}
.hp-preloader__core {
  position: relative;
  z-index: 2;
  width: min(560px, 82vw);
  display: grid;
  gap: 22px;
  justify-items: center;
  text-align: center;
}
.hp-preloader__logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: min(420px, 70vw);
  transform: scale(1);
  transform-origin: center center;
  transition: transform .62s cubic-bezier(.18,.74,.16,1), opacity .52s ease, filter .52s ease;
}
.hp-preloader__logo-glow {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(125,225,210,.18) 0%, rgba(125,225,210,.06) 34%, rgba(125,225,210,0) 70%);
  filter: blur(8px);
  animation: hpLogoGlow 2.6s ease-in-out infinite;
}
.hp-preloader__logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.22));
}
.hp-preloader__progress {
  position: relative;
  width: min(360px, 60vw);
  height: 3px;
  overflow: hidden;
  background: rgba(255,255,255,.12);
  border-radius: 999px;
}
.hp-preloader__progress::before {
  content: '';
  position: absolute;
  inset: -8px 0;
  background: linear-gradient(90deg, transparent 0%, rgba(125,225,210,.1) 20%, rgba(125,225,210,.22) 50%, rgba(125,225,210,.1) 80%, transparent 100%);
}
.hp-preloader__progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, #7de1d2 0%, #d5fffa 100%);
  box-shadow: 0 0 18px rgba(125,225,210,.56);
  border-radius: inherit;
  transition: width .18s linear;
}
.hp-preloader__caption {
  color: rgba(255,255,255,.84);
  font-size: .83rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
html[dir="rtl"] .hp-preloader__caption {
  letter-spacing: 0;
  font-size: .92rem;
}
.site-shell {
  opacity: 1;
  transform: none;
  transition: opacity .82s ease, transform .82s cubic-bezier(.18,.74,.16,1), filter .82s ease;
}
html.hp-preload-active .site-shell {
  opacity: 0;
  transform: scale(1.03);
  filter: blur(6px);
}
html.hp-preload-revealing .site-shell {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}
.hp-preloader.is-progress-complete .hp-preloader__caption {
  opacity: .56;
}
.hp-preloader.is-zooming .hp-preloader__logo-wrap {
  transform: scale(18);
  opacity: 0;
  filter: blur(4px);
}
.hp-preloader.is-zooming .hp-preloader__progress,
.hp-preloader.is-zooming .hp-preloader__caption {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}
.hp-preloader.is-zooming {
  opacity: 0;
  visibility: hidden;
}
@keyframes hpPreloaderPulse {
  0% { transform: scale(.98); opacity: .45; }
  50% { transform: scale(1.03); opacity: .68; }
  100% { transform: scale(.98); opacity: .45; }
}
@keyframes hpLogoGlow {
  0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(.96); }
  50% { opacity: .95; transform: translate(-50%, -50%) scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .hp-preloader,
  .hp-preloader * {
    animation: none !important;
    transition-duration: .01ms !important;
  }
}

.hero {
  min-height: 510px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  color: var(--ink);
  background: #edf6f4;
}
.hero-copy { padding: 76px 9% 60px 11%; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
html[dir="rtl"] .hero-copy { padding: 76px 11% 60px 9%; }
.eyebrow { color: var(--aqua-dark); font-size: .95rem; font-weight: 700; letter-spacing: .04em; }
.eyebrow-light { color: #7de1d2; }
.hero-lockup {
  position: relative;
  width: max-content;
  max-width: 100%;
  align-self: flex-start;
}
.hero-lockup > .eyebrow {
  position: absolute;
  inset-inline: 0;
  top: 0;
  display: block;
  width: 100%;
  font-size: .98rem;
  text-align: justify;
  text-align-last: justify;
}
.hero-lockup > h1 {
  width: max-content;
  max-width: 100%;
  margin-top: 0;
  padding-top: 2.25rem;
  text-align: start;
}
.hero-lockup > h1 span { display: block; }
h1 { margin: 15px 0 18px; font-size: clamp(2.25rem, 4.2vw, 3.25rem); line-height: 1.35; font-weight: 600; }
.hero p { max-width: 590px; margin: 0 0 27px; color: #405463; font-size: 1rem; line-height: 2; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.primary,
.outline,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 21px;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 700;
}
.primary { color: #fff; background: var(--navy); }
.primary:hover { background: #174d70; }
.outline { color: var(--navy); border: 1px solid #9bb6c3; background: rgba(255,255,255,.42); }
.outline:hover { border-color: var(--aqua); background: #fff; }
.hero-visual { position: relative; overflow: hidden; }
.hero-visual::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
html[dir="rtl"] .hero-visual::before,
html[dir="ltr"] .hero-visual::before { background: transparent; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

.metrics {
  position: relative;
  z-index: 3;
  margin: -36px 5% 0;
  padding: 25px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
}
.metric { padding: 5px 22px; border-inline-end: 1px solid rgba(255,255,255,.18); }
.metric:last-child { border: 0; }
.metric b { display: block; color: #7de1d2; font-size: 1.65rem; }
.metric span { font-size: .8rem; opacity: .82; }

.section { padding: 78px 6%; }
.section.alt { background: #eaf3f1; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 38px; }
.section-head h2,
.content-copy h2 { margin: 8px 0; font-size: clamp(1.8rem, 3vw, 2.2rem); line-height: 1.5; font-weight: 600; }
.section-head p { max-width: 560px; margin: 0; color: #5e707a; line-height: 1.9; }
#quality .section-head {
  display: block;
}
#quality .section-head p {
  max-width: none;
  margin-top: 10px;
}

#products-preview .section-head,
#all-products .section-head {
  display: block;
}
#products-preview .section-head p,
#all-products .section-head p {
  max-width: none;
  margin-top: 10px;
}

.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 48px; align-items: center; }
.about-img { position: relative; min-height: 420px; }
.about-img img { width: 100%; height: 420px; object-fit: cover; border-radius: 8px; }
.about-gallery { isolation: isolate; }
.about-gallery-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #dfe9e8;
  perspective: 1400px;
}
.about-gallery .about-gallery-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transform: rotateY(-62deg) scale(.98);
  transform-origin: right center;
  backface-visibility: hidden;
  transition: opacity .72s ease, transform .82s cubic-bezier(.2,.7,.2,1);
}
.about-gallery .about-gallery-slide.is-active {
  z-index: 2;
  opacity: 1;
  transform: rotateY(0) scale(1);
}
.about-gallery .about-gallery-slide.is-leaving {
  z-index: 3;
  opacity: 0;
  transform: rotateY(64deg) scale(.98);
}
.about-gallery-dots {
  position: absolute;
  z-index: 5;
  inset-inline-start: 22px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  background: rgba(7,38,57,.58);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.about-gallery-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.48);
  cursor: pointer;
  transition: width .25s ease, background-color .25s ease;
}
.about-gallery-dot.is-active { width: 23px; border-radius: 999px; background: #7de1d2; }
.about-gallery-dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.about-note { position: absolute; inset-inline-end: -22px; bottom: 22px; width: 230px; padding: 20px; color: #fff; background: var(--aqua); border-radius: 6px; line-height: 1.8; }
.about-note,
.notice {
  text-align: justify;
  text-justify: inter-word;
}
html[dir="rtl"] .about-note,
html[dir="rtl"] .notice { text-align-last: right; }
html[dir="ltr"] .about-note,
html[dir="ltr"] .notice { text-align-last: left; }
.content-copy p { color: var(--muted); line-height: 2; }

.line-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.line-card {
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  min-height: 382px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.16);
  background: #0d2434;
  box-shadow: 0 22px 46px rgba(13, 35, 49, .12);
  isolation: isolate;
  transform: translateY(0) scale(1);
  transform-origin: center;
  transition: transform .42s cubic-bezier(.2,.7,.2,1), box-shadow .42s ease, border-color .42s ease;
  outline: none;
}
.line-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--line-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform .72s cubic-bezier(.2,.7,.2,1), filter .72s ease;
  filter: saturate(.92) contrast(1.02);
}
.line-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(125,225,210,.18), rgba(125,225,210,0) 28%),
    linear-gradient(180deg, rgba(7, 22, 35, .24) 0%, rgba(7, 22, 35, .38) 28%, rgba(7, 22, 35, .62) 58%, rgba(7, 22, 35, .94) 100%);
}
.line-card:hover,
.line-card:focus-visible,
.line-card.is-active {
  z-index: 3;
  transform: translateY(-10px) scale(1.045);
  box-shadow: 0 34px 68px rgba(13, 35, 49, .24);
  border-color: rgba(125, 225, 210, .32);
}
.line-card:hover::before,
.line-card:focus-visible::before,
.line-card.is-active::before {
  transform: scale(1.09);
  filter: saturate(1.03) brightness(1.03);
}
.line-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: 24px 24px 22px;
  color: #fff;
}
.line-card__body::before {
  content: '';
  position: absolute;
  inset-inline: 24px;
  bottom: 20px;
  height: 1px;
  background: linear-gradient(90deg, rgba(125,225,210,0), rgba(125,225,210,.44), rgba(125,225,210,0));
  opacity: .28;
  transition: opacity .35s ease, transform .35s ease;
}
.line-card:hover .line-card__body::before,
.line-card:focus-visible .line-card__body::before,
.line-card.is-active .line-card__body::before {
  opacity: .8;
  transform: scaleX(1.03);
}
.line-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.line-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.line-card svg { color: #b8fff4; width: 22px; height: 22px; }
.line-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #d5fffa;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(8,34,52,.34);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
html[dir="rtl"] .line-kicker { letter-spacing: 0; }
.line-card__copy {
  transform: translateY(0);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .45s ease;
}
.line-card h3 { margin: 0 0 10px; font-size: 1.14rem; line-height: 1.55; color: #fff; }
.line-summary { margin: 0; color: rgba(255,255,255,.88); font-size: .87rem; line-height: 1.9; }
.line-number {
  position: absolute;
  inset-inline-end: 20px;
  top: 18px;
  color: rgba(255,255,255,.28);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.line-products-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  min-height: 34px;
}
.line-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: .76rem;
  font-weight: 600;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateY(0);
  transition: transform .38s ease, background-color .38s ease, border-color .38s ease, opacity .38s ease;
}
.line-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  transition: max-height .55s cubic-bezier(.2,.7,.2,1), opacity .35s ease, transform .45s ease, margin-top .35s ease;
}
.line-detail-group {
  min-width: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.line-subgroup-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #7de1d2;
}
html[dir="rtl"] .line-subgroup-title { letter-spacing: 0; }
.line-detail-list {
  margin: 0;
  padding-inline-start: 18px;
  color: rgba(255,255,255,.94);
}
html[dir="rtl"] .line-detail-list { padding-inline-start: 0; padding-inline-end: 18px; }
.line-detail-list li {
  margin: 0 0 8px;
  font-size: .82rem;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .45s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--item-delay, 0s);
}
.line-detail-list--products li::marker { color: #7de1d2; }
.line-card:hover .line-card__copy,
.line-card:focus-visible .line-card__copy,
.line-card.is-active .line-card__copy {
  transform: translateY(-2px);
}
.line-card:hover .line-products-preview,
.line-card:focus-visible .line-products-preview,
.line-card.is-active .line-products-preview {
  margin-top: 14px;
}
.line-card:hover .line-pill,
.line-card:focus-visible .line-pill,
.line-card.is-active .line-pill {
  background: rgba(255,255,255,.14);
  border-color: rgba(125,225,210,.26);
  transform: translateY(-1px);
}
.line-card:hover .line-panel,
.line-card:focus-visible .line-panel,
.line-card.is-active .line-panel {
  max-height: 260px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 16px;
}
.line-card:hover .line-detail-list li,
.line-card:focus-visible .line-detail-list li,
.line-card.is-active .line-detail-list li {
  opacity: 1;
  transform: translateY(0);
}
@media (hover: none) {
  .line-card { transform: none !important; }
  .line-card::before { transform: scale(1.04); }
  .line-panel { max-height: 320px; opacity: 1; transform: none; margin-top: 16px; }
  .line-detail-list li { opacity: 1; transform: none; }
}
@media (max-width: 1180px) {
  .line-card { min-height: 396px; }
  .line-panel { grid-template-columns: 1fr; }
}



.product-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 20px; }
.product-grid.full { grid-template-columns: repeat(3, 1fr); gap: 24px; }
#all-products .product-grid.full {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
#all-products .product-grid.full > .product-card:nth-last-child(2):nth-child(4n + 1) {
  grid-column: 2;
}
#products-preview .product-grid { grid-template-columns: minmax(250px, 1.05fr) minmax(0, 3fr); align-items: stretch; }
.product-slider { position: relative; min-width: 0; padding-bottom: 34px; }
.product-slider-window { height: 100%; overflow: hidden; direction: ltr; border-radius: 18px; }
.product-slider-track {
  height: 100%;
  display: flex;
  gap: 20px;
  transition: transform .58s cubic-bezier(.22,.75,.25,1);
  will-change: transform;
}
.product-slider .product-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  direction: rtl;
}
html[dir="ltr"] .product-slider .product-card { direction: ltr; }
.product-slider-dots {
  position: absolute;
  inset-inline: 0;
  bottom: 7px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
}
.product-slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #b8cfcc;
  cursor: pointer;
  transition: width .25s ease, background-color .25s ease;
}
.product-slider-dot:hover,
.product-slider-dot:focus-visible { background: #58bdb4; outline: none; }
.product-slider-dot.is-active { width: 26px; background: #159a90; }
.product-feature,
.product-card { min-height: 360px; overflow: hidden; background: #fff; border-radius: 18px; border: 1px solid #dbe7e9; box-shadow: 0 10px 28px rgba(16,54,82,.08); }
.product-feature { position: relative; isolation: isolate; padding: 36px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: var(--navy); border-color: var(--navy); box-shadow: 0 16px 34px rgba(16,54,82,.18); }
.product-feature::before,
.product-feature::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(125,225,210,.32);
  border-radius: 50%;
}
.product-feature::before { width: 190px; height: 190px; inset-inline-end: -72px; top: -64px; }
.product-feature::after { width: 92px; height: 92px; inset-inline-end: 36px; top: 58px; }
.product-feature h3 { margin: 12px 0; font-size: 1.75rem; line-height: 1.5; }
.product-feature p { line-height: 1.9; opacity: .84; }
.product-feature .text-link { width: max-content; min-height: 42px; padding: 8px 14px; color: var(--navy); background: #7de1d2; border-radius: 999px; }
.product-card { position: relative; --product-accent: #159a90; --product-tint: #eaf8f5; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.product-card::before { content: ""; position: absolute; inset-inline: 0; top: 0; z-index: 2; height: 5px; background: var(--product-accent, var(--aqua)); }
.product-card::after {
  content: "←";
  position: absolute;
  inset-inline-end: 18px;
  bottom: 19px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--product-accent, var(--aqua));
  border-radius: 50%;
  font-size: 1rem;
  transition: transform .25s ease;
}
html[dir="ltr"] .product-card::after { content: "→"; }
.product-card:hover { transform: translateY(-8px); border-color: var(--product-accent, var(--aqua)); box-shadow: 0 20px 42px rgba(16,54,82,.16); }
.product-card:hover::after { transform: translateX(-4px); }
html[dir="ltr"] .product-card:hover::after { transform: translateX(4px); }
.product-card img { width: 100%; height: 250px; padding: 22px 18px 10px; object-fit: contain; background: var(--product-tint, #eef8f6); transition: transform .3s ease; }
.product-card:hover img { transform: scale(1.045); }
.product-card .card-copy { position: relative; min-height: 108px; padding: 19px 20px 22px 64px; background: #fff; }
html[dir="ltr"] .product-card .card-copy { padding: 19px 64px 22px 20px; }
.product-card h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.12rem; }
.product-card small { display: block; color: #657982; font-size: .82rem; line-height: 1.75; }
.product-grid.full .product-card .card-copy { min-height: 188px; }
.product-grid.full .product-card small { line-height: 1.9; }
#all-products .product-card { min-width: 0; }
#all-products .product-card img { height: 225px; padding: 20px 16px 8px; }
#all-products .product-card .card-copy { min-height: 205px; padding: 18px 18px 58px; }
#all-products .product-card h3 { font-size: 1.08rem; line-height: 1.65; }
#all-products .product-card small {
  font-size: .8rem;
  line-height: 1.95;
  text-align: justify;
  text-align-last: right;
  text-justify: inter-word;
}
html[dir="ltr"] #all-products .product-card small { text-align-last: left; }
.product-card#drgel,
.product-card[href$="#drgel"] { --product-accent: #159a90; --product-tint: #eaf8f5; }
.product-card#dayan-fit,
.product-card[href$="#dayan-fit"] { --product-accent: #159a90; --product-tint: #eaf8f5; }
.product-card#calendula,
.product-card[href$="#calendula"] { --product-accent: #159a90; --product-tint: #eaf8f5; }

.science-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; align-items: center; }
.science-steps { display: grid; }
.step { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.step b { width: 42px; height: 42px; display: grid; place-items: center; color: var(--aqua-dark); background: var(--mint); border-radius: 50%; }
.step h3 { margin: 0 0 5px; font-size: .98rem; }
.step p { margin: 0; color: #697a83; font-size: .82rem; line-height: 1.8; }
.science-art { min-height: 440px; padding: 50px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: var(--navy); border-radius: 10px; }
.science-art > svg { width: 62px; height: 62px; }
.science-art h2 { font-size: 2.15rem; line-height: 1.5; }
.science-art p { line-height: 2; opacity: .84; }

.page-hero { padding: 86px 6% 72px; color: #fff; background: var(--navy-deep); }
.page-hero .breadcrumbs { margin-bottom: 20px; display: flex; gap: 8px; align-items: center; font-size: .8rem; opacity: .72; }
.page-hero h1 { max-width: 820px; margin-bottom: 14px; }
.page-hero p { max-width: 720px; margin: 0; font-size: 1.02rem; line-height: 2; opacity: .82; }
.page-hero--about,
.page-hero--products {
  min-height: 480px;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, .84fr);
  align-items: center;
  gap: clamp(42px, 6vw, 100px);
}
.page-hero--about .page-hero-copy,
.page-hero--products .page-hero-copy { position: relative; z-index: 2; }
.page-hero--about h1,
.page-hero--products h1 { max-width: 780px; text-wrap: balance; }
.page-hero--about p,
.page-hero--products p { max-width: 760px; }
.page-hero-glass {
  position: relative;
  min-height: 325px;
  overflow: hidden;
  background: url("factory-production-line.webp") center / cover no-repeat;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 26px;
  box-shadow: 0 28px 65px rgba(3,19,32,.36), inset 0 0 0 1px rgba(255,255,255,.12);
}
.page-hero-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(213,241,239,.16);
  backdrop-filter: blur(3px) saturate(.88);
  -webkit-backdrop-filter: blur(3px) saturate(.88);
  z-index: 2;
  pointer-events: none;
}
.page-hero-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10,54,73,.08);
  box-shadow: inset 0 0 54px rgba(8,43,62,.18);
  z-index: 3;
  pointer-events: none;
}
.product-hero-gallery { background: #dfe9e8; perspective: 1400px; }
.product-hero-stage { position: absolute; inset: 0; z-index: 1; overflow: hidden; border-radius: inherit; perspective: 1400px; }
.product-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: rotateY(-62deg) scale(.98);
  transform-origin: right center;
  backface-visibility: hidden;
  transition: opacity .72s ease, transform .82s cubic-bezier(.2,.7,.2,1);
}
.product-hero-slide.is-active { z-index: 2; opacity: 1; transform: rotateY(0) scale(1); }
.product-hero-slide.is-leaving { z-index: 3; opacity: 0; transform: rotateY(64deg) scale(.98); }
.product-hero-dots {
  position: absolute;
  z-index: 5;
  inset-inline: 20px;
  bottom: 13px;
  min-height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 6px 9px;
  background: rgba(7,38,57,.56);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.product-hero-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: width .25s ease, background-color .25s ease;
}
.product-hero-dot.is-active { width: 20px; background: #7de1d2; }
.product-hero-dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact-card { padding: 26px; background: #fff; border: 1px solid #e0eaec; border-radius: 9px; }
.fact-card b { display: block; margin-bottom: 6px; color: var(--aqua-dark); font-size: 1.9rem; }
.fact-card span { color: #60717a; line-height: 1.75; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card { min-height: 210px; padding: 28px; background: #fff; border: 1px solid #e0eaec; border-radius: 9px; }
.contact-card svg { color: var(--aqua); }
.contact-card h2 { margin: 22px 0 10px; font-size: 1.15rem; }
.contact-card p { margin: 0; color: #687a83; line-height: 1.9; }
.notice { margin-top: 28px; padding: 18px 22px; color: #35515e; background: var(--mint); border-inline-start: 4px solid var(--aqua); border-radius: 6px; line-height: 1.9; }

.site-footer { padding: 55px 6% 25px; color: #fff; background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 35px; }
.site-footer h3 { font-size: .9rem; }
.site-footer p,
.site-footer li,
.site-footer a { font-size: .8rem; line-height: 2; opacity: .72; }
.site-footer a:hover { opacity: 1; color: #7de1d2; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.footer-brand img { width: 240px; background: transparent !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important; }
.copyright { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .72rem; opacity: .55; }

@media (max-width: 980px) {
  .main-nav { gap: 14px; font-size: .8rem; }
  html[lang="fa"] .site-header { grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr); }
  html[lang="fa"] .main-nav { gap: 16px; font-size: .88rem; }
  .brand strong, .brand small { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  #all-products .product-grid.full { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #all-products .product-grid.full > .product-card:nth-last-child(2):nth-child(4n + 1) { grid-column: auto; }
  #products-preview .product-grid { grid-template-columns: 1fr; }
  .product-slider .product-card { flex-basis: calc((100% - 20px) / 2); }
  .product-feature { min-height: 280px; }
  .page-hero--about,
  .page-hero--products { grid-template-columns: minmax(0, 1.05fr) minmax(310px, .95fr); gap: 34px; }
  .page-hero-glass { min-height: 290px; }
  html[lang="fa"] #quality .section-head p,
  html[lang="fa"] #products-preview .section-head p,
  html[lang="fa"] #all-products .section-head p { white-space: normal; }
}

@media (max-width: 760px) {
  .hp-preloader__core { width: min(88vw, 420px); gap: 18px; }
  .hp-preloader__logo-wrap { width: min(300px, 70vw); }
  .hp-preloader__progress { width: min(240px, 56vw); }
}

@media (max-width: 760px) {
  .topbar, .main-nav { display: none; }
  .site-header { min-height: 70px; padding: 10px 5%; }
  html[lang="fa"] .site-header { display: flex; }
  .brand img { width: 200px; height: 50px; background: transparent !important; border-radius: 0 !important; }
  .language-switch { min-height: 40px; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { height: 300px; order: -1; }
  .hero-copy, html[dir="rtl"] .hero-copy { padding: 48px 7% 58px; }
  .metrics { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .metric { border: 0; }
  .about-grid, .science-grid { grid-template-columns: 1fr; }
  .line-grid, .product-grid.full, .facts-grid, .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero--about,
  .page-hero--products { grid-template-columns: 1fr; gap: 34px; }
  .page-hero-glass { min-height: 260px; }
}

@media (max-width: 520px) {
  .brand img { width: 168px; height: 44px; background: transparent !important; border-radius: 0 !important; }
  .language-switch { padding: 5px 7px; gap: 6px; }
  .language-switch .globe { width: 28px; height: 28px; }
  .language-switch small { display: none; }
  .actions { flex-direction: column; }
  .primary, .outline { width: 100%; }
  .metrics { margin: 0; border-radius: 0; }
  .section { padding: 56px 6%; }
  .section-head { display: block; }
  .about-img { min-height: 330px; }
  .about-img img { height: 330px; }
  .about-note { inset-inline-end: 10px; }
  .about-gallery-dots { inset-inline-start: 10px; bottom: 12px; }
  .line-grid, .product-grid, .product-grid.full, .facts-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  #all-products .product-grid.full { grid-template-columns: 1fr; }
  .product-slider .product-card { flex-basis: 100%; }
  .page-hero { padding: 64px 6% 54px; }
  .science-art { min-height: 360px; padding: 34px; }
}

.brand--logo-only { min-width: 0; }
.brand--logo-only span { display: none !important; }

.brand, .brand img { background-color: transparent !important; }

/* v1.2.1: restrained architectural homepage hero. Original photo fully preserved. */
.hero.hero--architectural {
  position: relative;
  isolation: isolate;
  min-height: 570px;
  background: #edf6f4;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
}
.hero--architectural .hero-copy { padding: 76px 8% 70px 11%; }
html[dir="rtl"] .hero--architectural .hero-copy { padding: 76px 11% 70px 8%; }
.hero--architectural .hero-lockup { max-width: 100%; }
.hero--architectural .hero-lockup h1 { letter-spacing: -.014em; font-weight: 650; }
.hero--architectural .hero-copy .actions a { transition: background-color .24s ease, border-color .24s ease, transform .24s ease, box-shadow .24s ease; }
.hero--architectural .hero-copy .actions a:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(16,54,82,.13); }
.hero--architectural .hero-visual { position: relative; overflow: visible; min-width: 0; }
.hero--architectural .hero-visual::before { content: none !important; background: none !important; }
.hero--architectural .hero-visual img { display: block; width: 100%; height: 100%; object-fit: cover; transform: none !important; filter: none !important; opacity: 1; }
.hero--architectural .hp-hero-edge { pointer-events: none; position: absolute; z-index: 2; inset-block: 0; inset-inline-start: 0; width: 4px; background: #123a55; }
.hero--architectural .hp-hero-edge::before { content: ''; position: absolute; inset-inline-start: 0; top: 0; width: 4px; height: 0; background: #2caea7; transition: height 1.15s cubic-bezier(.22,.7,.24,1); }
.hero--architectural.hp-hero-ready .hp-hero-edge::before { height: 100%; }
.hero--architectural .hp-hero-edge span { position: absolute; inset-inline-start: 0; top: 35%; width: 24px; height: 2px; background: #2caea7; opacity: 0; transform: translateY(12px); transition: transform .85s ease .48s, opacity .85s ease .48s; }
.hero--architectural.hp-hero-ready .hp-hero-edge span { opacity: 1; transform: none; }
.hero--architectural .hero-lockup, .hero--architectural .hero-copy > p, .hero--architectural .hero-copy > .actions { transition: opacity .7s ease, transform .7s ease; }
.hero--architectural.hp-hero-pending .hero-lockup, .hero--architectural.hp-hero-pending .hero-copy > p, .hero--architectural.hp-hero-pending .hero-copy > .actions { opacity: 0; transform: translateY(14px); }
.hero--architectural.hp-hero-ready .hero-lockup, .hero--architectural.hp-hero-ready .hero-copy > p, .hero--architectural.hp-hero-ready .hero-copy > .actions { opacity: 1; transform: none; }
.hero--architectural.hp-hero-ready .hero-copy > p { transition-delay: .13s; }
.hero--architectural.hp-hero-ready .hero-copy > .actions { transition-delay: .23s; }
@media (max-width: 760px) {
  .hero.hero--architectural { min-height: 0; grid-template-columns: 1fr; }
  .hero--architectural .hero-visual { height: 300px; order: -1; }
  .hero--architectural .hero-copy, html[dir="rtl"] .hero--architectural .hero-copy { padding: 48px 7% 58px; }
  .hero--architectural .hp-hero-edge { width: 100%; height: 3px; inset-block: auto 0; inset-inline: 0; }
  .hero--architectural .hp-hero-edge::before { inset-block: 0; width: 0; height: 3px; transition: width 1s ease; }
  .hero--architectural.hp-hero-ready .hp-hero-edge::before { width: 100%; height: 3px; }
  .hero--architectural .hp-hero-edge span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero--architectural .hero-lockup, .hero--architectural .hero-copy > p, .hero--architectural .hero-copy > .actions, .hero--architectural .hp-hero-edge::before, .hero--architectural .hp-hero-edge span { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* Factory tour — isolated to avoid altering approved sections */
.hp-tour-section { background: #f0f6f5; }
.hp-tour-section .section-head { margin-bottom: 28px; }
.hp-tour-tabs { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:22px; }
.hp-tour-tab { appearance:none; cursor:pointer; border:1px solid #c7d8dc; background:#fff; color:#183c52; font-size:.88rem; font-weight:700; padding:13px 19px; border-radius:14px; transition:background .2s,color .2s,border-color .2s; }
.hp-tour-tab.is-active,.hp-tour-tab[aria-selected=true] {background:#103652;color:#fff;border-color:#103652;}
.hp-tour-layout { display:grid;grid-template-columns:minmax(0, 1fr) minmax(300px, .85fr);gap:24px;align-items:start; }
.hp-tour-map-column {min-width:0;}
.hp-tour-floor[hidden] {display:none !important;}
.hp-tour-map {position:relative;overflow:hidden;background:#fff;border:1px solid #dce7ea;border-radius:22px; box-shadow:0 16px 36px rgba(16,54,82,.07);}
.hp-tour-map > img {display:block;width:100%;height:auto;}
.hp-tour-pin {position:absolute;left:var(--pin-x);top:var(--pin-y);transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:5px;appearance:none;background:transparent;border:0;cursor:pointer;z-index:2;white-space:nowrap;padding:8px;}
.hp-tour-pin-dot {width:20px;height:20px;border:4px solid #fff;background:#159d98;border-radius:50%;box-shadow:0 0 0 5px rgba(21,157,152,.25),0 5px 18px rgba(4,37,55,.32);transition:transform .2s,box-shadow .2s;}
.hp-tour-pin:hover .hp-tour-pin-dot,.hp-tour-pin.is-selected .hp-tour-pin-dot,.hp-tour-pin:focus-visible .hp-tour-pin-dot {transform:scale(1.3);box-shadow:0 0 0 9px rgba(21,157,152,.26),0 5px 18px rgba(4,37,55,.35);}
.hp-tour-pin-label {display:block;font-size:.68rem;line-height:1.3;font-weight:700;padding:5px 9px;border-radius:8px;background:rgba(12,41,61,.94);color:white;box-shadow:0 4px 12px rgba(10,31,44,.17);}
.hp-tour-gallery {position:sticky;top:100px;min-height:410px;background:#103652;color:white;border-radius:22px;padding:25px;box-shadow:0 16px 36px rgba(16,54,82,.13);}
.hp-tour-gallery-placeholder {min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;}
.hp-tour-gallery-placeholder h3,.hp-tour-gallery-head h3 {color:#fff;margin:0;line-height:1.6;}
.hp-tour-gallery-placeholder p,.hp-tour-gallery-head p {color:rgba(255,255,255,.72);margin:0;line-height:1.8;}
.hp-tour-gallery-symbol {display:grid;place-items:center;font-size:3rem;color:#a5eee1;border:1px solid rgba(165,238,225,.25);width:90px;height:90px;border-radius:25px;}
.hp-tour-gallery-head {margin-bottom:16px;}
.hp-tour-gallery-hero {aspect-ratio:4/3;width:100%;object-fit:contain;background:#092538;border-radius:15px;}
.hp-tour-gallery-thumbs {display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;}
.hp-tour-gallery-thumb {appearance:none;padding:0;border:2px solid transparent;border-radius:10px;cursor:pointer;background:transparent;overflow:hidden;}
.hp-tour-gallery-thumb[aria-current=true] {border-color:#7de1d2;}
.hp-tour-gallery-thumb img {width:74px;height:59px;object-fit:cover;}
.hp-tour-note {font-size:.75rem;color:#617885;line-height:1.8;margin:13px 4px 0;}
@media(max-width:900px){.hp-tour-layout{grid-template-columns:1fr;}.hp-tour-gallery{position:relative;top:auto;min-height:300px;}.hp-tour-gallery-placeholder{min-height:240px;}}
@media(max-width:570px){.hp-tour-pin-label{font-size:.55rem;padding:4px 5px;}.hp-tour-pin-dot{width:15px;height:15px;border-width:3px;}.hp-tour-tab{font-size:.78rem;padding:10px 12px;}.hp-tour-gallery{padding:18px;}}

/* Dedicated 3D factory tour page */
.page-hero--factory-tour { background: linear-gradient(135deg, #0e2c44 0%, #183c52 55%, #1f5965 100%); color:#fff; padding: 78px 0 68px; }
.page-hero--factory-tour .page-hero__content { max-width: 980px; }
.page-hero--factory-tour h1 { color:#fff; margin: 12px 0 14px; }
.page-hero--factory-tour p { max-width: 760px; color: rgba(255,255,255,.82); }
.page-hero--factory-tour .eyebrow { color:#95ece0; }
.page-template-page-factory-tour .section--page-intro { padding-top: 34px; }
.page-template-page-factory-tour .hp-tour-section { background: transparent; padding: 0; }
.page-template-page-factory-tour .hp-tour-head { margin-bottom: 30px; }
.page-template-page-factory-tour .hp-tour-map { padding: 18px; background: linear-gradient(180deg,#f8fbfc 0%,#eef4f6 100%); }
.page-template-page-factory-tour .hp-tour-stage { perspective: 2200px; }
.page-template-page-factory-tour .hp-tour-surface { position: relative; transform: rotateX(11deg) rotateZ(-3deg); transform-origin: 50% 4%; transition: transform .35s ease, box-shadow .35s ease; box-shadow: 0 28px 42px rgba(7,31,46,.18); border-radius: 16px; overflow: visible; }
.page-template-page-factory-tour .hp-tour-floor.is-active .hp-tour-surface:hover { transform: rotateX(7deg) rotateZ(-1.5deg) translateY(-3px); }
.page-template-page-factory-tour .hp-tour-surface > img { display:block; width:100%; height:auto; border-radius: 16px; }
.page-template-page-factory-tour .hp-tour-pin { padding: 7px 8px; }
.page-template-page-factory-tour .hp-tour-gallery { top: 112px; }
.page-template-page-factory-tour .hp-tour-gallery-hero { object-fit: cover; background:#0d2736; }
.page-template-page-factory-tour .hp-tour-note { margin-top: 18px; }
@media(max-width:900px){
  .page-template-page-factory-tour .hp-tour-surface { transform:none; box-shadow:none; }
  .page-template-page-factory-tour .hp-tour-floor.is-active .hp-tour-surface:hover { transform:none; }
}

/* Engineered geometry-based 3D viewer — 1.3.4 */
.hp-factory-real3d{width:100%;max-width:1440px;margin:0 auto;}
.hp-factory-real3d .hp-tour-tabs{margin-bottom:20px;}
.hp-real3d-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(360px,.85fr);gap:22px;align-items:start;direction:ltr;}
.hp-real3d-viewport{position:relative;overflow:hidden;background:linear-gradient(180deg,#eef5f7 0%,#dfeaed 100%);border-radius:24px;border:1px solid #d2e0e4;box-shadow:0 20px 48px rgba(14,52,70,.10);min-height:720px;}
.hp-real3d-canvas{display:block;width:100%;height:720px;touch-action:none;cursor:grab;outline:none;}
.hp-real3d-canvas:active{cursor:grabbing;}
.hp-real3d-canvas:focus-visible{outline:2px solid #18a99c;outline-offset:-4px;}
.hp-real3d-tools{position:absolute;z-index:3;top:16px;left:16px;display:flex;gap:8px;flex-wrap:wrap;max-width:calc(100% - 32px);direction:ltr;}
.hp-real3d-tools button{height:40px;min-width:40px;border:1px solid #b9cdd5;background:rgba(255,255,255,.96);color:#123a51;border-radius:11px;box-shadow:0 6px 12px rgba(17,40,51,.08);font-weight:700;cursor:pointer;font-size:.93rem;padding:0 12px;white-space:nowrap;}
.hp-real3d-tools button:hover,.hp-real3d-tools button:focus-visible{background:#0d344c;color:white;}
.hp-real3d-tip{position:absolute;bottom:16px;left:16px;right:16px;padding:11px 15px;background:rgba(11,39,57,.86);backdrop-filter:blur(6px);color:#ecf8f9;border-radius:14px;font-size:.78rem;text-align:center;pointer-events:none;direction:auto;}
.hp-real3d-status{position:absolute;top:78px;left:16px;color:#31576a;background:rgba(255,255,255,.84);border-radius:10px;padding:7px 11px;font-size:.78rem;pointer-events:none;backdrop-filter:blur(6px);}
.hp-real3d-legend{position:absolute;right:16px;top:16px;z-index:3;display:flex;flex-direction:column;gap:8px;background:rgba(255,255,255,.84);backdrop-filter:blur(6px);border:1px solid #cfe0e5;border-radius:14px;padding:12px 14px;min-width:190px;box-shadow:0 8px 18px rgba(14,52,70,.08);}
.hp-real3d-legend span{display:flex;align-items:center;gap:8px;font-size:.77rem;color:#315468;line-height:1.45;}
.hp-real3d-legend i{width:13px;height:13px;border-radius:50%;display:inline-block;box-shadow:inset 0 0 0 1px rgba(11,44,66,.14);}
.hp-real3d-sidebar{display:grid;gap:18px;align-self:start;position:sticky;top:96px;}
.hp-real3d-details,.hp-real3d-roompanel{background:#103652;color:white;border-radius:22px;box-shadow:0 18px 36px rgba(14,52,70,.11);overflow:hidden;}
.hp-real3d-details{padding:24px;direction:rtl;}
html[dir="ltr"] .hp-real3d-details{direction:ltr;}
html[dir="ltr"] .hp-real3d-details,html[dir="ltr"] .hp-real3d-roompanel{direction:ltr;}
.hp-real3d-roompanel{background:#f8fbfc;color:#12384f;border:1px solid #d9e5ea;}
.hp-real3d-roompanel-head{padding:18px 18px 10px;border-bottom:1px solid #e0eaee;}
.hp-real3d-roompanel-head h3{margin:0;font-size:1rem;color:#103652;}
.hp-real3d-roompanel-head p{margin:6px 0 0;font-size:.78rem;color:#56717f;line-height:1.7;}
.hp-real3d-roomlist{max-height:420px;overflow:auto;padding:10px;}
.hp-real3d-roomlist-items{list-style:none;margin:0;padding:0;display:grid;gap:8px;}
.hp-real3d-roomitem button{display:block;width:100%;text-align:inherit;background:white;border:1px solid #dbe7eb;border-radius:14px;padding:12px 14px;cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;}
.hp-real3d-roomitem button:hover,.hp-real3d-roomitem button:focus-visible{transform:translateY(-1px);border-color:#18a99c;box-shadow:0 8px 18px rgba(15,94,112,.10);}
.hp-real3d-roomitem.is-active button{border-color:#18a99c;background:#ebfbf8;box-shadow:0 8px 18px rgba(15,94,112,.10);}
.hp-real3d-roomitem-name{display:block;font-weight:700;color:#11384f;line-height:1.6;}
.hp-real3d-roomitem-meta{display:block;color:#608090;font-size:.76rem;margin-top:3px;line-height:1.5;}
.hp-real3d-empty{min-height:360px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:12px;}
.hp-real3d-empty span{font-size:3rem;color:#79ddd5;}
.hp-real3d-empty h3,.hp-real3d-detail-head h3{margin:0;color:white;line-height:1.55;}
.hp-real3d-empty p{margin:0;color:#c9d9df;line-height:1.85;}
.hp-real3d-detail-head small{color:#7de1d2;font-size:.78rem;}
.hp-real3d-detail-head h3{font-size:1.38rem;margin-top:8px;}
.hp-real3d-badges{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 14px;}
.hp-real3d-badges span{padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.14);color:#dcebf0;font-size:.73rem;}
.hp-real3d-metrics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:6px 0 14px;}
.hp-real3d-metrics-grid div{padding:12px;border-radius:15px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);text-align:center;}
.hp-real3d-metrics-grid strong{display:block;color:white;font-size:1rem;line-height:1.2;}
.hp-real3d-metrics-grid span{display:block;color:#bfd5dc;font-size:.74rem;margin-top:4px;}
.hp-real3d-geometry-note{font-size:.78rem;color:#d4e4e8;line-height:1.85;margin:0 0 14px;}
.hp-real3d-reference{padding:11px;background:#f1f6f7;border-radius:14px;margin-top:12px;}
.hp-real3d-reference img{display:block;max-height:350px;width:100%;object-fit:contain;background:#fff;border-radius:10px;}
.hp-real3d-image-cap{font-size:.74rem;font-weight:700;color:#355568;line-height:1.7;margin-bottom:8px;}
.hp-real3d-photo-note{font-size:.79rem;color:#d3e5ea;line-height:1.9;margin:16px 0 0;}
.hp-real3d-photo-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px;}
.hp-real3d-photo-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;}
.hp-real3d-detail-body h4{color:white;margin:20px 0 4px;font-size:.94rem;}
.hp-real3d-disclaimer{max-width:1200px;padding:14px 18px;margin:20px auto 0;border:1px solid #d8e4e9;background:#f4f8fa;color:#456374;font-size:.77rem;line-height:1.9;border-radius:12px;}
@media(max-width:1180px){.hp-real3d-layout{grid-template-columns:1fr;}.hp-real3d-sidebar{position:static;}.hp-real3d-empty{min-height:220px;}.hp-real3d-roomlist{max-height:none;}.hp-real3d-legend{position:static;margin:18px 16px 0;}}
@media(max-width:700px){.hp-real3d-canvas{height:560px;}.hp-real3d-viewport{min-height:560px;}.hp-real3d-tip{font-size:.68rem;}.hp-real3d-tools{top:10px;left:10px;gap:6px;}.hp-real3d-tools button{height:36px;min-width:36px;padding:0 9px;font-size:.82rem;}.hp-real3d-status{top:64px;left:10px;font-size:.72rem;}.hp-real3d-details{padding:18px;}.hp-real3d-metrics-grid{grid-template-columns:1fr;}.hp-real3d-legend{min-width:0;gap:6px;padding:10px 12px;}.hp-real3d-roompanel-head{padding:16px 16px 8px;}}

/* 1.3.6 — WebGL 3D annotations; labels do not intercept camera gestures outside the label itself */
.hp-real3d-annotations{position:absolute;inset:0;z-index:2;pointer-events:none;overflow:hidden;}
.hp-real3d-pin{position:absolute;transform:translate(-50%,-50%);appearance:none;background:rgba(10,45,66,.94);border:1px solid rgba(255,255,255,.16);color:#fff;box-shadow:0 2px 7px rgba(10,36,50,.18);border-radius:7px;padding:5px 7px;white-space:nowrap;font:600 10px/1.3 system-ui,sans-serif;cursor:pointer;pointer-events:auto;max-width:150px;overflow:hidden;text-overflow:ellipsis;transition:opacity .15s ease,background .15s ease;}
.hp-real3d-pin.is-muted{opacity:.32;pointer-events:none;}
.hp-real3d-pin.is-selected,.hp-real3d-pin:hover,.hp-real3d-pin:focus-visible{background:#087e80;border-color:#8ce5d9;opacity:1;}
.hp-real3d-canvas{background:#e6eff2;}
@media(max-width:700px){.hp-real3d-pin{font-size:9px;padding:4px 6px;max-width:96px;}}
