/* Projektoldal (2026-10-21): a referencia-projektek saját lapja. A tokenek a style.css-ből jönnek. */
.pj-top { padding: clamp(52px, 6.5vw, 92px) 0 clamp(28px, 3.5vw, 44px); max-width: 44rem; }
.pj-top .kicker { font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pj-top h1 { margin-top: 14px; font-weight: 600; font-size: clamp(46px, 6vw, 86px); line-height: .99; letter-spacing: -.045em; color: var(--ink); }
.pj-top .lead { margin-top: 18px; font-size: 20px; line-height: 1.45; color: var(--text); max-width: 32em; }
.pj-top .ctas { margin-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; }

.pj-hero { margin-top: 8px; }
.pj-hero img { width: 100%; height: auto; border-radius: 24px; box-shadow: 0 0 0 1px var(--line); }
.pj-hero figcaption { margin-top: 12px; font-size: 14.5px; color: var(--muted); }

/* „See it live”: két nagy kártya */
.pj-live { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pj-card { display: block; background: var(--card); border-radius: 20px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow .18s ease; }
.pj-card:hover { box-shadow: 0 0 0 1px var(--line-2), 0 10px 30px rgb(21 25 29 / .07); }
.pj-card .im { display: block; aspect-ratio: 16 / 9; background: #ECECE8; overflow: hidden; }
.pj-card .im img { width: 100%; height: 100%; object-fit: cover; }
.pj-card .tx { display: block; padding: 18px 22px 22px; }
.pj-card strong { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.pj-card em { display: block; margin-top: 5px; font-style: normal; font-size: 15.5px; color: var(--muted); }

/* lépések */
.pj-steps { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pj-steps li { display: flex; gap: 16px; background: var(--card); border-radius: 20px; box-shadow: 0 0 0 1px var(--line); padding: 22px 24px; }
.pj-steps span { flex: none; width: 30px; height: 30px; border-radius: 999px; background: var(--bg); box-shadow: 0 0 0 1px var(--line); display: grid; place-items: center; font-size: 14px; font-weight: 600; color: var(--ink); }
.pj-steps h3 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.pj-steps p { margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--text); }

/* galéria */
.pj-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pj-gal img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); }

/* záró hívás */
.pj-cta { text-align: center; padding-bottom: clamp(80px, 9vw, 120px); }
.pj-cta h2 { font-weight: 600; font-size: clamp(32px, 3.4vw, 46px); letter-spacing: -.035em; color: var(--ink); }
.pj-cta p { margin: 12px auto 26px; font-size: 18px; color: var(--text); max-width: 30em; }

@media (max-width: 860px) {
  .pj-live, .pj-steps, .pj-gal { grid-template-columns: 1fr; }
  .pj-hero img { border-radius: 18px; }
  /* Telefon (2026-10-24): az app-képernyőképeken a bal oldali lista apró betűs zaj lesz a kis kártyán.
     A kivágás a 3D-re tolódik, a lista kimarad. */
  .gi:has(.im img[src*="selector"]) .im, .gi:has(.im img[src*="_condo"]) .im,
  .gi:has(.im img[src*="location"]) .im, .gi:has(.im img[src*="_map"]) .im { aspect-ratio: 1 / 1; }
  .gi .im img[src*="selector"], .gi .im img[src*="_condo"], .pj-card .im img[src*="selector"] { object-position: 100% center; }
  .gi .im img[src*="location"], .gi .im img[src*="_map"] { object-position: 88% center; }
  /* a kártya-címke ne érjen a kép széléhez */
  .gi .im .tag, .pj-card .im .tag { font-size: 12.5px; padding: 6px 11px; }
}

/* ---------- 2026-10-29 (Mate visszajelzesei) ---------- */

/* vissza a fo menube: a bal felso sarokban, ahol a szem elindul */
.pj-back { display: inline-flex; align-items: center; gap: 7px; margin-top: 26px; padding: 9px 14px 9px 11px; border-radius: 999px;
  background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; color: var(--ink);
  transition: box-shadow 160ms, background-color 160ms; }
.pj-back svg { width: 15px; height: 15px; transition: translate 180ms; }
.pj-back:hover { box-shadow: 0 0 0 1px var(--line-2), 0 8px 20px -14px rgb(21 25 29 / .5); }
.pj-back:hover svg { translate: -3px 0; }
.pj-back + .pj-top { padding-top: clamp(30px, 3.6vw, 48px); }

/* „See it in 3D” a fokepen, kulon „See it live” szekcio helyett */
.pj-see { position: relative; display: block; border-radius: 24px; overflow: hidden; }
.pj-see img { border-radius: 0; box-shadow: none; }
.pj-see::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line);
  background: linear-gradient(to bottom, rgb(21 25 29 / 0) 55%, rgb(21 25 29 / .30)); }
.pj-see .pill { position: absolute; left: 22px; bottom: 22px; z-index: 1; }
.pj-see .pill svg { width: 13px; height: 13px; transition: translate 200ms; }
.pj-see:hover .pill svg { translate: 3px 0; }
.pj-see .impr { position: absolute; left: auto; right: 18px; bottom: 22px; z-index: 1; font-size: 12.5px; color: #fff; text-shadow: 0 1px 8px rgb(0 0 0 / .55); }

.pj-note { margin-top: 14px; font-size: 14.5px; color: var(--muted); }

@media (max-width: 860px) {
  /* telefonon a fokep nagy blokk legyen, ne vekony sav (Mate: ott nezi az emberek 90%-a) */
  .pj-see { border-radius: 18px; aspect-ratio: 4 / 5; }
  .pj-see img { height: 100%; object-fit: cover; object-position: center; }
  /* a nappalinal a terasz a jobb oldalon van, ott jobbra toljuk a kivagast */
  .pj-see img[src*="vit_hero"] { object-position: 62% center; }
  .pj-see .pill { left: 50%; translate: -50% 0; bottom: 16px; }
  .pj-see .impr { right: 14px; bottom: auto; top: 14px; }
  .pj-back { margin-top: 18px; }
}
