/* =========================================================================
   SOLVI – a munkák eszközei: kódból rajzolt MacBook és iPhone, benne a
   képernyőkép az eredeti oldalról. A méretek a keret szélességéhez
   arányosak (cqw), így bármekkora méretben pontosak.
   ========================================================================= */

/* ---------- MacBook ----------
   A fedél a zsanér körül csukódik (--lid: 0 nyitva … 1 csukva, mozgas.js) */
.laptop { position: relative; container-type: inline-size; perspective: 2600px; perspective-origin: 50% -30%; transform-style: preserve-3d; }
.lid { position: relative; transform-origin: 50% 100%; transform-style: preserve-3d; transform: rotateX(calc(var(--lid, 0) * -90deg)); }
/* a fedél vastagsága: a hátlap .9cqw-vel hátrébb, a felső és az oldalsó
   élek összekötik, így csukva és csukódás közben is tömör a fedél */
.lid-edge { position: absolute; background: linear-gradient(90deg, #B4B5B9, #E4E5E8 30%, #E4E5E8 70%, #B4B5B9); }
.lid-edge.t { left: 1.2cqw; right: 1.2cqw; top: 0; height: .9cqw; transform-origin: 50% 0; transform: rotateX(-90deg); }
.lid-edge.l { top: 1.2cqw; bottom: .3cqw; left: 0; width: .9cqw; transform-origin: 0 50%; transform: rotateY(90deg); background: linear-gradient(#C9CACE, #A9AAAE); }
.lid-edge.r { top: 1.2cqw; bottom: .3cqw; right: 0; width: .9cqw; transform-origin: 100% 50%; transform: rotateY(-90deg); background: linear-gradient(#C9CACE, #A9AAAE); }
.lid-face, .lid-back { backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 2.4cqw 2.4cqw .6cqw .6cqw; }
.lid-face {
  position: relative; padding: 1.35cqw 1.35cqw 2.3cqw; background: #050506;
  box-shadow: 0 0 0 .18cqw #A9AAAE, 0 0 0 .3cqw #E3E4E7, inset 0 0 0 .22cqw #2A2A2D;
}
.lid-back {
  position: absolute; inset: 0; transform: translateZ(-.9cqw) rotateX(180deg);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 38%),
    linear-gradient(180deg, #D9DADD 0%, #E6E7EA 45%, #CBCCD0 100%);
  box-shadow: inset 0 0 0 .22cqw rgba(0, 0, 0, .12), inset 0 .3cqw .2cqw rgba(255, 255, 255, .7);
  display: grid; place-items: center;
}
.lid-back i { width: 8cqw; aspect-ratio: 1; opacity: .75; filter: drop-shadow(0 .08cqw 0 rgba(255, 255, 255, .7));
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cg%20transform%3D%22translate%28-28.12%20-0.26%29%20scale%280.12741%29%22%3E%3CclipPath%20id%3D%22c%22%3E%3Crect%20x%3D%22205%22%20y%3D%2272.9%22%20width%3D%22286.4%22%20height%3D%22226.3%22%2F%3E%3C%2FclipPath%3E%3Cpath%20d%3D%22M445.5%20200L410.7%20200L410.7%20102.2L445.5%20102.2L445.5%20200Z%22%20fill%3D%22%23A6A7AB%22%2F%3E%3Cpath%20d%3D%22M427.9%2090.8L427.9%2090.8Q420.1%2090.8%20414.9%2085.5Q409.7%2080.2%20409.7%2072.2L409.7%2072.2Q409.7%2064.4%20414.9%2059Q420.1%2053.6%20427.9%2053.6L427.9%2053.6Q436.1%2053.6%20441.2%2059Q446.3%2064.4%20446.3%2072.2L446.3%2072.2Q446.3%2080.2%20441.2%2085.5Q436.1%2090.8%20427.9%2090.8Z%22%20fill%3D%22%23A6A7AB%22%2F%3E%3Cpath%20clip-path%3D%22url%28%23c%29%22%20d%3D%22M271.1%20126.4%20L320%20175.3%20L425.3%206.7%22%20fill%3D%22none%22%20stroke%3D%22%23A6A7AB%22%20stroke-width%3D%2233.1%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); }
.notch { position: absolute; z-index: 3; top: 1.35cqw; left: 50%; width: 11cqw; height: 2.05cqw; translate: -50% 0; border-radius: 0 0 .9cqw .9cqw; background: #050506; }
.notch::after { content: ""; position: absolute; top: .65cqw; left: 50%; width: .62cqw; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3B4A5C, #0D131A 70%); }

.laptop .screen {
  position: relative; display: flex; flex-direction: column; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: .9cqw .9cqw .2cqw .2cqw; background: #fff;
}
/* tükröződés az üvegen, és sötétedés csukáskor */
.laptop .screen::after {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background:
    linear-gradient(rgba(0, 0, 0, calc(var(--lid, 0) * 1.2)), rgba(0, 0, 0, calc(var(--lid, 0) * 1.2))),
    linear-gradient(118deg, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, .04) 34%, transparent 34.2%);
}
.mac-bar {
  flex: none; height: 2.05cqw; display: flex; align-items: center; justify-content: space-between; padding: 0 1.4cqw;
  background: rgba(246, 246, 248, .92); color: #1D1D1F; font: 500 1.05cqw/1 var(--font-body); letter-spacing: 0;
}
.mac-bar .menu { display: flex; gap: 1.5cqw; }
.mac-bar .menu b { font-weight: 700; }
.mac-bar .menu span:nth-child(n+5) { display: none; }
.mac-bar .right { display: flex; align-items: center; gap: 1.2cqw; }
.mac-bar svg { width: 1.45cqw; height: 1.05cqw; fill: currentColor; }
.safari {
  flex: none; position: relative; z-index: 1; height: 3.3cqw; display: flex; align-items: center; padding: 0 1.4cqw;
  background: #F2F2F4; border-bottom: .1cqw solid #DCDCE0;
}
.safari .lights { display: flex; gap: .62cqw; }
.safari .lights i { width: .95cqw; aspect-ratio: 1; border-radius: 50%; background: #FF5F57; }
.safari .lights i:nth-child(2) { background: #FEBC2E; }
.safari .lights i:nth-child(3) { background: #28C840; }
.safari .url {
  position: absolute; left: 50%; translate: -50% 0; display: flex; align-items: center; justify-content: center; gap: .5cqw;
  width: 34cqw; height: 2.05cqw; border-radius: .55cqw; background: #E3E3E7; color: #3A3A3C;
  font: 500 1.1cqw/1 var(--font-body); letter-spacing: 0; white-space: nowrap;
}
.safari .url svg { width: .85cqw; height: .95cqw; fill: #6E6E73; }
.laptop .view { position: relative; flex: 1; overflow: hidden; background: #fff; }

/* az alsó rész: a billentyűzet síkja a néző felé fekszik, felülről látjuk;
   a .base magassága csak helyet foglal neki a lap elrendezésében */
.base { position: relative; height: 16cqw; transform-style: preserve-3d; pointer-events: none; }
.deck {
  position: absolute; left: -.3cqw; right: -.3cqw; top: 0; height: 64.5cqw;
  transform-origin: 50% 0; transform: rotateX(90deg); transform-style: preserve-3d;
  border-radius: .4cqw .4cqw 2.6cqw 2.6cqw;
  background: linear-gradient(180deg, #A9AAAE 0%, #D6D7DA 3%, #E6E7EA 45%, #DCDDE0 100%);
}
/* billentyűzet: fekete gombok sötét mélyedésben, két oldalt hangszórórács */
.deck::before {
  content: ""; position: absolute; inset: -3% -4% -9%; transform: translateZ(-.4cqw); border-radius: 6cqw;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .34), rgba(0, 0, 0, .12) 70%, transparent); filter: blur(1.6cqw);
}
.deck .keys {
  position: absolute; left: 13%; right: 13%; top: 5%; height: 41%; display: flex; flex-direction: column; gap: .38cqw;
  padding: .5cqw; border-radius: 1cqw; background: #121213; box-shadow: inset 0 0 0 .1cqw rgba(0, 0, 0, .4);
}
.krow { flex: 1; display: flex; gap: .38cqw; min-height: 0; }
.krow.fn { flex: .6; }
.krow > i, .arrows i { flex: 1 1 0; border-radius: .38cqw; background: linear-gradient(180deg, #303032, #1F1F21); box-shadow: inset 0 .08cqw 0 rgba(255, 255, 255, .08); }
.krow.fn > i:last-child { background: #19191A; box-shadow: inset 0 0 0 .12cqw #4A4A4C; }
.arrows { flex: 3 1 0; display: flex; gap: .38cqw; align-items: flex-end; }
.arrows > i { height: 48%; }
.arrows > span { flex: 1 1 0; height: 100%; display: flex; flex-direction: column; gap: .16cqw; }
.deck .spk {
  position: absolute; top: 5%; left: 3.4%; width: 8%; height: 41%; border-radius: .6cqw;
  background-image: radial-gradient(circle, rgba(0, 0, 0, .38) .16cqw, transparent .2cqw); background-size: .62cqw .62cqw;
}
.deck .spk.r { left: auto; right: 3.4%; }
.deck .shade {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, calc(var(--lid, 0) * .5)) 0%, rgba(0, 0, 0, calc(var(--lid, 0) * .18)) 45%, transparent 80%);
}
.deck .pad { position: absolute; left: 29%; right: 29%; top: 52%; height: 41%; border-radius: 1.6cqw; background: #D3D4D8; box-shadow: inset 0 0 0 .14cqw rgba(0, 0, 0, .1); }
.deck .lip {
  position: absolute; left: 0; right: 0; top: 100%; height: 2cqw; margin-top: -.2cqw;
  transform-origin: 50% 0; transform: rotateX(-90deg); border-radius: 0 0 1.4cqw 1.4cqw;
  background: linear-gradient(180deg, #F2F2F4 0%, #CFD0D3 50%, #9A9BA0 100%);
}
/* az alsó rész oldalfalai (a billentyűzet síkja alatt, lefelé), rajtuk a
   csatlakozók: bal oldalt MagSafe és két USB-C, jobb oldalt fejhallgató */
.base-side {
  position: absolute; top: 0; bottom: 1.6cqw; width: 2cqw;
  background: linear-gradient(90deg, #EDEEF0 0%, #CDCED2 45%, #A4A5AA 100%);
}
.base-side.l { left: -2cqw; transform-origin: 100% 50%; transform: rotateY(-90deg); }
.base-side.r { right: -2cqw; transform-origin: 0 50%; transform: rotateY(90deg); background: linear-gradient(270deg, #EDEEF0 0%, #CDCED2 45%, #A4A5AA 100%); }
.port { position: absolute; left: 32%; width: 36%; border-radius: 1cqw; background: linear-gradient(90deg, #2B2B2D, #0E0E0F); box-shadow: 0 0 0 .08cqw rgba(0, 0, 0, .25); }
.port.ms { top: 9%; height: 3.4cqw; }
.port.c { top: 17%; height: 2.4cqw; }
.port.c2 { top: 22.5%; }
.port.jack { top: 12%; height: .9cqw; left: 25%; width: 50%; border-radius: 50%; }
.deck .lip::after { content: ""; position: absolute; top: 0; left: 50%; width: 15cqw; height: .8cqw; translate: -50% 0; border-radius: 0 0 1cqw 1cqw; background: linear-gradient(180deg, #A3A4A9, #CDCED1); }
.laptop::after {
  content: ""; position: absolute; z-index: -1; left: -4%; right: -4%; bottom: -1.5cqw; height: 5cqw;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .3), transparent); filter: blur(6px);
}

/* ---------- iPhone ---------- */
.iphone {
  position: relative; container-type: inline-size; aspect-ratio: 433 / 882; border-radius: 17.5% / 8.6%;
  background: linear-gradient(135deg, #C8C4BC 0%, #8E8A83 22%, #D7D3CC 48%, #87837C 74%, #BDB9B1 100%);
  box-shadow: 0 1.5cqw 3cqw -1cqw rgba(0, 0, 0, .25), 0 9cqw 16cqw -6cqw rgba(0, 0, 0, .45);
}
.iphone::before { content: ""; position: absolute; inset: 1.15cqw; border-radius: 16.6cqw; background: #050505; box-shadow: inset 0 0 0 .25cqw #1C1C1E; }
.iphone .side { position: absolute; width: 1.1cqw; border-radius: .6cqw; background: linear-gradient(90deg, #77736C, #B5B1AA); }
.iphone .side.s1 { left: -.75cqw; top: 18%; height: 5%; }
.iphone .side.s2 { left: -.75cqw; top: 26%; height: 9.5%; }
.iphone .side.s3 { left: -.75cqw; top: 37.5%; height: 9.5%; }
.iphone .side.s4 { right: -.75cqw; top: 28%; height: 14%; background: linear-gradient(270deg, #77736C, #B5B1AA); }
.iphone .screen {
  position: absolute; inset: 4.7cqw; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 12.8cqw; background: var(--sav, #fff);
}
.iphone .screen::after {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, .03) 30%, transparent 30.2%);
}
.ios-bar {
  flex: none; position: relative; z-index: 2; height: 6.4%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.2cqw 7cqw 0 9.5cqw; background: var(--sav, #fff); color: var(--savc, #000);
  font: 600 4.3cqw/1 var(--font-body); letter-spacing: -.01em;
}
.ios-bar .ic { display: flex; align-items: center; gap: 1.6cqw; }
.ios-bar svg { height: 3.4cqw; width: auto; fill: currentColor; }
.island { position: absolute; z-index: 3; top: 2.6cqw; left: 50%; width: 30cqw; height: 8.8cqw; translate: -50% 0; border-radius: 99px; background: #000; }
.iphone .view { position: relative; flex: 1; overflow: hidden; }
.home { position: absolute; z-index: 3; bottom: 2.2cqw; left: 50%; width: 36%; height: 1.4cqw; translate: -50% 0; border-radius: 99px; background: rgba(17, 17, 17, .82); box-shadow: 0 0 0 .3cqw rgba(255, 255, 255, .35); }

/* ---------- Képernyőkép az eredeti oldalról ---------- */
.shot-kep img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; display: block; }
/* Teljes kezdőlap: a kártyán rámutatásra végiggördül, az esettanulmányban görgethető */
.view.shot-gorget { overflow-y: auto; scrollbar-width: thin; }
.shot-gorget img { position: static; height: auto; }
.shot-gorget:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* ---------- Elrendezések ---------- */
/* hero: a laptop és mellette a telefon áll, csak a kijelzők tartalma vált
   (az aktuális balra kicsúszik, a következő jobbról érkezik) */
/* Csukva a két eszköz egymás mellett fekszik az asztalon, a kamera
   alacsonyan, kissé felülről nézi őket, így a gépek oldala is látszik.
   Nyitás közben a kamera elölnézetbe ereszkedik, a telefon felemelkedik.
   A két eszköz perspektívája ugyanabba a kamerapontba mutat (a telefoné a
   saját dobozához viszonyítva). */
.hero-devices {
  position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 20%; padding-bottom: 9%;
  transform: translateY(calc(var(--lid, 0) * -64%));
}
.hero-laptop { width: 65%; }
.hero-laptop { perspective: 2600px; perspective-origin: 50% calc(-25% - var(--lid, 0) * 25%); }
.hero-laptop .laptop { perspective: none; transform: rotateY(calc(var(--lid, 0) * 11deg)); }
.hero-laptop .laptop::after { display: none; }
.hero-phone { width: 14.5%; margin-bottom: 1.4%; perspective: 2600px; perspective-origin: -362% calc(-125% - var(--lid, 0) * 45%); }
/* a telefon valódi vastagsággal: a kijelzős oldala felfelé néz, a teste
   alatta, kicsit kifelé fordítva fekszik; felemelkedve bekapcsol */
.hero-phone .iphone {
  transform-style: preserve-3d; transform-origin: 50% 100%; box-shadow: none;
  transform: translateY(calc(var(--plid, 0) * -5%)) rotateY(calc(var(--plid, 0) * -24deg)) rotateX(calc(var(--plid, 0) * 90deg));
}
.hero-phone .iphone .side { transform: translateZ(-5.2cqw); }
.ph-body { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.ph-body i {
  position: absolute; inset: 0; border-radius: 17.5% / 8.6%; transform: translateZ(calc(var(--k) * -1.15cqw));
  background: linear-gradient(90deg, #6F6B64, #B7B3AC 14%, #D6D2CB 50%, #A29E97 86%, #6F6B64);
}
.ph-body i:last-child { background: linear-gradient(160deg, #CFCBC4, #9C988F); }
.ph-bottom {
  position: absolute; left: 21%; right: 21%; top: 100%; height: 10.35cqw; transform-origin: 50% 0; transform: rotateX(-90deg);
  background: center / 100% 100% no-repeat url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20580%20104%27%20preserveAspectRatio%3D%27none%27%3E%3Cdefs%3E%3ClinearGradient%20id%3D%27t%27%20x1%3D%270%27%20y1%3D%270%27%20x2%3D%270%27%20y2%3D%271%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%23D4D0C9%27%2F%3E%3Cstop%20offset%3D%27.18%27%20stop-color%3D%27%23C2BEB6%27%2F%3E%3Cstop%20offset%3D%27.55%27%20stop-color%3D%27%23A9A59D%27%2F%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%238A8680%27%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%27p%27%20x1%3D%270%27%20y1%3D%270%27%20x2%3D%270%27%20y2%3D%271%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%23050505%27%2F%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%231E1E1F%27%2F%3E%3C%2FlinearGradient%3E%3CradialGradient%20id%3D%27h%27%20cx%3D%27.5%27%20cy%3D%27.35%27%20r%3D%27.6%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%230A0A0A%27%2F%3E%3Cstop%20offset%3D%27.75%27%20stop-color%3D%27%231B1B1B%27%2F%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%2356534E%27%2F%3E%3C%2FradialGradient%3E%3C%2Fdefs%3E%3Crect%20width%3D%27580%27%20height%3D%27104%27%20fill%3D%27url(%23t)%27%2F%3E%3Crect%20y%3D%270%27%20width%3D%27580%27%20height%3D%275%27%20fill%3D%27%23E6E2DB%27%20opacity%3D%27.8%27%2F%3E%3Crect%20y%3D%2799%27%20width%3D%27580%27%20height%3D%275%27%20fill%3D%27%236E6A64%27%20opacity%3D%27.6%27%2F%3E%3Crect%20x%3D%27212%27%20y%3D%2729%27%20width%3D%27156%27%20height%3D%2746%27%20rx%3D%2723%27%20fill%3D%27%235E5B56%27%2F%3E%3Crect%20x%3D%27215%27%20y%3D%2732%27%20width%3D%27150%27%20height%3D%2740%27%20rx%3D%2720%27%20fill%3D%27url(%23p)%27%2F%3E%3Crect%20x%3D%27246%27%20y%3D%2747%27%20width%3D%2788%27%20height%3D%2710%27%20rx%3D%275%27%20fill%3D%27%2334342F%27%2F%3E%3Ccircle%20cx%3D%27104%27%20cy%3D%2752%27%20r%3D%276.5%27%20fill%3D%27url(%23h)%27%2F%3E%3Ccircle%20cx%3D%27121%27%20cy%3D%2752%27%20r%3D%276.5%27%20fill%3D%27url(%23h)%27%2F%3E%3Ccircle%20cx%3D%27138%27%20cy%3D%2752%27%20r%3D%276.5%27%20fill%3D%27url(%23h)%27%2F%3E%3Ccircle%20cx%3D%27155%27%20cy%3D%2752%27%20r%3D%276.5%27%20fill%3D%27url(%23h)%27%2F%3E%3Ccircle%20cx%3D%27172%27%20cy%3D%2752%27%20r%3D%276.5%27%20fill%3D%27url(%23h)%27%2F%3E%3Ccircle%20cx%3D%27189%27%20cy%3D%2752%27%20r%3D%276.5%27%20fill%3D%27url(%23h)%27%2F%3E%3Ccircle%20cx%3D%27391%27%20cy%3D%2752%27%20r%3D%276.5%27%20fill%3D%27url(%23h)%27%2F%3E%3Ccircle%20cx%3D%27408%27%20cy%3D%2752%27%20r%3D%276.5%27%20fill%3D%27url(%23h)%27%2F%3E%3Ccircle%20cx%3D%27425%27%20cy%3D%2752%27%20r%3D%276.5%27%20fill%3D%27url(%23h)%27%2F%3E%3Ccircle%20cx%3D%27442%27%20cy%3D%2752%27%20r%3D%276.5%27%20fill%3D%27url(%23h)%27%2F%3E%3Ccircle%20cx%3D%27459%27%20cy%3D%2752%27%20r%3D%276.5%27%20fill%3D%27url(%23h)%27%2F%3E%3Ccircle%20cx%3D%27476%27%20cy%3D%2752%27%20r%3D%276.5%27%20fill%3D%27url(%23h)%27%2F%3E%3C%2Fsvg%3E");
}
.ph-shadow {
  position: absolute; inset: -3% -9% -5%; border-radius: 28%; pointer-events: none; transform: translateZ(-11.5cqw);
  background: radial-gradient(closest-side, rgba(0, 0, 0, .38), rgba(0, 0, 0, .12) 70%, transparent); filter: blur(2.6cqw);
  opacity: var(--plid, 0);
}
.hero-phone .iphone .screen::before {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: linear-gradient(160deg, #2A2A2E 0%, #0B0B0C 38%, #050506 100%);
  opacity: clamp(0, calc((var(--plid, 0) - .25) * 2.4), 1);
}
.hero-open { position: absolute; inset: 0; z-index: 5; border: 0; padding: 0; background: transparent; cursor: pointer; border-radius: 24px; }
.hero-open:focus-visible { outline-offset: 6px; }
.view .hs { position: absolute; inset: 0; overflow: hidden; transform: translateX(100%); transition: transform .42s var(--ease); }
.view .hs.on { transform: none; }
.view .hs.out { transform: translateX(-100%); }
.view .hs:not(.on):not(.out) { transition: none; }

/* macOS-értesítés a laptop kijelzőjén */
.mac-note {
  position: absolute; z-index: 3; top: 6.4cqw; right: 1.3cqw; width: 27cqw; display: flex; align-items: center; gap: .9cqw;
  padding: 1cqw 1.1cqw; border-radius: 1.5cqw; background: rgba(246, 246, 248, .84); color: #1D1D1F;
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 .1cqw .2cqw rgba(0, 0, 0, .08), 0 1.2cqw 2.6cqw -1cqw rgba(0, 0, 0, .35);
  font: 400 1.05cqw/1.3 var(--font-body); letter-spacing: 0; opacity: 0;
}
.mac-note .note-ico { width: 3cqw; height: 3cqw; border-radius: .75cqw; background-size: 1.7cqw; }
.mac-note p { flex: 1; min-width: 0; }
.mac-note b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mac-note span { display: block; color: #6E6E73; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mac-note time { align-self: flex-start; color: #86868B; font-size: .9cqw; }

/* telefon zárolt képernyővel (ahol nincs telefonos kép) */
.zar {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding-top: 9cqw; text-align: center; color: #fff;
  background: radial-gradient(120% 70% at 20% 10%, #13906F, transparent 60%), radial-gradient(120% 80% at 90% 100%, #FFA27F, transparent 55%), #0B231C;
}
.zar-d { font: 500 4.2cqw/1 var(--font-body); opacity: .85; }
.zar-t { font: 600 21cqw/1 var(--font-body); letter-spacing: -.03em; margin-top: 1cqw; }
.ios-note {
  display: flex; align-items: center; gap: 2.6cqw; width: 88%; margin-top: 12cqw; padding: 3.2cqw; border-radius: 6cqw; text-align: left;
  background: rgba(255, 255, 255, .2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 400 3.4cqw/1.3 var(--font-body);
}
.ios-note .note-ico { width: 8.5cqw; height: 8.5cqw; border-radius: 2cqw; background-size: 5cqw; }
.ios-note p { flex: 1; min-width: 0; }
.ios-note b { display: block; font-weight: 600; }
.ios-note span { opacity: .85; }
.ios-note time { align-self: flex-start; font-size: 2.8cqw; opacity: .7; }

/* munkák kártyái (--tx, --ty: egér, mozgas.js) */
.ref-scene { position: absolute; inset: 0; display: grid; place-items: center; padding: 7% 6% 6%; perspective: 1800px; }
.ref-devices {
  position: relative; width: 100%;
  transform: rotateX(calc(var(--ty, 0) * -3deg)) rotateY(calc(var(--tx, 0) * 4deg));
  transition: transform 1s var(--ease), translate 1s var(--ease), scale 1s var(--ease);
}
.ref:hover .ref-devices { translate: 0 -6px; scale: 1.015; transition-duration: .5s; }
.ref-devices .laptop { width: 86%; }
.ref-devices.solo .laptop { width: 92%; margin: 0 auto; }
.ref-devices .iphone { position: absolute; right: 0; bottom: -4%; width: 21%; }

/* esettanulmány */
.case-devices { position: relative; width: 90%; margin: 0 auto; }
.case-devices .laptop { width: 84%; }
.case-devices.solo .laptop { width: 92%; margin: 0 auto; }
.case-devices .iphone { position: absolute; right: 0; bottom: -6%; width: 20%; z-index: 2; }

@media (max-width: 640px) {
  .case-devices { width: 100%; }
  .case-devices .laptop { width: 88%; }
  .case-devices .iphone { width: 29%; right: -1%; bottom: -2%; }
  .hero-devices { gap: 13%; padding-right: 6%; }
  .hero-laptop { width: 64%; }
  .hero-phone { width: 15%; perspective-origin: -330% calc(-125% - var(--lid, 0) * 45%); }
}
