/* ============================================================
   Firstglance Agency
   Sötét alap, hullámzó pontháló a heróban, egyetlen lila kiemelés,
   nagy, szoros Archivo-címek lila záróponttal. Csak transform/opacity
   mozog (kivétel: a harmonika nyitása).
   ============================================================ */

/* ---------- Betűk (saját tárhely, SIL OFL 1.1 — assets/fonts/OFL-*.txt) ---------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* A logó felirata marad Instrument Serif dőlt. */
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokenek ---------- */
:root {
  --bg: #120f1a;
  --ink: #f3f0ea;
  --ink-soft: rgba(243, 240, 234, 0.78);
  --muted: #948fa3;
  --line: rgba(243, 240, 234, 0.12);
  --line-strong: rgba(243, 240, 234, 0.3);
  --accent: #b94fe0;
  --accent-soft: #d9a6ef;
  --on-accent: #181521;
  --cream: #f3f0ea;
  --cream-ink: #181521;
  --cream-muted: #5d576b;
  --gutter: clamp(16px, 3.4vw, 48px);
  --sheet-r: clamp(24px, 3vw, 44px);
  --hdr-h: 4.5rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 1rem;
}
.nav-open body {
  overflow: hidden;
}

/* ---------- Apró elemek ---------- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  margin: 0;
  font: 600 0.7rem/1.2 var(--sans);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
.label-dot {
  flex: none;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(185, 79, 224, 0.2);
}
.acc {
  color: var(--accent);
}

/* Pill-gomb kerek nyílikonnal: hoverre a nyíl kicsúszik, a másik beúszik. */
.btn {
  --h: 3.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  height: var(--h);
  padding: 0 0.42rem 0 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 0.95rem/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.btn-sm {
  --h: 2.7rem;
  gap: 0.75rem;
  padding-left: 1.1rem;
  font-size: 0.86rem;
}
.btn-light {
  background: var(--ink);
  color: var(--on-accent);
}
.btn-light:hover {
  background: #fff;
}
.btn-line {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(18, 15, 26, 0.35);
}
.btn-line:hover {
  border-color: var(--ink);
}
.btn-ico {
  position: relative;
  flex: none;
  width: calc(var(--h) - 0.84rem);
  height: calc(var(--h) - 0.84rem);
  border-radius: 50%;
  background: var(--accent);
  overflow: hidden;
}
.btn-ico::before,
.btn-ico::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--on-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12h12M13 7l5 5-5 5'/%3E%3C/svg%3E") center / 46% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12h12M13 7l5 5-5 5'/%3E%3C/svg%3E") center / 46% no-repeat;
  transition: transform 0.5s var(--ease);
}
.btn-ico::after {
  transform: translateX(-110%);
}
.btn:hover .btn-ico::before {
  transform: translateX(110%);
}
.btn:hover .btn-ico::after {
  transform: none;
}
.btn-ico--down::before,
.btn-ico--down::after {
  rotate: 90deg;
}

/* ---------- Fejléc ---------- */
.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: calc(var(--hdr-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--gutter) 0;
  color: var(--ink);
  transition: transform 0.6s var(--ease), color 0.4s var(--ease);
}
/* A háttér álelemen: a backdrop-filter a fejlécen a fix menüpanel tartóblokkja lenne. */
.hdr::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(18, 15, 26, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity 0.4s var(--ease), background-color 0.4s var(--ease);
}
.hdr.is-scrolled::before {
  opacity: 1;
}
.hdr.is-hidden {
  transform: translateY(-100%);
}
.hdr.is-light {
  color: var(--cream-ink);
}
.hdr.is-light::before {
  background: rgba(243, 240, 234, 0.8);
  border-color: rgba(24, 21, 33, 0.1);
}
.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-right: auto;
  text-decoration: none;
}
.brand-name {
  font: italic 400 1.6rem/1 var(--serif);
  letter-spacing: -0.01em;
}
.brand-sub {
  margin-top: 0.3rem;
  font: 600 0.58rem/1 var(--sans);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}
.nav {
  position: absolute;
  left: 50%;
  top: calc(50% + env(safe-area-inset-top, 0px) / 2);
  translate: -50% -50%;
  display: flex;
  gap: 2rem;
}
.nav a {
  position: relative;
  padding: 0.4rem 0;
  font: 500 0.9rem/1 var(--sans);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav a:hover {
  opacity: 1;
}
.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav .nav-cta {
  display: none;
}
.hdr-cta {
  position: relative;
  z-index: 2;
}
.menu-btn {
  position: relative;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 0.7rem;
  height: 2.7rem;
  padding: 0 0.5rem 0 1.05rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: 600 0.82rem/1 var(--sans);
  cursor: pointer;
}
.menu-btn-lines {
  position: relative;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--accent);
}
.menu-btn-lines i {
  position: absolute;
  left: 30%;
  right: 30%;
  height: 1.5px;
  background: var(--on-accent);
  transition: transform 0.45s var(--ease);
}
.menu-btn-lines i:first-child {
  top: 42%;
}
.menu-btn-lines i:last-child {
  top: 56%;
}
.nav-open .menu-btn-lines i:first-child {
  transform: translateY(0.13rem) rotate(45deg);
}
.nav-open .menu-btn-lines i:last-child {
  transform: translateY(-0.13rem) rotate(-45deg);
}

@media (max-width: 1023px) {
  html.js .hdr-cta {
    display: none;
  }
  html.js .menu-btn {
    display: inline-flex;
  }
  .nav {
    position: fixed;
    inset: 0;
    top: 0;
    translate: none;
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
    padding: calc(var(--hdr-h) + 1rem) var(--gutter) 2rem;
    background: var(--bg);
    color: var(--ink);
    visibility: hidden;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.7s var(--ease), visibility 0s 0.7s;
  }
  .nav-open .nav {
    visibility: visible;
    clip-path: inset(0);
    transition: clip-path 0.7s var(--ease), visibility 0s;
  }
  .nav a {
    padding: 0.25rem 0;
    font: 450 clamp(2.4rem, 10vw, 3.8rem)/1.1 var(--sans);
    letter-spacing: -0.04em;
    opacity: 1;
  }
  .nav a::after {
    display: none;
  }
  .nav .nav-cta {
    display: inline-block;
    margin-top: 1.4rem;
    color: var(--accent-soft);
  }
  .nav-open .hdr {
    color: var(--ink);
  }
  .nav-open .hdr::before {
    opacity: 0;
  }
}
/* JS nélkül a menügomb helyén az ajánlatkérő gomb áll: keskeny telefonon mellette az „Agency” nem fér el */
@media (max-width: 400px) {
  html:not(.js) .brand-sub {
    display: none;
  }
}

/* ---------- Hero ---------- */
/* a hero háttere legyen átlátszatlan: mögötte (az oldal alján rögzítve) a lábléc vár */
.hero {
  position: relative;
  z-index: 0;
  background: var(--bg);
}
.hero-in {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: calc(var(--hdr-h) + env(safe-area-inset-top, 0px) + clamp(2rem, 8svh, 5.5rem)) var(--gutter) 0;
  overflow: clip;
}
/* lila derengés a háló horizontja körül */
.hero-in::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 58%;
  width: min(120vw, 110rem);
  aspect-ratio: 2.4;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(185, 79, 224, 0.17), rgba(185, 79, 224, 0.05) 55%, rgba(185, 79, 224, 0));
  pointer-events: none;
}
/* a számsor mögött a háló sötétebb, hogy az apró szöveg olvasható maradjon */
.hero-in::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 11rem;
  background: linear-gradient(to top, rgba(18, 15, 26, 0.9), rgba(18, 15, 26, 0));
  pointer-events: none;
}
.hero-mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 27rem);
  align-items: end;
  column-gap: 3rem;
}
.hero-label,
.hero-title {
  grid-column: 1 / -1;
}
.hero-title {
  grid-row: 2;
  margin: clamp(1rem, 2.6svh, 1.6rem) 0 0;
  font: 430 min(8.3vw, 9rem, 15svh)/0.98 var(--sans);
  letter-spacing: -0.052em;
}
.hero-title .w {
  display: inline-block;
  overflow: clip;
  padding: 0 0.04em 0.1em 0;
  margin-bottom: -0.1em;
  vertical-align: top;
}
.hero-title .w > span {
  display: inline-block;
}
/* a cím második sora rövid: mellette, jobbra a lead és a gombok */
.hero-side {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  padding-bottom: 0.9rem;
}
.hero-lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.1vw, 1.08rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}
.hero-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  padding: 1.2rem 0 1.5rem;
}
.hero-stats {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin: 0;
}
.hero-stats div {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.hero-stats dt {
  font: 600 0.62rem/1.2 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-stats dd {
  margin: 0;
  font: 500 clamp(1.6rem, 2.3vw, 2.1rem)/1 var(--sans);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.hero-stats .plus {
  color: var(--accent);
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.4rem;
  max-width: 30rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font: 500 0.78rem/1.3 var(--sans);
  color: var(--ink-soft);
}
.hero-badges li::before {
  content: "";
  flex: none;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: var(--accent);
}

/* Belépő (tiszta CSS, az első festéssel indul) */
html.js-motion .hero-title .w > span {
  animation: fg-rise 1.25s var(--ease) both;
}
html.js-motion .hero-title .w:nth-child(2) > span {
  animation-delay: 0.08s;
}
html.js-motion .hero-title .w:nth-child(4) > span {
  animation-delay: 0.16s;
}
html.js-motion .hero-label,
html.js-motion .hero-bar {
  animation: fg-up 1s var(--ease) both;
}
html.js-motion .hero-side {
  animation: fg-lift 1.1s var(--ease) 0.35s both;
}
html.js-motion .hero-bar {
  animation-delay: 0.6s;
}
@keyframes fg-rise {
  from {
    transform: translateY(105%);
  }
}
@keyframes fg-up {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
}
/* a lead csak emelkedik (átlátszóság nélkül), hogy az LCP-t ne késleltesse */
@keyframes fg-lift {
  from {
    transform: translateY(1.4rem);
  }
}

/* ---------- Rétegek és lapok ---------- */
.layer {
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.sheet {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * var(--sheet-r));
  border-radius: var(--sheet-r) var(--sheet-r) 0 0;
  box-shadow: 0 -24px 70px rgba(0, 0, 0, 0.38);
}
.stack-in {
  transform-origin: 50% 100%;
}
.layer-in,
.sheet-in {
  padding: clamp(4.5rem, 9vw, 8rem) var(--gutter) clamp(4.5rem, 8vw, 7rem);
}
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 24rem);
  align-items: end;
  gap: 1.3rem 4rem;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}
.sec-head .label {
  grid-column: 1 / -1;
}
.sec-title {
  margin: 0;
  max-width: 11em;
  font: 430 clamp(2.7rem, 6.2vw, 6rem)/1 var(--sans);
  letter-spacing: -0.048em;
  text-wrap: balance;
}
.sec-lead {
  margin: 0 0 0.35rem;
  max-width: 24rem;
  color: var(--ink-soft);
  font-size: 1rem;
}
.split-line-mask {
  padding: 0 0.06em 0.12em;
  margin: 0 -0.06em -0.12em;
}

/* ---------- Szolgáltatások: számozott sorok, kattintásra lenyíló leírással ---------- */
.svc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}
.svc-row {
  position: relative;
  display: grid;
  grid-template-columns: 6rem minmax(0, 1.15fr) minmax(0, 1fr) 3rem;
  align-items: center;
  column-gap: 2rem;
  padding: clamp(1.6rem, 2.6vw, 2.4rem) 0;
}
.svc {
  position: relative;
}
/* hoverre lila derengés a sor mögött; a nyitott tétel teljes sávot kap (sor + panel) */
.svc-row::before,
.svc::before {
  content: "";
  position: absolute;
  inset: 0 calc(-1 * var(--gutter));
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.svc-row::before {
  background: linear-gradient(90deg, rgba(185, 79, 224, 0.14), rgba(185, 79, 224, 0.03) 60%, rgba(185, 79, 224, 0));
}
.svc::before {
  background: radial-gradient(60% 120% at 0% 0%, rgba(185, 79, 224, 0.2), rgba(185, 79, 224, 0) 70%), rgba(243, 240, 234, 0.025);
}
.svc-row:hover::before,
.svc.is-open::before {
  opacity: 1;
}
.svc.is-open .svc-row::before {
  opacity: 0;
}
.svc-line {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: var(--line-strong);
  transform-origin: 0 50%;
  transition: background-color 0.5s var(--ease);
}
.svc.is-open .svc-line {
  background: var(--accent);
}
.svc-num {
  align-self: start;
  padding-top: 0.9rem;
  font: 600 0.78rem/1 var(--sans);
  letter-spacing: 0.2em;
  color: var(--accent-soft);
}
.svc-h {
  margin: 0;
  font: inherit;
}
.svc-btn {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
/* az egész sor kattintható (a gomb kiterjesztett célterülete) */
.svc-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.svc-btn:focus-visible {
  outline: none;
}
.svc-btn:focus-visible::after {
  outline: 2px solid var(--accent-soft);
  outline-offset: -2px;
  border-radius: 10px;
}
.svc-dot {
  flex: none;
  width: 0;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transition: width 0.5s var(--ease), margin 0.5s var(--ease), opacity 0.3s;
}
.svc-row:hover .svc-dot,
.svc.is-open .svc-dot {
  width: 0.5rem;
  margin-right: 0.9rem;
  opacity: 1;
}
.svc-title {
  font: 430 clamp(1.9rem, 3.7vw, 3.6rem)/1.05 var(--sans);
  letter-spacing: -0.045em;
}
.svc-sub {
  margin: 0.75rem 0 0;
  font: 600 0.68rem/1.3 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(243, 240, 234, 0.7);
}
/* a címkék pirulák: jól olvasható, teli szöveg; hoverre és nyitva lila keretet kapnak */
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.svc-tags li {
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(243, 240, 234, 0.18);
  border-radius: 999px;
  background: rgba(243, 240, 234, 0.04);
  color: var(--ink);
  font: 500 0.84rem/1.25 var(--sans);
  transition: border-color 0.45s var(--ease), background-color 0.45s var(--ease);
}
.svc-row:hover .svc-tags li,
.svc.is-open .svc-tags li {
  border-color: rgba(185, 79, 224, 0.6);
  background: rgba(185, 79, 224, 0.12);
}
.svc-ico {
  position: relative;
  justify-self: end;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.svc-ico::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 16 16 8M9 8h7v7'/%3E%3C/svg%3E") center / 42% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 16 16 8M9 8h7v7'/%3E%3C/svg%3E") center / 42% no-repeat;
  transition: transform 0.55s var(--ease), background-color 0.4s;
}
.svc-row:hover .svc-ico {
  border-color: var(--ink);
}
.svc.is-open .svc-ico {
  border-color: var(--accent);
  background: var(--accent);
}
.svc.is-open .svc-ico::before {
  background: var(--on-accent);
  transform: rotate(90deg);
}
.svc-panel {
  display: grid;
  grid-template-rows: 1fr;
}
html.js .svc-panel {
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.65s var(--ease), visibility 0s 0.65s;
}
html.js .svc.is-open .svc-panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.65s var(--ease), visibility 0s;
}
.svc-panel-in {
  min-height: 0;
  overflow: hidden;
}
.svc-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 2.4rem clamp(2rem, 4.5vw, 4.5rem);
  padding: 0.4rem 0 clamp(2.4rem, 3.6vw, 3.4rem) 8rem;
}
.svc-lead {
  max-width: 34rem;
  margin: 0;
  color: var(--ink);
  font: 400 clamp(1.2rem, 1.65vw, 1.55rem)/1.42 var(--sans);
  letter-spacing: -0.015em;
}
/* Kiemelés: a kulcsmondat alá lila „szövegkiemelő” csík fut be, amikor a nézetbe ér (a szolgáltatás-
   paneleken nyitáskor). JS nélkül és csökkentett mozgásnál eleve teljes. */
.hl {
  --hl: rgba(185, 79, 224, 0.42);
  padding: 0 0.06em;
  color: #f6e6fc;
  background: linear-gradient(transparent 60%, var(--hl) 0) no-repeat 0 0 / 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 1.2s var(--ease);
}
html.js-motion .hl:not(.is-lit) {
  background-size: 0% 100%;
}
html.js-motion .svc .hl {
  background-size: 0% 100%;
}
html.js-motion .svc.is-open .hl {
  background-size: 100% 100%;
  transition-delay: 0.5s;
}
.sheet--light .hl {
  --hl: rgba(185, 79, 224, 0.24);
  color: inherit;
}
.sheet--accent .hl {
  --hl: rgba(243, 240, 234, 0.5);
  color: inherit;
}
/* a hero kiemelése a belépő után, magától fut be */
html.js-motion .hero-lead .hl {
  animation: hl-in 1.3s var(--ease) 1.5s both;
}
@keyframes hl-in {
  from {
    background-size: 0% 100%;
  }
  to {
    background-size: 100% 100%;
  }
}
.svc-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  max-width: 36rem;
  margin: 2rem 0 0;
}
.svc-facts div {
  padding-top: 0.95rem;
  border-top: 1px solid rgba(185, 79, 224, 0.6);
}
.svc-facts dt {
  font: 600 0.62rem/1.3 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.svc-facts dd {
  margin: 0.5rem 0 0;
  font: 500 clamp(1rem, 1.3vw, 1.2rem)/1.25 var(--sans);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.svc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.6rem;
  margin-top: 2.1rem;
}
.svc-more {
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(185, 79, 224, 0.85);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: text-decoration-color 0.3s;
}
.svc-more:hover {
  text-decoration-color: var(--ink);
}
/* a kép: a munkáinkból, lila derengésű sötét panelen */
.svc-visual {
  position: relative;
  display: grid;
  place-items: center;
  align-self: stretch;
  min-height: clamp(15rem, 22vw, 20rem);
  padding: clamp(1.5rem, 3vw, 2.8rem);
  border: 1px solid rgba(243, 240, 234, 0.08);
  border-radius: clamp(18px, 2vw, 26px);
  overflow: hidden;
  background: radial-gradient(90% 70% at 50% 108%, rgba(185, 79, 224, 0.55), rgba(185, 79, 224, 0) 70%), radial-gradient(60% 50% at 50% 0%, rgba(243, 240, 234, 0.07), rgba(243, 240, 234, 0) 70%), #1b1724;
}
.svc-visual .laptop {
  width: 100%;
}
.svc-visual .laptop::after,
.wall-tile .laptop::after {
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}
.svc-visual--phone {
  padding-block: clamp(1.2rem, 2vw, 1.8rem) 0;
  align-items: start;
}
.svc-visual--phone .phone {
  width: min(12.5rem, 56%);
  margin-bottom: -18%;
}
/* három kreatív legyezőben: nyitáskor bomlik szét */
.svc-visual--fan {
  grid-template-areas: "s";
}
.fan-card {
  grid-area: s;
  width: 38%;
  border-radius: 12px;
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.75);
  transition: transform 0.9s var(--ease) 0.15s;
}
.fan-card:nth-child(2) {
  z-index: 1;
  width: 42%;
}
.svc.is-open .fan-card:nth-child(1) {
  transform: translateX(-62%) rotate(-8deg) scale(0.92);
}
.svc.is-open .fan-card:nth-child(3) {
  transform: translateX(62%) rotate(8deg) scale(0.92);
}
html:not(.js) .fan-card:nth-child(1) {
  transform: translateX(-62%) rotate(-8deg) scale(0.92);
}
html:not(.js) .fan-card:nth-child(3) {
  transform: translateX(62%) rotate(8deg) scale(0.92);
}
/* nyitáskor a panel tartalma lépcsőzetesen beúszik */
html.js .svc-copy,
html.js .svc-visual {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.8s var(--ease);
}
html.js .svc.is-open .svc-copy,
html.js .svc.is-open .svc-visual {
  opacity: 1;
  transform: none;
  transition-delay: 0.12s;
}
html.js .svc.is-open .svc-visual {
  transition-delay: 0.22s;
}

/* ---------- Telefon (saját CSS-rajz): új generációs, vékony káva, sziget a kijelző tetején ---------- */
.phone {
  position: relative;
  container-type: inline-size;
}
.phone-body {
  position: relative;
  aspect-ratio: 9 / 19.5;
  padding: 3.3cqw;
  border-radius: 15.5cqw;
  background: #0b0b0f;
  box-shadow: 0 0 0 0.5cqw #8f9299, 0 0 0 1.1cqw #d4d5da, 0 0 0 1.5cqw #9a9da4, 0 10cqw 22cqw -8cqw rgba(0, 0, 0, 0.55);
}
.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 12.4cqw;
  background: #000;
}
.phone-screen::before {
  content: "";
  position: absolute;
  top: 2.8cqw;
  left: 50%;
  z-index: 8;
  width: 29cqw;
  height: 8.4cqw;
  translate: -50% 0;
  border-radius: 999px;
  background: #050506;
}
.phone-screen--story img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.story-bar {
  position: absolute;
  top: 14cqw;
  left: 6cqw;
  right: 6cqw;
  z-index: 2;
  height: 0.9cqw;
  border-radius: 9px;
  background: linear-gradient(90deg, #fff 0 38%, rgba(255, 255, 255, 0.35) 0);
}

/* ---------- Krém lapok ---------- */
.sheet--light {
  background: var(--cream);
  color: var(--cream-ink);
}
.sheet--light .label {
  color: var(--cream-muted);
}
.sheet--light .label-dot {
  box-shadow: 0 0 0 4px rgba(139, 48, 174, 0.16);
}
.sheet--light .acc {
  color: #8b30ae;
}
.sheet--light .sec-lead {
  color: var(--cream-muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Munkáink: aszimmetrikus rács, színes alapon böngészőkeretes képek ---------- */
.works {
  z-index: 2;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  gap: clamp(3rem, 7vw, 6.5rem) clamp(1.25rem, 2.6vw, 2.5rem);
}
.work-media {
  padding: clamp(1.3rem, 3.2vw, 3rem);
  border-radius: clamp(18px, 2vw, 28px);
  background: radial-gradient(120% 90% at 25% 0%, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0) 60%), var(--tint, #e6e1d7);
}
/* Laptop (saját CSS-rajz): fekete üvegkeret kamerapöttyel, ezüst alsó rész. A 4:3-as képek
   felül igazítva töltik ki a 16:10-es kijelzőt; a Phangan képe mindig teljes (vágás és nagyítás
   nélkül, --fit), a két szélén a kép szélszínével. Hoverre az egész laptop emelkedik. */
.laptop {
  position: relative;
  z-index: 0;
  padding: 0 5.5%;
  container-type: inline-size;
  transition: transform 0.7s var(--ease);
}
.work:hover .laptop {
  transform: translateY(-8px);
}
.laptop::after {
  content: "";
  position: absolute;
  left: 3%;
  right: 3%;
  bottom: -5%;
  height: 9%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(24, 21, 33, 0.38), rgba(24, 21, 33, 0));
  transition: opacity 0.7s var(--ease);
}
.work:hover .laptop::after {
  opacity: 0.7;
}
/* Új generációs kijelző: vékony káva (a cqw a laptop szélességéhez mér), lekerekített felső
   sarkok, középen belógó kijelzővágat kamerával és homorú átmenettel a kávába. */
.laptop-lid {
  position: relative;
  padding: 1.05cqw 1.05cqw 1.9cqw;
  border-radius: 1.7cqw 1.7cqw 0.6cqw 0.6cqw;
  background: #0b0b0f;
  box-shadow: 0 0 0 1px #8f9299, 0 0 0 2px #d6d7db, 0 24px 44px -26px rgba(24, 21, 33, 0.55);
}
.laptop-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 1cqw 1cqw 0.15cqw 0.15cqw;
  background: var(--screen, #000);
}
.laptop-screen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: 11.2cqw;
  height: 2.2cqw;
  translate: -50% 0;
  border-radius: 0 0 0.85cqw 0.85cqw;
  background: radial-gradient(circle, #252831 0 0.26cqw, rgba(37, 40, 49, 0) 0.32cqw) 50% 45% / 100% 100% no-repeat, #0b0b0f;
}
.laptop-screen::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: calc(11.2cqw + 0.9cqw);
  height: 0.45cqw;
  translate: -50% 0;
  background:
    radial-gradient(circle at 0 100%, rgba(11, 11, 15, 0) 0.45cqw, #0b0b0f calc(0.45cqw + 0.5px)) left top / 0.45cqw 0.45cqw no-repeat,
    radial-gradient(circle at 100% 100%, rgba(11, 11, 15, 0) 0.45cqw, #0b0b0f calc(0.45cqw + 0.5px)) right top / 0.45cqw 0.45cqw no-repeat;
}
.laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.laptop-deck {
  position: relative;
  height: 0;
  padding-bottom: 3%;
  margin: 0 -5.8%;
  border-radius: 0 0 46% 46% / 0 0 100% 100%;
  background: linear-gradient(#f2f3f5, #cfd1d6 40%, #9fa2a9);
}
.laptop-deck::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 15%;
  height: 40%;
  translate: -50% 0;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(#a9acb2, #d3d5d9);
}
/* Projektsorok (a régi oldal esettanulmány-kártyái nyomán): egyik oldalon a laptop, a másikon a
   teljes leírás lenyitás nélkül; minden második sorban a kép jobbra kerül. */
.work--row {
  grid-column: 1 / -1;
}
.work--row .work-in {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  column-gap: clamp(1.5rem, 3.5vw, 4rem);
}
.work--flip .work-in {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.work--flip .work-media {
  order: 2;
}
.work-cap {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  align-items: start;
  column-gap: 1rem;
}
.work-num {
  padding-top: 0.85rem;
  font: 600 0.72rem/1 var(--sans);
  letter-spacing: 0.2em;
  color: #8b30ae;
}
.work-title {
  margin: 0;
  font: 450 clamp(1.8rem, 3vw, 2.8rem)/1.05 var(--sans);
  letter-spacing: -0.04em;
}
.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}
.work-tags li {
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  background: rgba(139, 48, 174, 0.1);
  color: #6b2390;
  font: 600 0.62rem/1.2 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.work-sub,
.work-note,
.work-desc {
  margin-left: 4rem;
}
.work-sub {
  max-width: 34rem;
  margin-top: 1.2rem;
  margin-bottom: 0;
  color: var(--cream-ink);
  font: 500 clamp(1.02rem, 1.2vw, 1.12rem)/1.45 var(--sans);
}
.work-note {
  max-width: 34rem;
  margin-top: 0.9rem;
  margin-bottom: 0;
  padding: 0.6rem 0.9rem;
  border-left: 2px solid #8b30ae;
  border-radius: 0 8px 8px 0;
  background: rgba(139, 48, 174, 0.08);
  color: var(--cream-ink);
  font-size: 0.88rem;
}
.work-desc > p:first-child {
  max-width: 36rem;
  margin: 0.9rem 0 0;
  color: rgba(24, 21, 33, 0.78);
  font-size: 0.98rem;
  line-height: 1.6;
}
.work-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  max-width: 36rem;
  margin: 1.4rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(24, 21, 33, 0.12);
}
.work-facts dt {
  font: 600 0.6rem/1.3 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-muted);
}
.work-facts dd {
  margin: 0.35rem 0 0;
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1.45;
}
.work-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  margin: 1.2rem 0 0;
}
.work-links a {
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(139, 48, 174, 0.5);
  text-underline-offset: 3px;
}
.works-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(3.5rem, 7vw, 6rem);
}
.btn-dark {
  background: var(--cream-ink);
  color: var(--cream);
}
.btn-dark:hover {
  background: #2c2639;
}

/* ---------- A lapok sorrendje (mindegyik az előzőre úszik) ---------- */
[hidden] {
  display: none !important;
}
main {
  position: relative;
  z-index: 1;
}
.process {
  z-index: 3;
  background: var(--bg);
}
.why {
  z-index: 4;
}
.wall {
  z-index: 5;
}
.about {
  z-index: 6;
  overflow-x: clip;
}
.pricing {
  z-index: 7;
  background: var(--bg);
}
.faq {
  z-index: 8;
}
.contact {
  z-index: 9;
  border-radius: var(--sheet-r);
}
/* ---------- Folyamat: „amit készítünk” lista + idővonal ---------- */
.build {
  margin-bottom: clamp(4.5rem, 9vw, 8rem);
}
.build-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.1em;
  max-width: 20em;
  margin: 0;
  padding: 0;
  list-style: none;
  font: 430 clamp(2rem, 4.6vw, 4.4rem)/1.14 var(--sans);
  letter-spacing: -0.04em;
}
.build-list li {
  transition: color 0.4s var(--ease), text-shadow 0.4s var(--ease);
}
.build-list li + li::before {
  content: "·";
  margin: 0 0.28em 0 0.18em;
  color: var(--accent);
  transition: opacity 0.4s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .build-list li {
    cursor: default;
  }
  .build-list:has(li:hover) li:not(:hover) {
    color: rgba(243, 240, 234, 0.28);
  }
  .build-list:has(li:hover) li:not(:hover)::before {
    opacity: 0.35;
  }
  .build-list li:hover {
    text-shadow: 0 0 28px rgba(217, 166, 239, 0.35);
  }
}
.sub-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font: 600 0.7rem/1.2 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.sub-num {
  color: var(--accent-soft);
}
.steps {
  position: relative;
}
.steps.is-live .step {
  transition: opacity 0.5s var(--ease);
}
.steps.is-live .step:not(.is-on) {
  opacity: 0.45;
}
.steps-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 0.44rem;
  height: 1px;
  background: var(--line-strong);
}
.steps-fill {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform-origin: 0 50%;
}
.steps-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  position: relative;
  padding-top: 2.4rem;
}
.step-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.step.is-on .step-dot {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(185, 79, 224, 0.18);
}
.step-num {
  font: 600 0.7rem/1 var(--sans);
  letter-spacing: 0.2em;
  color: var(--muted);
}
.step-title {
  margin: 0.9rem 0 0.6rem;
  font: 450 clamp(1.35rem, 1.9vw, 1.7rem)/1.15 var(--sans);
  letter-spacing: -0.03em;
}
.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- Miért mi: középen az indokok, két oldalt a „nélkülünk / velünk” telefon ---------- */
.why-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: calc(var(--hdr-h) + clamp(2rem, 26vh - 7rem, 8rem)) var(--gutter) clamp(2rem, 6vh, 5rem);
  overflow: hidden;
}
/* mozgással, elég magas kijelzőn a színpad ragad, amíg az indokok egyenként előtűnnek */
@media (min-height: 700px) {
  html.js-motion .why-pin {
    height: calc(100svh + 115svh);
  }
  html.js-motion .why-stage {
    position: sticky;
    top: 0;
    height: 100svh;
  }
}
.why-center {
  position: relative;
  z-index: 2;
  width: min(100%, 29rem);
  text-align: center;
}
.why-center .label {
  justify-content: center;
}
.why-title {
  margin: 1.1rem 0 0;
  font: 430 clamp(2.2rem, 3.6vw, 3.2rem)/1.02 var(--sans);
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.why-list {
  margin: clamp(1.3rem, 3.2vh, 2.2rem) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(24, 21, 33, 0.14);
}
.why-item {
  padding: clamp(0.7rem, 1.7vh, 1.05rem) 0;
  border-bottom: 1px solid rgba(24, 21, 33, 0.14);
}
.why-num {
  font: 600 0.7rem/1 var(--sans);
  letter-spacing: 0.18em;
  color: #8b30ae;
}
.why-h {
  margin: 0.4rem 0 0.2rem;
  font: 500 clamp(1.05rem, 1.35vw, 1.22rem)/1.25 var(--sans);
  letter-spacing: -0.02em;
}
.why-item p {
  margin: 0;
  color: var(--cream-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}
.why-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.why-tag {
  position: absolute;
  top: calc(var(--hdr-h) + clamp(1rem, 3vh, 1.8rem));
  display: grid;
  gap: 0.4rem;
  margin: 0;
}
.why-tag--without {
  left: var(--gutter);
}
.why-tag--with {
  right: var(--gutter);
  text-align: right;
}
.why-tag-k {
  font: 600 0.68rem/1 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8b30ae;
}
.why-tag-t {
  font: 430 clamp(1.25rem, 2vw, 1.85rem)/1.1 var(--sans);
  letter-spacing: -0.035em;
  color: var(--cream-ink);
}
/* a telefonok a színpad két szélén, alul kifutnak; a külső burkolót a GSAP mozgatja, a belsőt
   CSS-ből fordítjuk egymás felé */
.why-side {
  position: absolute;
  top: calc(var(--hdr-h) + clamp(5.5rem, 13vh, 8rem));
  width: min(23vw, 46svh);
  will-change: transform;
}
.why-side--without {
  left: clamp(-4rem, 6vw - 5rem, 3vw);
}
.why-side--with {
  right: clamp(-4rem, 6vw - 5rem, 3vw);
}
.why-phone {
  position: relative;
}
.why-side--without .why-phone {
  transform: perspective(1600px) rotateY(18deg) rotateZ(-1.5deg);
}
.why-side--with .why-phone {
  transform: perspective(1600px) rotateY(-18deg) rotateZ(1.5deg);
}
/* „nélkülünk”: régi, zsúfolt oldal, betört kijelzővel */
.scr-bad {
  background: #e3e0d8;
  color: #3a3a3a;
  font-family: "Times New Roman", Times, serif;
}
.scr-bad > *:not(svg) {
  filter: saturate(0.55);
}
.bad-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13cqw 6cqw 3.4cqw;
  background: linear-gradient(#8a97a4, #6b7886);
}
.bad-logo {
  width: 17cqw;
  height: 6.5cqw;
  border: 0.7cqw outset #eceae4;
  background: #c4c1b9;
}
.bad-menu {
  color: #fff;
  font-size: 3.8cqw;
  text-decoration: underline;
}
.bad-hero {
  display: grid;
  place-items: center;
  height: 34cqw;
  margin: 4cqw 5cqw 0;
  border: 0.5cqw solid #b4b1a9;
  background: repeating-linear-gradient(45deg, #ceccc4 0 2cqw, #d9d6cf 2cqw 4cqw);
}
.bad-img {
  width: 12cqw;
  height: 12cqw;
  border: 0.5cqw solid #9a9a9a;
  background: linear-gradient(to top right, rgba(170, 50, 50, 0) calc(50% - 0.35cqw), #a33 0 calc(50% + 0.35cqw), rgba(170, 50, 50, 0) 0), #efefef;
}
.bad-h {
  margin: 5cqw 4cqw 0;
  color: #1d3d8f;
  font-size: 6.4cqw;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  transform: rotate(-1.4deg);
}
.bad-p {
  margin: 3cqw 6cqw 0;
  color: #7b7b7b;
  font-size: 3.6cqw;
  line-height: 1.35;
  text-align: justify;
}
.bad-btn {
  display: inline-block;
  margin: 4.5cqw 0 0 11cqw;
  padding: 2cqw 4cqw;
  border: 0.6cqw outset #fff;
  background: #d4d0c8;
  color: #222;
  font-size: 3.7cqw;
}
.bad-load {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2cqw;
  margin: 5cqw 0 0;
  color: #8a8a8a;
  font-size: 3.4cqw;
  font-style: italic;
}
.bad-load i {
  width: 5cqw;
  height: 5cqw;
  border: 0.8cqw solid #c9c6bf;
  border-top-color: #7a7a7a;
  border-radius: 50%;
  animation: bad-spin 1.4s linear infinite;
}
@keyframes bad-spin {
  to {
    transform: rotate(1turn);
  }
}
.bad-cookie {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 4cqw;
  padding: 5cqw 6cqw 10cqw;
  background: rgba(38, 38, 38, 0.94);
  color: #d6d6d6;
  font: 3.3cqw/1.35 Arial, Helvetica, sans-serif;
}
.bad-cookie b {
  padding: 1.8cqw 4.5cqw;
  background: #4a90d9;
  color: #fff;
  font-weight: 400;
}
.bad-crack {
  position: absolute;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
}
.crack-shade,
.crack-line {
  fill: none;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.crack-shade {
  stroke: rgba(0, 0, 0, 0.3);
  stroke-width: 2.4px;
}
.crack-line {
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 1px;
}
.scr-bad::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 7;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 42%);
}
/* „velünk”: rendezett, mai oldal, és befut egy ajánlatkérés */
.scr-good {
  padding: 13.5cqw 6.5cqw 0;
  background: radial-gradient(120% 60% at 85% 0%, rgba(185, 79, 224, 0.38), rgba(185, 79, 224, 0) 60%), #120f1a;
  color: var(--ink);
  font-family: var(--sans);
}
.good-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.good-logo {
  display: flex;
  align-items: center;
  gap: 2.4cqw;
}
.good-logo i {
  width: 5cqw;
  height: 5cqw;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1.3cqw rgba(185, 79, 224, 0.25);
}
.good-logo b {
  width: 16cqw;
  height: 2.2cqw;
  border-radius: 9px;
  background: rgba(243, 240, 234, 0.85);
}
.good-burger {
  display: grid;
  gap: 1.4cqw;
}
.good-burger i {
  width: 6.5cqw;
  height: 0.75cqw;
  border-radius: 9px;
  background: var(--ink);
}
.good-kicker {
  margin: 9cqw 0 0;
  color: var(--accent-soft);
  font: 600 2.9cqw/1 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.good-h {
  margin: 3cqw 0 0;
  font: 450 9.6cqw/1.02 var(--sans);
  letter-spacing: -0.045em;
}
.good-h em {
  font-style: normal;
  color: var(--accent);
}
.good-img {
  position: relative;
  height: 44cqw;
  margin-top: 6cqw;
  overflow: hidden;
  border-radius: 6cqw;
  background: radial-gradient(60% 70% at 28% 30%, #f3cdff, rgba(243, 205, 255, 0) 62%), radial-gradient(70% 80% at 82% 85%, #6a22c4, rgba(106, 34, 196, 0) 70%), linear-gradient(135deg, #d671f2, #57208c);
}
.good-img::after {
  content: "";
  position: absolute;
  right: 9cqw;
  bottom: -9cqw;
  width: 30cqw;
  height: 30cqw;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.good-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 12cqw;
  margin-top: 6cqw;
  padding: 0 1.6cqw 0 5.5cqw;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-accent);
  font: 600 3.9cqw/1 var(--sans);
}
.good-cta i {
  width: 9cqw;
  height: 9cqw;
  border-radius: 50%;
  background: var(--accent);
}
.good-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 2cqw;
  margin-top: 5cqw;
}
.good-chips span {
  padding: 1.7cqw 3.2cqw;
  border: 0.3cqw solid rgba(243, 240, 234, 0.22);
  border-radius: 999px;
  color: var(--ink-soft);
  font: 500 2.9cqw/1 var(--sans);
}
.good-toast {
  position: absolute;
  top: 47%;
  left: -24%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 1.1rem 0.65rem 0.65rem;
  border-radius: 16px;
  background: #fff;
  color: var(--cream-ink);
  box-shadow: 0 24px 50px -18px rgba(24, 21, 33, 0.45);
  white-space: nowrap;
}
.good-check {
  position: relative;
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
}
.good-check::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--on-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 55% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 55% no-repeat;
}
.good-toast-t {
  display: grid;
  font-size: 0.82rem;
  line-height: 1.3;
}
.good-toast-t b {
  font-weight: 600;
}
.good-toast-t small {
  color: var(--cream-muted);
  font-size: 0.7rem;
}

/* ---------- Projektfal: mély lila lap, jobbra megdöntött síkon úszó oszlopok ---------- */
.wall {
  overflow: hidden;
  background: radial-gradient(70% 80% at 88% 20%, rgba(222, 140, 250, 0.4), rgba(222, 140, 250, 0) 70%), #8b30ae;
  color: var(--cream);
}
.wall .label {
  color: rgba(243, 240, 234, 0.88);
}
.wall .label-dot {
  background: var(--cream);
  box-shadow: 0 0 0 4px rgba(243, 240, 234, 0.2);
}
.wall .acc {
  color: var(--cream);
}
.wall-in {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(100svh, 60rem);
}
.wall-copy {
  position: relative;
  z-index: 2;
  max-width: 42rem;
}
.wall-title {
  margin: 1.3rem 0 0;
  font: 430 clamp(2.8rem, 5.4vw, 5.4rem)/0.98 var(--sans);
  letter-spacing: -0.05em;
}
.wall-lead {
  max-width: 28rem;
  margin: 1.8rem 0 0;
  color: rgba(243, 240, 234, 0.9);
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  line-height: 1.6;
}
.wall-cta {
  margin-top: 2.2rem;
}
.wall-visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 64%;
  perspective: 1600px;
  perspective-origin: 30% 50%;
  pointer-events: none;
  -webkit-mask: linear-gradient(90deg, rgba(0, 0, 0, 0), #000 26%);
  mask: linear-gradient(90deg, rgba(0, 0, 0, 0), #000 26%);
}
.wall-plane {
  position: absolute;
  top: -32%;
  left: 9%;
  display: flex;
  gap: 1.25rem;
  width: 92%;
  height: 165%;
  transform: rotateX(20deg) rotateY(-18deg) rotateZ(12deg);
}
.wall-col {
  flex: 1;
  min-width: 0;
}
.wall-track {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  animation: wall-up 110s linear infinite;
  will-change: transform;
}
.wall-track--down {
  animation-name: wall-down;
  animation-duration: 128s;
}
.wall-col:nth-child(3) .wall-track {
  animation-duration: 96s;
}
.wall.is-paused .wall-track {
  animation-play-state: paused;
}
@keyframes wall-up {
  to {
    transform: translate3d(0, calc(-50% - 0.625rem), 0);
  }
}
@keyframes wall-down {
  from {
    transform: translate3d(0, calc(-50% - 0.625rem), 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}
.wall-tile {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 30px 60px -30px rgba(30, 6, 48, 0.7);
}
.wall-tile--site {
  padding: 13% 9% 15%;
  background: radial-gradient(90% 80% at 50% 112%, rgba(185, 79, 224, 0.6), rgba(185, 79, 224, 0) 70%), #17131f;
}
.wall-tile--ad img {
  width: 100%;
}

/* ---------- Rólunk ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 3rem clamp(2rem, 5vw, 5rem);
}
.about-copy .sec-title {
  margin: 1.3rem 0 2rem;
}
.about-text p {
  max-width: 40rem;
  margin: 0;
  font-size: clamp(1.1rem, 1.45vw, 1.3rem);
  line-height: 1.55;
}
.about-text p + p {
  margin-top: 1.2rem;
}
/* a csapatfotó helye: amíg nincs fotó, a márka panelje */
.about-media {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1.6rem;
  aspect-ratio: 4 / 5;
  padding: 2rem;
  border-radius: clamp(20px, 2.4vw, 32px);
  overflow: hidden;
  background: radial-gradient(90% 70% at 50% 100%, rgba(185, 79, 224, 0.5), rgba(185, 79, 224, 0) 70%), radial-gradient(70% 50% at 50% 0%, rgba(243, 240, 234, 0.08), rgba(243, 240, 234, 0) 70%), #181521;
  color: var(--ink);
  text-align: center;
}
.about-mark {
  width: 32%;
  height: auto;
}
.about-quote {
  max-width: 14em;
  margin: 0;
  font: italic 400 clamp(1.5rem, 2.4vw, 2.2rem)/1.15 var(--serif);
}
.about-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin: clamp(3.5rem, 7vw, 6rem) 0 0;
  padding: 0;
  list-style: none;
}
.about-points li {
  display: grid;
  gap: 0.5rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(24, 21, 33, 0.16);
}
.ap-num {
  font: 600 0.7rem/1 var(--sans);
  letter-spacing: 0.2em;
  color: var(--cream-muted);
}
.about-points strong {
  font: 500 1.25rem/1.2 var(--sans);
  letter-spacing: -0.02em;
}
.about-points span:last-child {
  color: var(--cream-muted);
  font-size: 0.95rem;
}

/* ---------- Árak: a kalkulátor (a markup és a logika a régi oldalé) ---------- */
.calc-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 2rem clamp(1.5rem, 3vw, 3rem);
}
.calc-body:has(> .calc-summary:not([hidden])) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 23rem);
}
.calc-step {
  margin: 0 0 2.6rem;
  padding: 0;
  border: 0;
  min-width: 0;
}
.calc-step legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
  width: 100%;
  margin-bottom: 1.1rem;
  padding: 0;
  font: 500 clamp(1.2rem, 1.6vw, 1.45rem)/1.2 var(--sans);
  letter-spacing: -0.02em;
}
.calc-step-num {
  font: 600 0.72rem/1 var(--sans);
  letter-spacing: 0.2em;
  color: var(--accent-soft);
}
.calc-step-type {
  margin-left: auto;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font: 600 0.6rem/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.75rem;
}
.choice {
  position: relative;
  display: block;
  cursor: pointer;
}
.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.choice-body {
  display: grid;
  gap: 0.35rem;
  height: 100%;
  padding: 1rem 2.6rem 1.05rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(243, 240, 234, 0.03);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.choice-body::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 1.05rem;
  width: 1rem;
  height: 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}
.choice:hover .choice-body {
  border-color: rgba(243, 240, 234, 0.55);
}
.choice input:checked + .choice-body {
  border-color: var(--accent);
  background: rgba(185, 79, 224, 0.12);
}
.choice input:checked + .choice-body::after {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 3px #1d1927;
}
.choice input:focus-visible + .choice-body {
  outline: 2px solid var(--accent-soft);
  outline-offset: 2px;
}
.choice-title {
  font-weight: 600;
  font-size: 0.98rem;
}
.choice-desc {
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.45;
}
.choice-price {
  margin-top: 0.2rem;
  color: var(--accent-soft);
  font-weight: 600;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}
.calc-extra {
  margin-top: 0.9rem;
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  background: rgba(243, 240, 234, 0.05);
}
.calc-extra-label {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  font-size: 0.92rem;
}
.calc-extra-label output {
  color: var(--accent-soft);
  font-variant-numeric: tabular-nums;
}
.calc-extra input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}
.calc-hint {
  margin: 0.7rem 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}
.stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.stepper-btn {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font: 500 1.2rem/1 var(--sans);
  cursor: pointer;
}
.stepper-btn:hover {
  border-color: var(--ink);
}
.stepper input {
  width: 4.2rem;
  height: 2.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(243, 240, 234, 0.04);
  color: var(--ink);
  font: 600 1rem/1 var(--sans);
  text-align: center;
}
.calc-summary {
  position: sticky;
  top: calc(var(--hdr-h) + 1.5rem);
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  border: 1px solid rgba(185, 79, 224, 0.35);
  border-radius: 24px;
  background: radial-gradient(120% 70% at 50% 115%, rgba(185, 79, 224, 0.45), rgba(185, 79, 224, 0) 70%), #1d1927;
  box-shadow: 0 30px 70px -40px rgba(185, 79, 224, 0.6);
}
.calc-summary-title {
  margin: 0 0 1.2rem;
  font: 600 0.7rem/1.2 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.calc-totals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.calc-total {
  display: grid;
  gap: 0.35rem;
}
.calc-total-label {
  font: 600 0.62rem/1.2 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.calc-total-num {
  font: 500 clamp(1.5rem, 2.2vw, 1.9rem)/1.05 var(--sans);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.calc-total-num.is-n {
  color: var(--ink);
}
.calc-total-sub {
  color: var(--ink-soft);
  font-size: 0.8rem;
}
.calc-empty {
  margin: 1.2rem 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}
.calc-lines {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
}
.calc-lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
}
.calc-lines li span:last-child {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.calc-bundle {
  margin: 1rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(185, 79, 224, 0.16);
  font-size: 0.84rem;
}
.btn-block {
  width: 100%;
  justify-content: space-between;
}
.calc-summary .btn-block {
  margin-top: 1.3rem;
}
.calc-disclaimer {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}
.calc-mini {
  display: none;
}
.bundle-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.2rem 2.5rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(1.5rem, 3vw, 2.6rem);
  border: 1px solid rgba(185, 79, 224, 0.4);
  border-radius: 28px;
  background: linear-gradient(120deg, rgba(185, 79, 224, 0.24), rgba(185, 79, 224, 0.05) 60%), #17131f;
}
.bundle-card > :not(.btn) {
  grid-column: 1;
}
.bundle-card > .btn {
  grid-column: 2;
  grid-row: 1 / span 4;
}
.pricing-card-head h3 {
  margin: 0.7rem 0 0;
  font: 450 clamp(1.5rem, 2.4vw, 2.2rem)/1.1 var(--sans);
  letter-spacing: -0.035em;
}
.bill-badge {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font: 600 0.62rem/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.bundle-figure {
  margin: 0;
  color: var(--ink-soft);
}
.bundle-figure-num {
  margin-right: 0.35rem;
  color: var(--accent-soft);
  font: 500 1.6rem/1 var(--sans);
  letter-spacing: -0.03em;
}
.bundle-eq {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
  margin: 0;
}
.bundle-chip {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.82rem;
}
.bundle-plus {
  color: var(--accent);
}
.bundle-text {
  max-width: 40rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ---------- GYIK ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  align-items: start;
  gap: 3rem clamp(2rem, 5vw, 5rem);
}
.faq-head {
  position: sticky;
  top: calc(var(--hdr-h) + 2rem);
}
.faq-head .sec-title {
  margin: 1.3rem 0 1.4rem;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
}
.faq-cta {
  margin: 1.6rem 0 0;
  font-size: 0.95rem;
}
.faq-cta a {
  font-weight: 600;
  text-decoration-color: rgba(139, 48, 174, 0.55);
  text-underline-offset: 3px;
}
.faq-list {
  border-bottom: 1px solid rgba(24, 21, 33, 0.14);
}
.faq-item {
  border-top: 1px solid rgba(24, 21, 33, 0.14);
}
.faq-item summary {
  position: relative;
  display: block;
  padding: 1.35rem 3.4rem 1.35rem 0;
  font: 500 clamp(1.08rem, 1.5vw, 1.3rem)/1.3 var(--sans);
  letter-spacing: -0.015em;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 2.2rem;
  height: 2.2rem;
  margin-top: -1.1rem;
  border: 1px solid rgba(24, 21, 33, 0.22);
  border-radius: 50%;
  background: linear-gradient(var(--cream-ink), var(--cream-ink)) center / 0.8rem 1.5px no-repeat, linear-gradient(var(--cream-ink), var(--cream-ink)) center / 1.5px 0.8rem no-repeat;
  transition: transform 0.45s var(--ease), background-color 0.3s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  background-color: rgba(185, 79, 224, 0.14);
}
.faq-item summary:focus-visible {
  outline: 2px solid #8b30ae;
  outline-offset: 4px;
}
.faq-answer p {
  max-width: 42rem;
  margin: 0;
  padding: 0 3.4rem 1.5rem 0;
  color: var(--cream-muted);
}
html.js-motion .faq-item[open] .faq-answer {
  animation: fg-faq 0.5s var(--ease);
}
@keyframes fg-faq {
  from {
    opacity: 0;
    transform: translateY(-0.4rem);
  }
}

/* ---------- Kapcsolat: lila lap ---------- */
.sheet--accent {
  background: var(--accent);
  color: var(--on-accent);
}
.sheet--accent .label {
  color: var(--on-accent);
}
.sheet--accent .label-dot {
  background: var(--on-accent);
  box-shadow: 0 0 0 4px rgba(24, 21, 33, 0.18);
}
.sheet--accent .acc {
  color: var(--cream);
}
.contact .sheet-in {
  padding-bottom: clamp(4.5rem, 9vw, 8rem);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: start;
  gap: 3rem clamp(2rem, 5vw, 5rem);
}
.contact .sec-title {
  margin: 1.3rem 0 1.6rem;
  font-size: clamp(3rem, 7vw, 6.6rem);
}
.contact-lead {
  max-width: 32rem;
  margin: 0;
  font-size: 1.05rem;
}
.contact-details {
  display: grid;
  gap: 0.9rem;
  margin: 2.2rem 0 0;
  padding: 1.6rem 0 0;
  border-top: 1px solid rgba(24, 21, 33, 0.25);
  list-style: none;
}
.contact-details li {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
}
.contact-label {
  font: 600 0.64rem/1.2 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.contact-details a {
  font-weight: 600;
  text-underline-offset: 3px;
}
.contact-form {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-radius: clamp(20px, 2.4vw, 30px);
  background: var(--cream);
  color: var(--cream-ink);
  box-shadow: 0 40px 80px -40px rgba(24, 21, 33, 0.6);
}
.form-row {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.form-row label {
  font-weight: 600;
  font-size: 0.84rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(24, 21, 33, 0.2);
  border-radius: 12px;
  background: #fff;
  color: var(--cream-ink);
  font: 400 1rem/1.4 var(--sans);
}
.form-row textarea {
  resize: vertical;
  min-height: 8rem;
}
.form-row input:focus-visible,
.form-row select:focus-visible,
.form-row textarea:focus-visible {
  outline: 2px solid #8b30ae;
  outline-offset: 1px;
  border-color: transparent;
}
.contact-form .btn {
  margin-top: 0.4rem;
}
.form-note {
  margin: 0.9rem 0 0;
  color: var(--cream-muted);
  font-size: 0.8rem;
}
.form-error {
  margin: 0.9rem 0 0;
  color: #a1213a;
  font-size: 0.86rem;
  font-weight: 600;
}
.form-error a {
  color: inherit;
}
.form-success {
  padding: 1.2rem 0 0.6rem;
}
.form-success:focus {
  outline: none;
}
.form-success-title {
  margin: 0 0 0.6rem;
  font: italic 400 clamp(2rem, 4vw, 2.8rem)/1.05 var(--serif);
}
.form-success-title .acc {
  color: #8b30ae;
}
.form-success p:last-child {
  margin: 0;
  color: var(--cream-muted);
}

/* ---------- Lábléc: a Kapcsolat alól tűnik elő ---------- */
.footer {
  position: relative;
  z-index: 0;
  margin-top: calc(-1 * var(--sheet-r));
  padding-top: var(--sheet-r);
  background: #0d0b12;
  color: var(--ink);
  overflow: clip;
}
.footer-in {
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) 1.5rem;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) auto;
  align-items: start;
  gap: 2rem 3rem;
}
.footer-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 0.2rem 0.6rem;
}
.footer-brand p {
  grid-column: 1 / -1;
  max-width: 22rem;
  margin: 0.8rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 0.6rem 2.5rem;
}
.footer-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.footer-nav a:hover {
  color: var(--ink);
}
.footer-giant {
  margin: clamp(2.5rem, 6vw, 5rem) 0 0;
  font: italic 400 clamp(4.4rem, 20.5vw, 19.5rem)/0.82 var(--serif);
  letter-spacing: -0.025em;
  white-space: nowrap;
  background: linear-gradient(180deg, var(--ink) 30%, rgba(185, 79, 224, 0.85));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2.5rem;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}
.footer-bottom p {
  margin: 0;
}
.to-top {
  position: fixed;
  right: calc(var(--gutter) * 0.6);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 1.2rem);
  z-index: 40;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-accent);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.6rem);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.to-top svg {
  width: 1.1rem;
  height: 1.1rem;
}
.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
/* script.js: amíg ez a 600 px magas jelző látszik, a to-top gomb rejtve marad (IntersectionObserver) */
.to-top-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 600px;
  pointer-events: none;
  visibility: hidden;
}

/* ---------- Új szekciók: tablet és telefon ---------- */
@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer-cta {
    grid-column: 1 / -1;
    justify-self: start;
  }
}
@media (max-width: 960px) {
  .steps-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2.6rem;
  }
  .steps-track {
    display: none;
  }
  .about-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .about-media {
    aspect-ratio: 16 / 10;
  }
  .faq-head {
    position: static;
  }
  .calc-body:has(> .calc-summary:not([hidden])) {
    grid-template-columns: minmax(0, 1fr);
  }
  .calc-summary {
    position: static;
  }
  .calc-mini:not([hidden]) {
    position: sticky;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 0.75rem);
    z-index: 6;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.2rem 3.4rem 0 0;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    background: var(--ink);
    color: var(--on-accent);
    text-decoration: none;
    font-size: 0.9rem;
    box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.6);
    transition: opacity 0.3s;
  }
  .calc.is-summary-visible .calc-mini {
    opacity: 0;
    pointer-events: none;
  }
  .calc-mini-label {
    margin-right: 0.35rem;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .bundle-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .bundle-card > .btn {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
}
@media (max-width: 760px) {
  .steps-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .step {
    padding: 0 0 0 2.2rem;
  }
  .step-dot {
    top: 0.1rem;
  }
  .step-title {
    margin-top: 0.6rem;
  }
  .about-points {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
  }
  .choice-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-details li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.2rem;
  }
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-bottom {
    flex-direction: column;
  }
}

/* ---------- Tablet / telefon ---------- */
@media (max-width: 1100px) {
  .hero-copy {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-side {
    grid-column: 1;
    grid-row: 3;
    max-width: 30rem;
    padding: 1.6rem 0 0;
  }
  .hero-title {
    font-size: min(10vw, 8rem, 14svh);
  }
}
@media (max-width: 860px) {
  .works-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .work--row {
    grid-column: 1;
  }
  .work--row .work-in {
    display: block;
  }
  .work--row .work-cap {
    margin-top: 1.5rem;
  }
}
@media (max-width: 960px) {
  .sec-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
  }
  .svc-row {
    grid-template-columns: 3.6rem minmax(0, 1fr) 3rem;
    row-gap: 1.1rem;
  }
  .svc-tags {
    grid-column: 2 / -1;
    grid-row: 2;
  }
  .svc-ico {
    grid-column: 3;
    grid-row: 1;
  }
  .svc-detail {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 5.6rem;
  }
  .svc-visual {
    min-height: 0;
  }
  .why-side {
    width: min(26vw, 40svh);
  }
  .why-tag-t {
    max-width: 9em;
  }
  .good-toast {
    display: none;
  }
  .wall-in {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }
  .wall-visual {
    position: relative;
    order: -1;
    width: auto;
    height: clamp(20rem, 70vw, 34rem);
    margin: calc(-1 * clamp(4.5rem, 9vw, 8rem)) calc(-1 * var(--gutter)) 2.5rem;
    -webkit-mask: linear-gradient(180deg, #000 62%, rgba(0, 0, 0, 0));
    mask: linear-gradient(180deg, #000 62%, rgba(0, 0, 0, 0));
  }
  .wall-plane {
    top: -40%;
    left: -6%;
    width: 112%;
    height: 190%;
    gap: 0.9rem;
  }
  .wall-track {
    gap: 0.9rem;
  }
  @keyframes wall-up {
    to {
      transform: translate3d(0, calc(-50% - 0.45rem), 0);
    }
  }
  @keyframes wall-down {
    from {
      transform: translate3d(0, calc(-50% - 0.45rem), 0);
    }
    to {
      transform: translate3d(0, 0, 0);
    }
  }
  .hero-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-badges {
    justify-content: flex-start;
  }
}
@media (max-width: 760px) {
  :root {
    --hdr-h: 4rem;
  }
  .brand-name {
    font-size: 1.45rem;
  }
  .br-wide {
    display: none;
  }
  .hero-in {
    padding-top: calc(var(--hdr-h) + env(safe-area-inset-top, 0px) + 2.2rem);
  }
  .hero-in::before {
    top: 70%;
  }
  .hero-title {
    font-size: min(15.5vw, 4.6rem);
    line-height: 1;
  }
  .hero-actions .btn-light {
    flex: 1;
    justify-content: space-between;
  }
  .hero-actions .btn-line {
    display: none;
  }
  .hero-bar {
    gap: 1.1rem;
    padding-bottom: 1.2rem;
  }
  .hero-stats {
    width: 100%;
    justify-content: space-between;
    gap: 1rem;
  }
  .hero-stats dt {
    font-size: 0.56rem;
    letter-spacing: 0.16em;
  }
  .hero-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 1rem;
  }
  .hero-badges li {
    font-size: 0.72rem;
  }
  .svc-row {
    grid-template-columns: 2.2rem minmax(0, 1fr) 2.6rem;
    column-gap: 0.8rem;
  }
  .svc-num {
    padding-top: 0.55rem;
    font-size: 0.66rem;
  }
  .svc-title {
    font-size: clamp(1.7rem, 7.6vw, 2.4rem);
  }
  .svc-row:hover .svc-dot,
  .svc.is-open .svc-dot {
    width: 0.4rem;
    height: 0.4rem;
    margin-right: 0.6rem;
  }
  .svc-ico {
    width: 2.6rem;
    height: 2.6rem;
  }
  .svc-tags li {
    padding: 0.42rem 0.75rem;
    font-size: 0.8rem;
  }
  .svc-detail {
    gap: 1.8rem;
    padding-left: 3rem;
  }
  .svc-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 1.6rem;
  }
  .svc-facts div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-top-color: rgba(185, 79, 224, 0.45);
  }
  .svc-facts dd {
    margin: 0;
    text-align: right;
  }
  .why-stage {
    align-items: start;
    padding-top: calc(var(--hdr-h) + 6rem);
  }
  .why-list {
    margin-top: 1rem;
  }
  .why-item p {
    font-size: 0.86rem;
  }
  .why-tag {
    top: calc(var(--hdr-h) + 1.2rem);
  }
  .why-tag-t {
    font-size: 1.12rem;
  }
  .why-side {
    top: auto;
    bottom: -36svh;
    width: min(46vw, 15rem);
  }
  .why-side--without {
    left: -14vw;
  }
  .why-side--with {
    right: -14vw;
  }
  .good-toast {
    display: none;
  }
  .why-item {
    padding: 0.6rem 0.8rem;
    background: rgba(243, 240, 234, 0.86);
  }
  .work-cap {
    grid-template-columns: 2.2rem minmax(0, 1fr);
    column-gap: 0.6rem;
  }
  .work-sub,
  .work-note,
  .work-desc {
    margin-left: 2.8rem;
  }
  .work-facts {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Csökkentett mozgás ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
}
.footer-legal a {
  color: var(--muted);
  text-decoration: none;
}
.footer-legal a:hover {
  color: var(--ink);
}
