/* Layout: the Showroom app's dark stage carried to the web — glows, grid, surface cards with a section-colour bar; the real building is the interactive centrepiece. */
@font-face { font-family: "Modam"; src: url("ModamVF.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  color-scheme: dark;
  --brand: #024579; --brand-hi: #5AA9E6; --sun: #FFC10E; --sun-deep: #E3A700;
  --bg: #031322; --surface: #08223A; --surface-2: #0C2C49; --surface-3: #123859;
  --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.17);
  --text: #EDF3F8; --muted: #9AB0C4; --dim: #647B90;
  --s1: #37A499; --s2: #8A9092; --s3: #4C63B6; --s4: #C46A38;   /* section colours, lifted for dark ground */
  --font: "Modam", Tahoma, "Segoe UI", sans-serif;
  --r-sm: 6px; --r-md: 10px; --r-lg: 12px; --r-xl: 14px; --ease: cubic-bezier(.2,.8,.2,1);
  --gutter: clamp(16px, 4vw, 56px); --max: 1280px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.95; direction: rtl; overflow-x: hidden; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
h1, h2, h3 { text-wrap: balance; line-height: 1.3; }
a { color: inherit; text-decoration: none; }
img { display: block; }
button { font: inherit; color: inherit; }
.container { max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); position: relative; }
.band { padding-block: clamp(56px, 9vw, 128px); position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; color: var(--c, var(--sun)); line-height: 1.5; }
.eyebrow::before { content: ""; width: 38px; height: 3px; border-radius: 3px; background: currentColor; }
.h2 { font-size: clamp(28px, 4vw, 54px); font-weight: 850; }
.lead { color: var(--muted); max-width: 58ch; font-size: clamp(16px, 1.4vw, 19px); }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(24px, 4vw, 52px); }
.head > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }

/* backdrop shared by the whole page: grid + cursor spotlight */
.backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.backdrop .grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 78%); mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 78%); opacity: .7; }
.backdrop .spot { position: absolute; width: 640px; height: 640px; border-radius: 50%; left: var(--mx, 70%); top: var(--my, 20%); translate: -50% -50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand-hi) 20%, transparent) 0%, transparent 62%); transition: left .5s var(--ease), top .5s var(--ease); }
.ib-site .elementor, .ib-site .site-main, .ib-site .site-header, .ib-site .site-footer { position: relative; z-index: 1; }
.glow { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; z-index: -1; }

.btn { font-weight: 750; font-size: 16px; line-height: 1.4; padding: 15px 28px; border-radius: var(--r-md); border: 1px solid transparent; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; position: relative; overflow: hidden; transition: transform .2s var(--ease), box-shadow .3s var(--ease), background .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.96); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.btn.primary { background: var(--sun); color: #012B4D; box-shadow: 0 18px 36px -18px rgba(255,193,14,.7); }
.btn.primary::after { content: ""; position: absolute; inset-block: 0; width: 40%; inset-inline-start: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-18deg); transition: inset-inline-start .7s var(--ease); }
.btn.primary:hover::after { inset-inline-start: 120%; }
.btn.ghost { background: var(--surface); border-color: var(--line-2); color: var(--text); }
.btn.ghost:hover { background: var(--surface-2); border-color: var(--brand-hi); }
.btn svg { width: 18px; height: 18px; flex: none; }
.sec-ic { width: 60px; height: 60px; border-radius: var(--r-md); background: var(--c); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 18px 30px -14px color-mix(in srgb, var(--c) 85%, transparent); }
.sec-ic svg { width: 62%; height: 62%; }
.sec-ic.sm { width: 30px; height: 30px; border-radius: var(--r-sm); box-shadow: none; }
.logo-chip { background: #fff; border-radius: var(--r-sm); padding: 6px 10px; display: flex; align-items: center; justify-content: center; flex: none; }
.logo-chip img { width: 100%; height: 100%; object-fit: contain; }
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.rise { animation: rise 1s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 150ms); }
@keyframes rise { from { opacity: 0; transform: translateY(34px); } }


/* toolbar (like the app) */
.toolbar { position: relative; z-index: 5; }
.toolbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--brand); color: var(--sun); display: grid; place-items: center; flex: none; box-shadow: inset 0 0 0 1px var(--line-2); }
.brand-mark svg { width: 28px; height: 28px; }
.brand b { display: block; font-size: 17px; font-weight: 850; line-height: 1.4; }
.brand small { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; }
.nav { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--surface) 80%, transparent); border: 1px solid var(--line); backdrop-filter: blur(14px); font-size: 15px; font-weight: 650; }
.nav a { padding: 9px 16px; border-radius: var(--r-sm); color: var(--muted); transition: background .2s, color .2s; }
.nav a:hover { background: var(--surface-3); color: var(--text); }
.nav a.cta { background: var(--sun); color: #012B4D; font-weight: 750; }
@media (max-width: 900px) { .nav a:not(.cta) { display: none; } .brand small { display: none; } }

/* hero */
.hero { position: relative; padding-block: clamp(12px, 3vw, 40px) clamp(48px, 7vw, 96px); }
.hero .glow.a { width: 760px; height: 520px; background: color-mix(in srgb, var(--brand) 85%, transparent); top: -220px; inset-inline-start: -200px; }
.hero .glow.b { width: 620px; height: 480px; background: color-mix(in srgb, var(--sun) 22%, transparent); bottom: -60px; inset-inline-end: 4%; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: clamp(14px, 1.8vw, 24px); align-items: flex-start; }
.hero-copy h1 { font-size: clamp(32px, 3.5vw, 60px); font-weight: 900; line-height: 1.12; }
.hero-copy h1 span { display: block; overflow: hidden; padding-block: .06em; }
.hero-copy h1 span i { display: block; font-style: normal; white-space: nowrap; animation: up 1.1s var(--ease) both; animation-delay: calc(var(--d) * 140ms + 200ms); }
.hero-copy h1 .hl i { background: linear-gradient(100deg, var(--sun) 20%, #FFE38A 50%, var(--sun) 80%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: up 1.1s var(--ease) both, shine 6s linear 1.6s infinite; animation-delay: calc(var(--d) * 140ms + 200ms), 1.6s; }
@keyframes up { from { transform: translateY(110%); } }
@keyframes shine { to { background-position: -220% 0; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.stat { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.stat b { font-size: 34px; font-weight: 900; line-height: 1; color: var(--sun); font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; line-height: 1.5; color: var(--muted); font-weight: 600; max-width: 8ch; }

.stage { position: relative; border-radius: var(--r-xl); aspect-ratio: 1500 / 1123; max-width: 100%; background: var(--surface); box-shadow: 0 60px 90px -50px #000, 0 0 0 1px var(--line-2); will-change: transform; animation: stageIn 1.4s var(--ease) both .2s; }
@keyframes stageIn { from { opacity: 0; clip-path: inset(0 0 100% 0 round 14px); transform: translateY(40px) scale(.96); } to { clip-path: inset(0 0 0 0 round 14px); } }
.stage .photo { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
.stage .photo img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 26s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1.2%, -1%); } }
.stage .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(3,19,34,.72) 0%, rgba(3,19,34,0) 34%), linear-gradient(to bottom, rgba(3,19,34,.35) 0%, rgba(3,19,34,0) 28%); }
.stage .scan { position: absolute; inset-inline: 0; height: 34%; top: -40%; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--sun) 14%, transparent) 70%, color-mix(in srgb, var(--sun) 55%, transparent) 99%, transparent); animation: scan 7s linear infinite 2s; pointer-events: none; mix-blend-mode: screen; }
@keyframes scan { to { top: 110%; } }
.stage .corner { position: absolute; width: 26px; height: 26px; border: 2px solid var(--sun); opacity: .9; }
.stage .corner.tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.stage .corner.br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.stage .tag { position: absolute; bottom: 18px; inset-inline-start: 22px; font-size: 13px; color: rgba(255,255,255,.85); line-height: 1.5; display: flex; align-items: center; gap: 8px; }
.stage .tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3CCB93; box-shadow: 0 0 0 4px rgba(60,203,147,.25); }
.hot { position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; z-index: 2; }
.hot .hot-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--c, var(--sun)); color: #fff; border: 2px solid #fff; display: grid; place-items: center; cursor: pointer; position: relative; padding: 0; box-shadow: 0 6px 16px rgba(0,0,0,.5); transition: transform .3s var(--ease); }
.hot .hot-btn::before, .hot .hot-btn::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--c, var(--sun)); animation: pulse 2.4s ease-out infinite; }
.hot .hot-btn svg { width: 58%; height: 58%; }
.hot .hot-btn::after { animation-delay: 1.2s; }
@keyframes pulse { from { transform: scale(.9); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
.hot .tip { position: absolute; bottom: calc(100% + 14px); left: 50%; translate: -50% 8px; white-space: nowrap; padding: 9px 14px; border-radius: var(--r-sm); background: rgba(3,19,34,.88); border: 1px solid var(--line-2); backdrop-filter: blur(10px); font-size: 13px; font-weight: 700; line-height: 1.5; opacity: 0; pointer-events: none; transition: opacity .3s, translate .3s var(--ease); }
.hot .tip small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.hot:hover .tip, .hot:focus-within .tip, .hot.show .tip { opacity: 1; translate: -50% 0; }
.hot:hover .hot-btn { transform: scale(1.2); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero-copy { order: 0; } .hot .tip { display: none; } .hot.show .tip { display: block; } }

/* ticker */
.ticker { border-block: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 60%, transparent); overflow: hidden; }
.ticker .track { display: flex; gap: 44px; width: max-content; padding-block: 16px; animation: slide 38s linear infinite; font-size: 15px; font-weight: 650; color: var(--muted); }
.ticker .track span { display: inline-flex; align-items: center; gap: 44px; white-space: nowrap; }
.ticker .track span::after { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--sun); rotate: 45deg; }
@keyframes slide { to { transform: translateX(50%); } }

/* sections: expanding panels */
.panels { display: flex; gap: 14px; height: clamp(380px, 46vw, 560px); }
.panel-x { position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; cursor: pointer; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; gap: 6px; border: 1px solid var(--line); transition: flex-grow .8s var(--ease), box-shadow .6s; }
.panel-x img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(1) contrast(1.05); transition: filter .8s, transform 1.4s var(--ease); }
.panel-x::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, color-mix(in srgb, var(--c) 92%, #000) 0%, color-mix(in srgb, var(--c) 70%, transparent) 46%, color-mix(in srgb, var(--bg) 60%, transparent) 100%); transition: opacity .8s; }
.panel-x .sec-ic { margin-bottom: 8px; transition: transform .7s var(--ease); }
.panel-x strong { font-size: clamp(18px, 1.9vw, 28px); font-weight: 850; line-height: 1.35; }
.panel-x p { font-size: 15px; color: rgba(255,255,255,.85); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .8s var(--ease), opacity .6s; max-width: 46ch; }
.panel-x .go { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 750; color: #fff; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .8s var(--ease), opacity .6s; }
.panel-x .go svg { width: 18px; height: 18px; }
.panel-x:hover, .panel-x.on { flex-grow: 2.6; box-shadow: 0 40px 70px -40px var(--c); }
.panel-x:hover img, .panel-x.on img { filter: grayscale(0); transform: scale(1.06); }
.panel-x:hover p, .panel-x.on p { max-height: 120px; opacity: 1; }
.panel-x:hover .go, .panel-x.on .go { max-height: 40px; opacity: 1; margin-top: 6px; }
.panel-x:hover .sec-ic, .panel-x.on .sec-ic { transform: scale(1.15) rotate(-6deg); }
.panels:hover .panel-x.on:not(:hover) { flex-grow: 1; box-shadow: none; }
.panels:hover .panel-x.on:not(:hover) p, .panels:hover .panel-x.on:not(:hover) .go { max-height: 0; opacity: 0; margin-top: 0; }
.panels:hover .panel-x.on:not(:hover) img { filter: grayscale(1); transform: none; }
@media (max-width: 820px) { .panels { flex-direction: column; height: auto; } .panel-x { min-height: 150px; } .panel-x p, .panel-x .go { max-height: 120px; opacity: 1; } .panel-x .go { margin-top: 6px; } .panel-x img { filter: grayscale(.3); } }

/* energy-loss diagram */
.loss-wrap { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--brand) 22%, transparent) 45%, transparent); }
.loss { --cols: 35fr 30fr 12.5fr 22.5fr; display: grid; gap: 22px; }
.loss-bar { display: grid; grid-template-columns: var(--cols); gap: 4px; height: 14px; }
.loss-bar i { background: var(--k); border-radius: 2px; transform: scaleX(0); transform-origin: right center; transition: transform 1.1s var(--ease); transition-delay: calc(var(--n) * 220ms + 200ms); }
.loss.in .loss-bar i { transform: none; }
.loss-cols { display: grid; grid-template-columns: var(--cols); gap: 4px; }
.loss-col { border-inline-start: 1px solid var(--line-2); padding-inline: 16px 8px; display: flex; flex-direction: column; gap: 6px; min-width: 0; opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--n) * 220ms + 500ms); }
.loss.in .loss-col { opacity: 1; transform: none; }
.loss-col b { font-size: clamp(18px, 1.9vw, 28px); font-weight: 850; line-height: 1.2; color: var(--k); font-variant-numeric: tabular-nums; white-space: nowrap; }
.loss-col strong { font-size: 16px; font-weight: 750; line-height: 1.5; }
.loss-col span { font-size: 14px; color: var(--muted); line-height: 1.75; }
.loss-note { font-size: 13px; color: var(--dim); }
@media (max-width: 820px) { .loss-bar { display: none; } .loss-cols { grid-template-columns: 1fr; gap: 14px; } .loss-col { border: 0; border-top: 3px solid var(--k); padding: 12px 0 0; } }

/* product rail (same idea as the kiosk) */
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 12px 28px; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.drag { cursor: grabbing; scroll-snap-type: none; }
.card { position: relative; flex: 0 0 clamp(250px, 23vw, 330px); scroll-snap-align: start; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; transform-style: preserve-3d; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 -3px 0 0 var(--c); pointer-events: none; z-index: 2; transition: box-shadow .4s var(--ease); }
.card::after { content: ""; position: absolute; inset: auto 14% 0 14%; height: 26%; background: radial-gradient(60% 100% at 50% 100%, color-mix(in srgb, var(--c) 24%, transparent) 0%, transparent 72%); opacity: .55; transition: opacity .5s var(--ease); pointer-events: none; }
.card:hover { transform: translateY(-10px); box-shadow: 0 40px 60px -36px var(--c); border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.card:hover::before { box-shadow: inset 0 -5px 0 0 var(--c); }
.card:hover::after { opacity: .9; }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); pointer-events: none; }
.card:hover .card-media img { transform: scale(1.07); }
.card-body { position: relative; z-index: 1; padding: 16px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-co { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 650; color: var(--muted); line-height: 1.5; min-width: 0; }
.card-co::before { content: ""; width: 14px; height: 2px; background: var(--c); flex: none; }
.card-co span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card h3 { font-size: 18px; font-weight: 800; line-height: 1.55; }
.card-foot { position: relative; margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 750; color: color-mix(in srgb, var(--c) 55%, #fff); border-top: 1px solid var(--line); }
.card-foot svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.card:hover .card-foot svg { transform: translateX(-6px); }
.rail-bar { height: 4px; width: 220px; margin-inline: auto; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; }
.rail-bar i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 30%; border-radius: 4px; background: var(--sun); }

/* catalog */
.catalog-box { position: relative; border-radius: var(--r-xl); background: linear-gradient(120deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2); padding: clamp(28px, 5vw, 72px); display: grid; grid-template-columns: 1fr auto; gap: clamp(28px, 6vw, 96px); align-items: center; overflow: hidden; }
.catalog-box .glow { width: 460px; height: 460px; background: color-mix(in srgb, var(--sun) 30%, transparent); inset-inline-end: 4%; top: 50%; translate: 0 -50%; z-index: 0; }
.catalog-box .text { position: relative; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; min-width: 0; }
.catalog-box .meta { font-size: 14px; color: var(--muted); }
.cover { position: relative; width: clamp(180px, 22vw, 290px); perspective: 1200px; }
.cover img { width: 100%; border-radius: 8px; box-shadow: -30px 40px 60px -20px #000; transform: rotateY(22deg) rotateX(4deg) rotate(-2deg); transition: transform .9s var(--ease); animation: float 6s ease-in-out infinite; }
.cover:hover img { transform: rotateY(0) rotateX(0) rotate(0) scale(1.04); animation-play-state: paused; }
@keyframes float { 50% { translate: 0 -14px; } }
@media (max-width: 760px) { .catalog-box { grid-template-columns: 1fr; justify-items: center; text-align: center; } .catalog-box .text { align-items: center; } .cover { order: -1; } }

/* logos */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); display: grid; gap: 16px; }
.marquee .track { display: flex; gap: 16px; width: max-content; animation: slide 52s linear infinite; }
.marquee .track.rev { animation-direction: reverse; animation-duration: 64s; }
.marquee:hover .track { animation-play-state: paused; }
.marquee .logo-chip { width: 176px; height: 104px; padding: 14px; border-radius: var(--r-md); transition: transform .4s var(--ease); }
.marquee .logo-chip:hover { transform: scale(1.08); }

/* visit */
.visit { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; align-items: stretch; }
.visit .box { border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 10px; }
.visit dl { margin: 14px 0 0; display: grid; gap: 14px; }
.visit dt { font-size: 13px; color: var(--dim); line-height: 1.5; }
.visit dd { margin: 0; font-weight: 700; line-height: 1.7; }
.map { border-radius: var(--r-xl); border: 1px solid var(--line); min-height: 340px; position: relative; overflow: hidden; background: var(--surface-2);
  background-image: linear-gradient(120deg, transparent 46%, var(--surface-3) 46%, var(--surface-3) 49%, transparent 49%), linear-gradient(28deg, transparent 58%, var(--surface-3) 58%, var(--surface-3) 60%, transparent 60%), linear-gradient(88deg, transparent 22%, var(--surface-3) 22%, var(--surface-3) 23.5%, transparent 23.5%), linear-gradient(170deg, transparent 70%, var(--surface-3) 70%, var(--surface-3) 72%, transparent 72%); }
.map .hot { --x: 50%; --y: 50%; }
.map .label { position: absolute; left: 50%; top: calc(50% + 30px); translate: -50% 0; font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: var(--r-sm); background: rgba(3,19,34,.85); border: 1px solid var(--line-2); white-space: nowrap; line-height: 1.6; }
.default-note { font-size: 13px; color: var(--muted); border-inline-start: 3px solid var(--sun); padding-inline-start: 12px; margin-top: auto; line-height: 1.8; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

.foot { border-top: 1px solid var(--line); background: #020D18; color: var(--muted); font-size: 15px; position: relative; z-index: 1; }
.foot .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-block: 56px 28px; }
.foot h3 { color: var(--text); font-size: 15px; font-weight: 750; margin-bottom: 10px; }
.foot li { line-height: 2.2; }
.foot .copy { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; font-size: 13px; }
@media (max-width: 760px) { .foot .container { grid-template-columns: 1fr; } }

/* single product (same structure as the app's product view) */
.single-wrap { padding-block: 12px clamp(40px, 6vw, 80px); }
.single-wrap .glow { width: 700px; height: 500px; background: color-mix(in srgb, var(--c) 34%, transparent); top: -160px; inset-inline-start: -160px; }
.ib-single { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); font-weight: 650; line-height: 1.5; }
.crumbs b { color: color-mix(in srgb, var(--c) 55%, #fff); }
.info { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.info h1 { font-size: clamp(30px, 3.8vw, 52px); font-weight: 900; }
.maker { display: flex; align-items: center; gap: 14px; }
.maker .logo-chip { width: 110px; height: 70px; }
.maker small { display: block; font-size: 13px; color: var(--dim); line-height: 1.4; }
.maker b { line-height: 1.5; font-weight: 800; }
.tabs { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 6px; padding: 6px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.tabs button { position: relative; min-height: 78px; border: 0; background: transparent; border-radius: var(--r-md); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 14px; font-weight: 750; line-height: 1.4; color: var(--muted); cursor: pointer; transition: background .3s, color .3s; padding: 6px; text-align: center; }
.tabs button svg { width: 22px; height: 22px; }
.tabs button[aria-selected="true"] { background: var(--c); color: #fff; box-shadow: 0 16px 28px -16px var(--c); }
.tabs .n { position: absolute; top: 6px; inset-inline-end: 8px; font-size: 11px; font-weight: 850; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-3); color: var(--muted); }
.tabs button[aria-selected="true"] .n { background: rgba(255,255,255,.25); color: #fff; }
.tabpanel { border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); padding: clamp(18px, 2.4vw, 30px); }
.tabpanel p { color: color-mix(in srgb, var(--text) 88%, transparent); }
.tabpanel ul { display: grid; gap: 10px; }
.tabpanel li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 16px; background: var(--surface-2); border-radius: var(--r-md); line-height: 1.8; animation: rise .6s var(--ease) both; animation-delay: calc(var(--k, 0) * 60ms); }
.tabpanel li svg { width: 22px; height: 22px; color: var(--c); flex: none; margin-top: 5px; }
.cert { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: var(--r-md); background: var(--surface-2); font-weight: 700; line-height: 1.6; }
.cert svg { width: 26px; height: 26px; color: var(--sun); flex: none; }
.media { position: sticky; top: 64px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.media .mstage { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #fff; box-shadow: 0 50px 80px -50px #000, 0 0 0 1px var(--line-2); }
.media .mstage img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.media .mtag { position: absolute; top: 16px; inset-inline-start: 16px; font-size: 13px; font-weight: 800; padding: 4px 12px; border-radius: var(--r-sm); background: rgba(3,19,34,.78); border: 1px solid var(--line-2); line-height: 1.6; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); opacity: .6; transition: opacity .3s, transform .3s var(--ease); cursor: pointer; }
.thumbs img:hover { opacity: 1; transform: translateY(-3px); }
.thumbs img.on { opacity: 1; outline: 3px solid var(--c); outline-offset: 2px; }
@media (max-width: 940px) { .ib-single { grid-template-columns: 1fr; } .media { position: static; order: -1; } .tabs button { font-size: 12px; min-height: 68px; } }



/* ---- WordPress / Elementor integration ---- */
body.ib-site { background: var(--bg) !important; color: var(--text) !important; font-family: var(--font) !important; font-size: 17px; line-height: 1.95; }
.ib-site h1, .ib-site h2, .ib-site h3, .ib-site p, .ib-site li, .ib-site dd, .ib-site dt, .ib-site small, .ib-site strong, .ib-site b, .ib-site span { font-family: inherit; }
.ib-site .elementor h1, .ib-site .elementor h2, .ib-site .elementor h3 { color: var(--text); font-family: var(--font); margin: 0; }
.ib-site .elementor p { margin: 0; }
.ib-site .elementor a, .ib-site .elementor a:hover, .ib-site .elementor a:active { color: inherit; }
.ib-site .elementor .nav a { color: var(--muted); } .ib-site .elementor .nav a:hover { color: var(--text); } .ib-site .elementor .nav a.cta, .ib-site .elementor .btn.primary, .ib-site .elementor .fchip:not([style]).on { color: #012B4D; }
.ib-site .elementor .card-foot, .ib-site .elementor .crumbs a { color: color-mix(in srgb, var(--c) 55%, #fff); }
.ib-site .elementor .fchip { color: var(--muted); } .ib-site .elementor .fchip.on { color: #fff; }
.ib-site .tabs button, .ib-site .tabs button:hover, .ib-site .tabs button:focus { background: transparent; color: var(--muted); border: 0; font-family: var(--font); }
.ib-site .tabs button[aria-selected="true"], .ib-site .tabs button[aria-selected="true"]:hover, .ib-site .tabs button[aria-selected="true"]:focus { background: var(--c); color: #fff; }
.ib-site .elementor .panel-x img, .ib-site .elementor .card-media img, .ib-site .elementor .stage img, .ib-site .elementor .logo-chip img { width: 100%; height: 100%; max-width: none; }
.ib-site .elementor .logo-chip img { object-fit: contain; }
.ib-site .elementor .mstage img { width: 100%; height: auto; }
.ib-site .elementor .thumbs img { width: 100%; height: auto; }
.ib-site .elementor .cover img { width: 100%; height: auto; }
.ib-site .elementor .brand, .ib-site .elementor .brand b { color: var(--text); } .ib-site .elementor .brand small { color: var(--muted); } .ib-site .elementor .brand-mark { color: var(--sun); }
.ib-site .page-header, .ib-site .entry-title { display: none; }
.ib-site .elementor-widget:not(:last-child) { margin-bottom: 0; }
.ib-site a { text-decoration: none; }
.hot .hot-btn { text-decoration: none; }
.hot .hot-btn svg { stroke-width: 3; }
.card-media img, .panel-x img, .logo-chip img, .maker .logo-chip img { max-width: none; }
.card-media img { height: 100%; }
.maker { margin-bottom: 4px; }
.certs { display: flex; flex-wrap: wrap; gap: 10px; }
.crumbs a { color: color-mix(in srgb, var(--c) 55%, #fff); }
.map.has-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.3) invert(.92) hue-rotate(180deg); }
.ib-archive .glow { width: 700px; height: 460px; background: color-mix(in srgb, var(--c) 30%, transparent); top: -180px; inset-inline-start: -160px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(20px, 3vw, 36px); }
.fchip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--muted); transition: background .2s, color .2s, border-color .2s; }
.fchip:hover { color: var(--text); border-color: var(--line-2); }
.fchip.on { background: var(--c, var(--sun)); border-color: transparent; color: #fff; }
.fchip:not([style]).on { color: #012B4D; }
.fchip.on .sec-ic { background: rgba(255,255,255,.22); }
.ib-archive .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.ib-archive .grid .card { flex: none; animation: rise .8s var(--ease) both; }
@media (max-width: 560px) { .ib-archive .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .ib-archive .grid .card-body { padding: 12px 12px 16px; } .ib-archive .grid .card h3 { font-size: 15px; } }
/* ---- round 2: landscape hero, vertical section panels, tighter details ---- */
.ib-site .elementor-location-header { position: relative; z-index: 6; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(22px, 3vw, 44px); }
.hero-top .hero-copy { gap: clamp(8px, 1.2vw, 16px); }
.hero-copy h1 { font-size: clamp(34px, 4.4vw, 76px); }
.hero-side { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.stage { aspect-ratio: auto; width: 100%; }
.stage::before { content: ""; display: block; padding-top: 50%; }
.stage .scan { display: none; }
.stage .bp, .stage .lens { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; z-index: 1; }
.stage .bp img, .stage .lens img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 26s ease-in-out infinite alternate; }
.stage .bp { animation: bpReveal 3.4s cubic-bezier(.65,0,.25,1) 1s both; }
@keyframes bpReveal { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(100% 0 0 0); } }
.stage .beam { position: absolute; inset-inline: 0; height: 3px; top: 0; z-index: 2; background: var(--sun); box-shadow: 0 0 22px 5px rgba(255,193,14,.75), 0 -70px 90px 30px rgba(255,193,14,.10); animation: beam 3.4s cubic-bezier(.65,0,.25,1) 1s both; pointer-events: none; }
@keyframes beam { 0% { top: 0; opacity: 1; } 96% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.stage .lens { opacity: 0; transition: opacity .45s; }
.stage .ring { position: absolute; left: var(--lx, 50%); top: var(--ly, 50%); translate: -50% -50%; border-radius: 50%; border: 1.5px solid var(--sun); box-shadow: 0 0 0 1px rgba(3,19,34,.5), inset 0 0 40px rgba(47,155,255,.35); opacity: 0; transition: opacity .45s; z-index: 1; pointer-events: none; }
.stage .ring::before, .stage .ring::after { content: ""; position: absolute; background: var(--sun); }
.stage .ring::before { left: 50%; top: -9px; width: 1.5px; height: 18px; } .stage .ring::after { top: 50%; left: -9px; height: 1.5px; width: 18px; }
.stage.xray .lens, .stage.xray .ring { opacity: 1; }
.stage .hot { z-index: 3; } .stage .tag, .stage .corner { z-index: 3; }

.stage .ring { width: 300px; height: 300px; }
.stage .lens { -webkit-mask-image: radial-gradient(circle 150px at var(--lx, 50%) var(--ly, 50%), #000 62%, transparent 100%); mask-image: radial-gradient(circle 150px at var(--lx, 50%) var(--ly, 50%), #000 62%, transparent 100%); }
@media (max-width: 960px) { .hero-top { grid-template-columns: 1fr; align-items: start; } .stage::before { padding-top: 62%; } .hot .hot-btn { width: 34px; height: 34px; } }

.panel-x { padding: 0; }
.panel-x strong { white-space: nowrap; }
.panel-x .pv { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 18px; padding-block: 26px; transition: opacity .35s var(--ease); }
.panel-x .pv strong { writing-mode: vertical-rl; font-size: clamp(17px, 1.6vw, 24px); font-weight: 850; line-height: 1.2; }
.panel-x .pv .sec-ic, .panel-x .ph .sec-ic { margin: 0; transform: none; }
.panel-x .ph { position: absolute; bottom: 26px; inset-inline-start: 26px; width: 430px; max-width: calc(100vw - 84px); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; opacity: 0; transform: translateY(12px); transition: opacity .3s var(--ease), transform .5s var(--ease); pointer-events: none; }
.panel-x .ph strong { font-size: clamp(20px, 2vw, 30px); font-weight: 850; line-height: 1.35; margin-top: 8px; }
.panel-x .ph .pd { font-size: 15px; line-height: 1.85; color: rgba(255,255,255,.88); }
.panel-x .go, .panel-x:hover .go, .panel-x.on .go { max-height: none; opacity: 1; margin-top: 4px; overflow: visible; }
.panel-x.on .pv, .panel-x:hover .pv { opacity: 0; }
.panel-x.on .ph, .panel-x:hover .ph { opacity: 1; transform: none; transition-delay: .28s; }
.panels:hover .panel-x.on:not(:hover) .pv { opacity: 1; }
.panels:hover .panel-x.on:not(:hover) .ph { opacity: 0; transform: translateY(12px); transition-delay: 0s; }
.panel-x:hover .sec-ic, .panel-x.on .sec-ic { transform: none; }
@media (max-width: 820px) { .panel-x { min-height: 0; } .panel-x .pv { display: none; } .panel-x .ph { position: relative; inset: auto; width: auto; max-width: none; opacity: 1; transform: none; padding: 22px; pointer-events: auto; } .panel-x .ph strong { white-space: normal; } }

.loss-col b { font-variant-numeric: normal; letter-spacing: -.02em; word-spacing: -.04em; }
.hero-side { gap: 14px; } .hero-stats { flex-wrap: nowrap; gap: 8px; margin-top: 2px; } .hero-stats .stat { padding: 8px 14px; gap: 10px; } .hero-stats .stat b { font-size: 26px; } .hero-stats .stat span { font-size: 12px; }
@media (max-width: 520px) { .hero-stats { flex-wrap: wrap; } }

.rail { padding-block: 12px 40px; }
.card:hover { box-shadow: 0 16px 24px -20px var(--c); }
.card::after { inset: auto 24% 0 24%; height: 18%; opacity: .45; }
.card:hover::after { opacity: .75; }

.marquee { padding-block: 12px; }
.marquee .logo-chip:hover { transform: scale(1.05); }

.elementor-editor-active .reveal { opacity: 1; transform: none; }
.elementor-editor-active .loss .loss-bar i { transform: none; } .elementor-editor-active .loss .loss-col { opacity: 1; transform: none; }
.elementor-editor-active .stage .bp, .elementor-editor-active .stage .beam { display: none; }

/* ---- round 3: steadier panels (one state source: .on), top-to-bottom vertical titles, calmer cards ---- */
.panel-x .pv strong { transform: rotate(180deg); }
@media (min-width: 821px) {
  .panels.panels .panel-x { transition: flex-grow .7s var(--ease), box-shadow .7s var(--ease); will-change: flex-grow; }
  .panels.panels .panel-x, .panels.panels .panel-x:hover { flex-grow: 1; box-shadow: none; }
  .panels.panels .panel-x.on, .panels.panels .panel-x.on:hover, .panels.panels:hover .panel-x.on:not(:hover) { flex-grow: 2.6; box-shadow: 0 30px 60px -42px var(--c); }
  .panels.panels .panel-x img, .panels.panels .panel-x:hover img, .panels.panels:hover .panel-x.on:not(:hover) img { transform: none; filter: grayscale(1) contrast(1.05); transition: filter .7s var(--ease); }
  .panels.panels .panel-x.on img, .panels.panels:hover .panel-x.on:not(:hover) img { filter: grayscale(0); }
  .panels.panels .panel-x .pv, .panels.panels .panel-x .ph { backface-visibility: hidden; }
  .panels.panels .panel-x .pv, .panels.panels .panel-x:hover .pv { opacity: 1; transition: opacity .3s var(--ease) .25s; }
  .panels.panels .panel-x.on .pv, .panels.panels:hover .panel-x.on:not(:hover) .pv { opacity: 0; transition-delay: 0s; }
  .panels.panels .panel-x .ph, .panels.panels .panel-x:hover .ph { opacity: 0; transform: none; transition: opacity .25s var(--ease) 0s; }
  .panels.panels .panel-x.on .ph, .panels.panels:hover .panel-x.on:not(:hover) .ph { opacity: 1; transform: none; transition: opacity .45s var(--ease) .3s; }
}
.card, .card:hover { transform: none; }
.card { transition: box-shadow .7s var(--ease), border-color .7s var(--ease); }
.rail { padding-block: 12px 56px; }
.card { box-shadow: 0 0 0 0 transparent; }
.card:hover { box-shadow: 0 26px 38px -20px color-mix(in srgb, var(--c) 85%, transparent); }
.card:hover::after { opacity: 1; }
.card-media img { transition: transform 1.4s var(--ease); }
.card:hover .card-media img { transform: scale(1.035); }
.card::before { transition: box-shadow .7s var(--ease); }
.card:hover::before { box-shadow: inset 0 -4px 0 0 var(--c); }
.card::after { transition: opacity .7s var(--ease); }
.card-foot svg { transition: transform .7s var(--ease); }
/* decorative glows are wider than a phone screen; keep them from widening the page */
html, body, body.ib-site { overflow-x: clip; }
/* phones: stacked panels size to their content (flex-basis 0 collapsed them to a line) and always show it */
@media (max-width: 820px) {
  .panels.panels .panel-x { flex: none; min-height: 150px; }
  .panels.panels .panel-x .ph, .panels.panels:hover .panel-x.on:not(:hover) .ph { opacity: 1; transform: none; }
  .panels.panels .panel-x img, .panels.panels:hover .panel-x.on:not(:hover) img { filter: grayscale(.3); transform: none; }
}
/* phones: no catalog button in the header (the other nav links are already hidden there, so the whole pill goes) */
@media (max-width: 820px) { .toolbar .nav { display: none; } }
/* phones: hero buttons as two equal halves, stats as three equal tiles */
@media (max-width: 520px) {
  .hero-side { align-items: stretch; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-actions .btn { justify-content: center; padding: 14px 10px; font-size: 15px; white-space: nowrap; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 0; }
  .hero-stats .stat { flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 14px 6px; }
  .hero-stats .stat span { max-width: none; }
}
/* the map tile is a widget inside the visit grid: let it fill the row like the box beside it */
.elementor-widget-ib-map, .elementor-widget-ib-map > .elementor-widget-container, .elementor-widget-ib-map .map { height: 100%; }

/* ---- دکمه‌های فیلتر بخش‌ها: فاصلهٔ داخلی راست‌به‌چپ (سمت آیکون جمع‌وجور، انتهای متن بازتر) ---- */
.fchip { padding-block: 8px; padding-inline: 9px 18px; }
.fchip:not(:has(.sec-ic)) { padding-inline: 18px; }
