/* INIOS Weboldal-stúdió: egyedi oldal (nyitás eszközkeretekkel, minták, csapatfotók, folyamat, csomagválasztó).
   A minta-weboldalak mérete a konténerhez igazodik (cqw), ezért ugyanaz a markup látszik böngészőben, tableten és telefonon. */

/* ---------- nyitás ---------- */
.ws-hero-sec { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); padding: clamp(112px, 12vw, 164px) 0 clamp(56px, 7vw, 104px); }
.ws-hero-sec::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(243, 245, 248, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(243, 245, 248, 0.05) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%); pointer-events: none; }
.ws-hero-in { position: relative; width: min(100% - 2 * var(--g, clamp(18px, 4vw, 48px)), 1320px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.ws-hero-copy { display: grid; gap: 20px; justify-items: start; min-width: 0; }
.ws-hero-sec .crumb { color: var(--paper-2); }
.ws-hero-sec .crumb a { color: var(--paper); }
.ws-pilot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 15px; color: var(--paper-2); }
.ws-h1 { font-size: clamp(40px, 4.8vw, 72px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 600; text-wrap: balance; }
.ws-lead { font-size: clamp(17px, 0.5vw + 14px, 20px); line-height: 1.55; color: var(--paper-2); max-width: 36em; }
.ws-act { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 4px; }
.ws-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 1.5px solid currentColor; border-radius: 999px; color: var(--paper); font-size: 16px; font-weight: 600; text-decoration: none; text-align: center; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.ws-ghost:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .ws-ghost:hover { background: var(--paper); color: var(--ink); } }
.ws-note { font-size: 15px; color: var(--paper-2); }
.ws-hero-vis { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.ws-cap { font-size: 14px; line-height: 1.5; color: var(--paper-2); max-width: 54ch; }
@media (max-width: 1000px) { .ws-hero-in { grid-template-columns: minmax(0, 1fr); } }

/* ---------- eszközök: valódi laptop- és telefonfotó, a képernyő helyén a minta ---------- */
.ws-stage { position: relative; min-width: 0; width: 100%; }
.ws-laptop { position: relative; width: 116%; margin-left: -8%; }
.ws-laptop img { display: block; width: 100%; height: auto; mix-blend-mode: lighten; }
.ws-screen { position: absolute; left: 17.28%; top: 9.77%; width: 65%; height: 63.64%; overflow: hidden; background: #fff; }
.ws-phonecard { position: absolute; right: -2%; bottom: -7%; width: 30%; aspect-ratio: 544 / 900; overflow: hidden; }
.ws-phonecard img { position: absolute; top: 0; left: -97%; width: 294.1%; height: 100%; max-width: none; mix-blend-mode: multiply; -webkit-mask-image: radial-gradient(ellipse 34% 52% at 50% 50%, #000 70%, transparent 100%); mask-image: radial-gradient(ellipse 34% 52% at 50% 50%, #000 70%, transparent 100%); }
.ws-pscreen { position: absolute; left: 20%; top: 12%; width: 60.1%; height: 77.2%; overflow: hidden; border-radius: 12% / 5.7%; background: #fff; }
.ws-layer { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 420ms ease; }
.ws-layer.is-on { opacity: 1; }

/* ---------- animált háttér ---------- */
.ws-hero-sec .hz { opacity: 0.9; }
.ws-hero-sec::before { inset: -64px; animation: ws-grid 14s linear infinite; }
@keyframes ws-grid { to { transform: translate3d(64px, 64px, 0); } }
.ws-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.ws-orb { position: absolute; display: block; border-radius: 50%; will-change: transform; filter: blur(70px); }
.ws-orb-1 { width: 46vw; height: 46vw; left: -10vw; top: -14vw; background: radial-gradient(circle, rgba(143, 200, 238, 0.42), transparent 66%); animation: ws-drift-a 22s ease-in-out infinite alternate; }
.ws-orb-2 { width: 40vw; height: 40vw; right: -8vw; top: 6vw; background: radial-gradient(circle, rgba(74, 130, 190, 0.5), transparent 66%); animation: ws-drift-b 27s ease-in-out infinite alternate; }
.ws-orb-3 { width: 34vw; height: 34vw; left: 30vw; bottom: -16vw; background: radial-gradient(circle, rgba(205, 232, 247, 0.28), transparent 66%); animation: ws-drift-c 31s ease-in-out infinite alternate; }
@keyframes ws-drift-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(14vw, 8vw, 0) scale(1.18); } }
@keyframes ws-drift-b { from { transform: translate3d(0, 0, 0) scale(1.1); } to { transform: translate3d(-12vw, 10vw, 0) scale(0.9); } }
@keyframes ws-drift-c { from { transform: translate3d(0, 0, 0) scale(0.95); } to { transform: translate3d(-16vw, -6vw, 0) scale(1.2); } }
@media (prefers-reduced-motion: reduce) { .ws-hero-sec::before, .ws-orb { animation: none; } }

/* ---------- a minta-weboldal (cqw-alapú) ---------- */
.ws-cq { container-type: inline-size; width: 100%; height: 100%; }
.ws-site { --u: 1cqw; width: 100%; height: 100%; display: flex; flex-direction: column; overflow: hidden; background: var(--bg); color: var(--ink); font-size: calc(var(--u) * 1.6); line-height: 1.35; text-align: left; }
.ws-bar { display: flex; align-items: center; justify-content: space-between; gap: calc(var(--u) * 2); padding: calc(var(--u) * 1.5) calc(var(--u) * 3); border-bottom: 1px solid rgba(0, 0, 0, 0.07); font-size: calc(var(--u) * 1.7); flex: none; }
.ws-bar b { font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.ws-bar nav { display: flex; gap: calc(var(--u) * 2.6); opacity: 0.7; }
.ws-bar i { font-style: normal; font-weight: 600; font-size: calc(var(--u) * 1.4); padding: calc(var(--u) * 0.7) calc(var(--u) * 1.7); border-radius: 999px; background: var(--ac); color: #fff; white-space: nowrap; }
.ws-hero { position: relative; flex: 1 1 auto; min-height: 0; display: grid; }
.ws-tx { display: grid; align-content: center; gap: calc(var(--u) * 1.4); padding: calc(var(--u) * 3.6); }
.ws-tx h4 { font-size: calc(var(--u) * 4.4); line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.ws-tx p { font-size: calc(var(--u) * 1.9); line-height: 1.4; opacity: 0.85; margin: 0; }
.ws-cta { justify-self: start; font-size: calc(var(--u) * 1.7); font-weight: 600; padding: calc(var(--u) * 1.1) calc(var(--u) * 2.4); border-radius: calc(var(--u) * 0.7); background: var(--ac); color: #fff; }
.ws-im { background: var(--img) center / cover no-repeat; min-height: 0; }
.ws-l-full .ws-hero { background: linear-gradient(90deg, rgba(10, 14, 18, 0.62), rgba(10, 14, 18, 0.08) 80%), var(--img) center / cover no-repeat; color: #fff; align-items: end; }
.ws-l-full .ws-im { display: none; }
.ws-l-split .ws-hero { grid-template-columns: 1fr 1fr; }
.ws-l-center .ws-hero { grid-template-rows: auto 1fr; text-align: center; }
.ws-l-center .ws-tx { justify-items: center; padding-bottom: calc(var(--u) * 2); }
.ws-l-center .ws-cta { justify-self: center; }
.ws-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(var(--u) * 1.6); padding: calc(var(--u) * 2.4) calc(var(--u) * 3); flex: none; }
.ws-card { display: grid; gap: calc(var(--u) * 0.5); align-content: start; font-size: calc(var(--u) * 1.35); opacity: 0.9; }
.ws-card b { font-size: calc(var(--u) * 1.8); }
.ws-ph { height: calc(var(--u) * 5.4); border-radius: calc(var(--u) * 0.8); background: color-mix(in srgb, var(--ac) 16%, transparent); }
.ws-foot { display: flex; gap: calc(var(--u) * 3); padding: calc(var(--u) * 1.3) calc(var(--u) * 3); border-top: 1px solid rgba(0, 0, 0, 0.07); font-size: calc(var(--u) * 1.2); opacity: 0.55; flex: none; }
.ws-hero-s { flex: none; }
.ws-hero-s .ws-tx { padding-block: calc(var(--u) * 2.6) calc(var(--u) * 1.6); }
.ws-hero-s .ws-tx h4 { font-size: calc(var(--u) * 3.6); }
.ws-chips { display: flex; gap: calc(var(--u) * 1); padding: 0 calc(var(--u) * 3); flex: none; font-size: calc(var(--u) * 1.4); }
.ws-chips span { padding: calc(var(--u) * 0.6) calc(var(--u) * 1.5); border-radius: 999px; background: rgba(0, 0, 0, 0.06); }
.ws-chips .is-on { background: var(--ink); color: var(--bg); }
.ws-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: calc(var(--u) * 1.2); padding: calc(var(--u) * 2) calc(var(--u) * 3); flex: 1 1 auto; min-height: 0; }
.ws-tile { border-radius: calc(var(--u) * 0.9); background: var(--img) no-repeat; background-size: 250% auto; background-position: calc(10% + var(--k) * 15%) calc(15% + var(--k) * 11%); }
/* keskeny konténer: telefon-elrendezés, nagyobb relatív betű */
@container (max-width: 210px) {
  .ws-site { --u: 2.4cqw; }
  .ws-bar nav, .ws-bar i, .ws-foot span:nth-child(n + 2) { display: none; }
  .ws-l-split .ws-hero { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .ws-l-split .ws-im { order: -1; }
  .ws-tx { padding: calc(var(--u) * 2.2); gap: calc(var(--u) * 1); }
  .ws-tx h4 { font-size: calc(var(--u) * 3.4); }
  .ws-tx p { display: none; }
  .ws-cards { grid-template-columns: 1fr 1fr; padding: calc(var(--u) * 1.6); }
  .ws-card:nth-child(3) { display: none; }
  .ws-ph { height: calc(var(--u) * 4); }
  .ws-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ws-tile:nth-child(n + 5) { display: none; }
  .ws-chips span:nth-child(n + 3) { display: none; }
}

/* ---------- minta-váltó ---------- */
.ws-chipbar { display: flex; flex-wrap: wrap; gap: 8px; }
.ws-pick { min-height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(243, 245, 248, 0.12); color: var(--paper); font-size: 15px; font-weight: 500; transition: background-color 200ms ease, color 200ms ease, transform var(--t-press) var(--ease-out); }
.ws-pick.is-on { background: var(--glacier); color: var(--ink); }
.ws-pick:active { transform: scale(0.97); }
.ws-pick:focus-visible { outline: 3px solid var(--glacier); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .ws-pick:not(.is-on):hover { background: rgba(243, 245, 248, 0.22); } }

/* ---------- galéria ---------- */
.ws-gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 26px); }
.ws-gcard { display: grid; gap: 16px; align-content: start; width: 100%; height: 100%; padding: 14px 14px 22px; border: 2px solid transparent; border-radius: 26px; background: #fff; text-align: left; transition: border-color 200ms ease, transform 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .ws-gcard:hover { transform: translateY(-4px); } }
.ws-gcard[aria-pressed="true"] { border-color: var(--ink); }
.ws-gcard:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.ws-gframe { display: flex; flex-direction: column; aspect-ratio: 16 / 11; border-radius: 14px; overflow: hidden; border: 1px solid #DDE4EA; background: #fff; }
.ws-gchrome { display: flex; gap: 5px; padding: 7px 10px; background: #E9EDF1; flex: none; }
.ws-gchrome i { width: 7px; height: 7px; border-radius: 50%; background: #C3CCD5; }
.ws-gframe .ws-cq { flex: 1 1 auto; min-height: 0; height: auto; }
.ws-gtx { display: grid; gap: 4px; padding-inline: 8px; }
.ws-gtx b { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.ws-gtx span { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.ws-gtx em { font-style: normal; font-size: 15px; font-weight: 600; margin-top: 6px; }
.ws-gtx em::after { content: "Ezt választom →"; }
.ws-gcard[aria-pressed="true"] .ws-gtx em::after { content: "Kiválasztva ✓"; }
@media (max-width: 1000px) { .ws-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ws-gal { grid-template-columns: minmax(0, 1fr); } }

/* ---------- csapatfotók ---------- */
.ws-people { position: relative; background: var(--ink); color: var(--paper); padding-block: clamp(72px, 9vw, 128px); }
.ws-people-in { width: min(100% - 2 * var(--g, clamp(18px, 4vw, 48px)), 1240px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.ws-pp-copy { display: grid; gap: 22px; justify-items: start; }
.ws-people .hm-sub { color: var(--paper-2); }
.ws-ticks li { color: var(--paper); }
.ws-ticks .ic { color: var(--glacier); }
.ws-pp-ph { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 5 / 4.2; }
.ws-pf { position: relative; margin: 0; border-radius: 24px; overflow: hidden; background: #1B2B38; }
.ws-pf img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ws-pf figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 14px; border-radius: 999px; background: rgba(15, 27, 36, 0.78); color: var(--paper); font-size: 14px; font-weight: 500; }
.ws-pf-a { grid-row: 1 / span 2; }
@media (max-width: 900px) { .ws-people-in { grid-template-columns: minmax(0, 1fr); } .ws-pp-ph { aspect-ratio: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; } .ws-pf-a { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; } .ws-pf-b, .ws-pf-c { aspect-ratio: 4 / 3; } }

/* ---------- folyamat ---------- */
.ws-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.ws-step { position: relative; display: grid; gap: 10px; align-content: start; padding: clamp(22px, 2.4vw, 30px); border-radius: 24px; background: #fff; }
.ws-steps-2 .ws-step { grid-column: span 2; }
.ws-n { position: absolute; top: 20px; right: 22px; font-size: 14px; font-weight: 600; color: #4F6478; font-variant-numeric: tabular-nums; }
.ws-si { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--glacier); color: var(--ink); }
.ws-si .ic { width: 24px; height: 24px; }
.ws-step h3 { font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.ws-step p { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.ws-gate { display: flex; align-items: center; gap: 18px; margin: clamp(14px, 1.8vw, 24px) 0; padding: clamp(18px, 2.2vw, 28px) clamp(20px, 2.6vw, 34px); border-radius: 24px; background: var(--ink); color: var(--paper); }
.ws-gate-ic { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--glacier); color: var(--ink); }
.ws-gate-ic .ic { width: 24px; height: 24px; }
.ws-gate b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px; }
.ws-gate span:not(.ws-gate-ic) { font-size: 16px; line-height: 1.5; color: var(--paper-2); }
@media (max-width: 1000px) { .ws-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ws-steps, .ws-steps-2 { grid-template-columns: minmax(0, 1fr); } .ws-steps-2 .ws-step { grid-column: auto; } .ws-gate { align-items: flex-start; } }

/* ---------- csomagválasztó ---------- */
.ws-choose { position: relative; background: var(--paper); padding-block: clamp(72px, 9vw, 128px); }
.ws-form { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.ws-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ws-type { position: relative; display: block; }
.ws-type input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; margin: 0; }
.ws-type > span { display: grid; gap: 4px; height: 100%; padding: 14px 16px; border: 1.5px solid #D5DEE6; border-radius: 18px; background: #fff; transition: border-color 200ms ease, background-color 200ms ease; }
.ws-type b { font-size: 17px; font-weight: 600; }
.ws-type i { font-style: normal; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.ws-type input:checked + span { border-color: var(--ink); background: #EAF2F8; }
.ws-type input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.ws-minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ws-mini { display: grid; gap: 8px; align-content: start; padding: 8px; border: 1.5px solid #D5DEE6; border-radius: 16px; background: #fff; text-align: left; font-size: 15px; font-weight: 500; transition: border-color 200ms ease, background-color 200ms ease; }
.ws-mini-im { display: block; aspect-ratio: 16 / 10; border-radius: 10px; background-size: cover; background-position: center; }
.ws-mini[aria-pressed="true"] { border-color: var(--ink); background: #EAF2F8; }
.ws-mini:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.ws-sum .ws-sum-l li::before { content: "✓"; color: var(--glacier); font-weight: 700; flex: none; }
.ws-sum .ws-sum-l li { align-items: flex-start; font-size: 16px; line-height: 1.4; }
.ws-sum .ws-ghost { width: 100%; }
@media (max-width: 960px) { .ws-form { grid-template-columns: minmax(0, 1fr); } .ws-sum { position: static; } }
@media (max-width: 640px) { .ws-types { grid-template-columns: minmax(0, 1fr); } .ws-minis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) { .ws-layer, .ws-gcard, .ws-pick { transition: none; } }
