/* ==========================================================================
   Zaccord — főoldal
   Csak a home.ejs tölti be. A közös keret (fejléc, lábléc, gombok) a
   site.css-ből jön; itt a főoldal saját szakaszai és a keret finomhangolása
   áll, mindig a `.zc-home` törzs alatt, hogy más lapra ne szivárogjon át.

   ELVEK
   - Világos lap, sötét szöveg, egy hangsúlyszín (a Zaccord-kék mélyebb
     árnyalata, hogy fehéren is 4,5:1 fölött maradjon).
   - VÁLTAKOZÓ RITMUS: a szolgáltatási sávok hol balra, hol jobbra teszik a
     képet, és a szakaszok háttere is vált (fehér → sötét → fehér → homok →
     kék). Ettől lesz élmény görgetni, nem a mozgástól.
   - MINDEN KÉP KERETBEN ÁLL. A `.zh-frame` rögzített oldalaránnyal és
     `object-fit: cover`-rel dolgozik, tehát a fotó SOHA nem torzul, és a
     magassága sem ugrál betöltés közben.
   - EGYETLEN KÉP SEM ÉR A KÉPERNYŐ SZÉLÉIG. A rétegzett kompozíciók (a nagy
     kép fölé lógó kis kép) a saját dobozukon belül maradnak: a kilógást
     belső térköz adja, nem negatív pozíció a tartalmi sávon kívülre.
   - Mozgás csak annyi, ami a figyelmet vezeti: egy finom felúszás
     betöltéskor és görgetéskor, és a képek lassú közelítése egérrel.
     A `prefers-reduced-motion` mindent kikapcsol.
   ========================================================================== */

.zc-home {
  --zh-ink: #14181f;
  --zh-ink-2: #3d4553;
  --zh-slate: #5c6573;
  --zh-line: #e4e6ea;
  --zh-line-strong: #cfd3d9;
  --zh-blue: #1f4fd6;
  --zh-blue-deep: #173fae;
  --zh-blue-soft: #edf2ff;
  --zh-blue-line: #c7d6fb;
  --zh-sand: #f6f4f0;
  --zh-sand-line: #e7e3dc;
  /* A folyamatábra sötét sávja - a lap egyetlen kontrasztos blokkja. */
  --zh-night: #12161d;
  --zh-night-line: rgba(255, 255, 255, 0.16);
  --zh-radius: 18px;
  --zh-radius-sm: 12px;
  --zh-gutter: 32px;
  --zh-section: 120px;
  --zh-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --zc-container: 1280px;
  background: #fff;
  color: var(--zh-ink);
}

.zc-home .zc-container { padding-inline: var(--zh-gutter); }
.zc-home :focus-visible { outline: 3px solid var(--zh-blue); outline-offset: 4px; border-radius: 4px; }

/* A FEJLÉC INNEN ELKÖLTÖZÖTT — a site.css-be, egyetlen közös leírásba.

   Ami itt állt (magasság, logóméret, betűméret, kék, záróvonal, 44 px-es
   érintőfelületek), az szóról szóra ugyanazt mondta, mint a print.css és a prototype.css
   párja — csak más tokenekkel, tehát MÁS SZÍNNEL. Három ilyen másolat volt,
   és emiatt nézett ki a fejléc háromféleképpen. Egy későbbi fejlécmódosítás
   így már egy helyen történik. */
/* --- Közös építőelemek ---------------------------------------------------- */

.zh-main { flex: 1; }
.zh-main h1, .zh-main h2, .zh-main h3 { color: var(--zh-ink); margin: 0; }
.zh-main h2 { font-size: clamp(34px, 3.6vw, 52px); font-weight: 500; line-height: 1.08; letter-spacing: -0.025em; }
.zh-main h3 { font-weight: 500; }
.zh-main p { margin: 0; }

.zh-eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--zh-blue);
}

.zh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.zh-btn-primary { background: var(--zh-blue); color: #fff; }
.zh-btn-primary:hover { background: var(--zh-blue-deep); color: #fff; }
.zh-btn-ghost { background: #fff; border-color: var(--zh-line-strong); color: var(--zh-ink); }
.zh-btn-ghost:hover { border-color: var(--zh-ink); color: var(--zh-ink); }
.zh-btn-light { background: #fff; color: var(--zh-blue); }
.zh-btn-light:hover { background: #e9efff; color: var(--zh-blue-deep); }
.zh-arrow { width: 18px; height: 18px; flex: 0 0 18px; transition: transform 0.25s var(--zh-ease); }
.zh-btn:hover .zh-arrow, .zh-link:hover .zh-arrow { transform: translateX(4px); }

.zh-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--zh-ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 6px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.zh-link:hover { color: var(--zh-blue); text-decoration-color: currentColor; }
.zh-link-light { color: #fff; }
.zh-link-light:hover { color: #fff; }

.zh-section { padding: var(--zh-section) 0; }
.zh-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 64px;
  margin-bottom: 64px;
}
.zh-section-head > div:first-child { flex: 1 1 auto; min-width: 0; }
.zh-section-aside { flex: 0 1 420px; display: grid; gap: 6px; justify-items: start; }
.zh-section-lede { font-size: 17px; line-height: 1.6; color: var(--zh-ink-2); }
.zh-note { font-size: 14px; color: var(--zh-slate); }

/* --- Képkeret: EGY hely, ahol az arány és a vágás eldől -------------------- */

.zh-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--zh-radius);
  background: var(--zh-sand);
}
.zh-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* --- Nyitókép ------------------------------------------------------------- */

.zh-hero { padding: 72px 0 0; }
.zh-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.zh-hero h1 {
  font-size: clamp(44px, 4.8vw, 68px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
}
/* A hangsúlyos tagmondat saját sorban áll, hogy a "Mi" ne lógjon árván a sor végén. */
.zh-hero h1 em { font-style: normal; color: var(--zh-blue); display: block; }
.zh-lede { font-size: 19px; line-height: 1.6; color: var(--zh-ink-2); max-width: 46ch; margin: 0 0 36px; }
.zh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; }
.zh-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  list-style: none;
  margin: 40px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--zh-line);
  font-size: 14px;
  color: var(--zh-slate);
}
.zh-hero-facts strong { color: var(--zh-ink); font-weight: 500; }

/*
  A médiaoszlop saját doboza. A felső-jobb belső térköz adja a helyet a kép
  mögé csúszó rácsvonalas lapnak. Semmi nem lép ki a dobozból, tehát a
  tartalmi sáv margója érintetlen. (Kis kép 2026-09-26 óta nincs a sarokban.)
*/
.zh-hero-media { position: relative; padding: 24px 24px 0 0; }
.zh-hero-figure { position: relative; margin: 0; }
/*
  Rétegvonalak a kép mögött: a nyomtatás motívuma, nem dísz a dísz kedvéért.
  A magasságát az `aspect-ratio` adja, nem százalék - így a lap akkor is a
  fotó mögött marad, ha a felirat két sorba törik.
*/
.zh-hero-figure::before {
  content: '';
  position: absolute;
  top: -24px;
  right: -24px;
  left: 64px;
  aspect-ratio: 5 / 3.4;
  border-radius: var(--zh-radius);
  background: repeating-linear-gradient(180deg, var(--zh-blue-line) 0 1px, transparent 1px 9px);
  opacity: 0.6;
}
.zh-frame-hero { position: relative; aspect-ratio: 5 / 4; }
/*
  A kép maga is kb. 5:4-es, tehát itt alig vágunk. A tárgyak a kép alsó
  kétharmadában állnak, felül üres háttér van - a laposabb (16:10) kereten ezért
  felülről vész el a sáv, és minden tárgy bent marad.
*/
.zh-frame-hero > img { object-position: 50% 85%; }

/* --- Szolgáltatások: váltakozó, aszimmetrikus sávok ------------------------ */

.zh-offer-list { display: grid; gap: 132px; }
.zh-offer {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 0 76px;
  align-items: center;
}
.zh-offer-media { grid-column: 1; grid-row: 1; min-width: 0; }
.zh-offer-body { grid-column: 2; grid-row: 1; min-width: 0; }
/* A tükrözött sávban a kép a MÁSIK oldalra kerül - ettől váltakozik a ritmus. */
.zh-offer-flip .zh-offer-media { grid-column: 2; }
.zh-offer-flip .zh-offer-body { grid-column: 1; }

.zh-offer-figure { position: relative; margin: 0; }
.zh-frame-offer { aspect-ratio: 4 / 3; }
.zh-offer-figure .zh-frame > img { transition: transform 0.9s var(--zh-ease); }
.zh-offer:hover .zh-offer-figure .zh-frame > img { transform: scale(1.03); }

.zh-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.93);
  color: var(--zh-ink);
  font-family: var(--zc-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1;
}

/*
  A kis kép NORMÁL FOLYAMBAN áll, negatív felső térközzel csúszik a nagy kép
  fölé. Így a hozzá tartozó felirat mindig alatta marad, bármilyen hosszú -
  abszolút pozíciónál a hosszú felirat ráfolyna a fotóra.
*/
.zh-offer-inset { position: relative; z-index: 2; width: min(50%, 272px); margin: -76px 10px 0 auto; }
.zh-offer-flip .zh-offer-inset { margin-left: 10px; margin-right: auto; }
.zh-offer-inset .zh-frame {
  aspect-ratio: 4 / 3.2;
  border: 6px solid #fff;
  border-radius: 16px;
  box-shadow: 0 22px 46px -26px rgba(18, 22, 29, 0.55);
  transform: rotate(2deg);
}
.zh-offer-flip .zh-offer-inset .zh-frame { transform: rotate(-2deg); }

/* Vágás képenként: a lényeg maradjon a keretben. */
.zh-offer-fdm .zh-frame-offer > img { object-position: 42% 50%; }
.zh-offer-fdm .zh-offer-inset img { object-position: 50% 50%; }
.zh-offer-sla .zh-frame-offer > img { object-position: 62% 50%; }
.zh-offer-prototipus .zh-frame-offer > img { object-position: 52% 52%; }
.zh-offer-prototipus .zh-offer-inset img { object-position: 50% 54%; }

.zh-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--zh-slate);
}
.zh-kicker span { font-family: var(--zc-mono); font-size: 13px; color: var(--zh-blue); letter-spacing: 0; }
.zh-offer h3 { font-size: clamp(28px, 2.7vw, 38px); letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 16px; }
.zh-offer-lede { font-size: 17px; line-height: 1.65; color: var(--zh-ink-2); max-width: 50ch; }

.zh-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 30px 0 0;
  border-top: 1px solid var(--zh-line);
}
.zh-specs > div { padding: 16px 0; border-bottom: 1px solid var(--zh-line); min-width: 0; }
.zh-specs > div:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--zh-line); }
.zh-specs > div:nth-child(even) { padding-left: 24px; }
.zh-specs dt { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--zh-slate); margin-bottom: 6px; }
.zh-specs dd { margin: 0; font-size: 16px; line-height: 1.4; color: var(--zh-ink); }
.zh-specs dd.zh-spec-price { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.zh-specs dd.zh-spec-num { font-family: var(--zc-mono); font-size: 15px; }
.zh-specs-note { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--zh-slate); max-width: 60ch; }

.zh-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.zh-points li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.5; color: var(--zh-ink); }
.zh-points li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 4px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--zh-blue);
  border-bottom: 2px solid var(--zh-blue);
  transform: rotate(-45deg);
}
.zh-offer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }

.zh-offer-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 32px;
  margin-top: 88px;
  padding-top: 28px;
  border-top: 1px solid var(--zh-line);
}
.zh-offer-foot p { flex: 1 1 320px; font-size: 14px; color: var(--zh-slate); }

/* --- Folyamatábra (sötét sáv) --------------------------------------------- */

.zh-process { background: var(--zh-night); color: #fff; }
.zh-process h2, .zh-process h3 { color: #fff; }
.zh-process .zh-eyebrow { color: #93b0ff; }
.zh-process .zh-section-lede { color: rgba(255, 255, 255, 0.72); }
.zh-process .zh-link { color: #fff; }
.zh-process .zh-link:hover { color: #93b0ff; }
.zh-process .zh-note { color: rgba(255, 255, 255, 0.6); padding-top: 26px; border-top: 1px solid var(--zh-night-line); }
.zh-process :focus-visible { outline-color: #93b0ff; }

.zh-flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 56px;
  padding: 0;
  margin: 0 0 44px;
}
.zh-flow-step { position: relative; min-width: 0; }
.zh-flow-node {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  border: 1px solid var(--zh-night-line);
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}
.zh-flow-icon { width: 36px; height: 36px; color: #fff; }
.zh-flow-num {
  position: absolute;
  top: -11px;
  right: -11px;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--zh-blue);
  color: #fff;
  font-family: var(--zc-mono);
  font-size: 12px;
  line-height: 28px;
  text-align: center;
}
.zh-flow-tag {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--zh-night-line);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.zh-flow h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; margin: 0 0 10px; }
.zh-flow-text { font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, 0.7); }
/*
  Az összekötő nyíl a csomópont JOBB SZÉLÉTŐL a következő csomópontig fut, nem
  csak a rács hézagában - így látszik, hogy a két állomás összetartozik. Az
  utolsó lépésre nem kerül nyíl: onnan már nem mutat tovább.
*/
.zh-flow-arrow { position: absolute; color: rgba(255, 255, 255, 0.52); }
.zh-flow-arrow-h { top: 28px; left: 94px; right: -44px; height: 20px; }
.zh-flow-arrow-v { display: none; }

/* --- Amire számíthatsz ---------------------------------------------------- */

.zh-trust-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.zh-trust-list li { border-top: 1px solid var(--zh-line-strong); padding-top: 24px; min-width: 0; }
.zh-trust-icon { width: 28px; height: 28px; color: var(--zh-blue); display: block; margin-bottom: 20px; }
.zh-trust-list h3 { font-size: 20px; margin: 0 0 10px; }
.zh-trust-list p { font-size: 15px; line-height: 1.65; color: var(--zh-ink-2); }
.zh-mini { margin: 0; display: grid; gap: 12px; }
.zh-mini dt { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--zh-slate); margin-bottom: 4px; }
.zh-mini dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--zh-ink-2); }

/* --- Segítség ------------------------------------------------------------- */

.zh-help { background: var(--zh-sand); border-top: 1px solid var(--zh-sand-line); padding: 88px 0; }
.zh-help-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 48px 56px; align-items: start; }
.zh-help h2 { margin-bottom: 14px; }
.zh-help-lede { font-size: 16px; line-height: 1.6; color: var(--zh-ink-2); max-width: 38ch; }
.zh-help h3 { font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--zh-slate); margin: 6px 0 8px; }
.zh-help-links { list-style: none; padding: 0; margin: 0; }
.zh-help-links li { border-bottom: 1px solid var(--zh-sand-line); }
.zh-help-links li:first-child { border-top: 1px solid var(--zh-sand-line); }
.zh-help-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 8px 2px;
  color: var(--zh-ink);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}
.zh-help-links a:hover { color: var(--zh-blue); }
.zh-help-links .zh-arrow { color: var(--zh-slate); }
.zh-help-links a:hover .zh-arrow { color: inherit; transform: translateX(4px); }

/* --- Záró felhívás -------------------------------------------------------- */

.zh-cta { position: relative; overflow: hidden; background: var(--zh-blue); color: #fff; padding: 104px 0; }
.zh-cta::before {
  content: '';
  position: absolute;
  inset: 0 0 0 55%;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 10px);
  mask-image: linear-gradient(90deg, transparent, #000 40%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%);
  pointer-events: none;
}
.zh-cta-inner { position: relative; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 40px 48px; }
.zh-cta .zh-eyebrow { color: #cfdcff; }
.zh-cta h2 { color: #fff; font-size: clamp(36px, 4.2vw, 60px); }
.zh-cta p { color: #e3ebff; font-size: 18px; margin: 16px 0 0; }
.zh-cta .zh-actions { gap: 14px 28px; }
.zh-cta :focus-visible { outline-color: #fff; }

/* --- Lábléc a főoldalon --------------------------------------------------- */

.zc-home .zc-footer { background: #fff; border-top: 1px solid var(--zh-line); padding: 64px 0 28px; }
.zc-home .zc-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 0.9fr 1.1fr; gap: 32px; }
.zc-home .zc-footer-brand p { max-width: 30ch; font-size: 14px; margin-top: 18px; line-height: 1.7; }
.zc-home .zc-footer h3 { font-size: 11px; letter-spacing: 0.12em; font-weight: 500; color: var(--zh-slate); }
.zc-home .zc-footer li a, .zc-home .zc-social a { display: inline-flex; align-items: center; min-height: 32px; font-size: 14px; }
.zc-home .zc-footer a:hover { color: var(--zh-blue); }
.zc-home .zc-social { gap: 16px; flex-wrap: wrap; }
.zc-home .zc-footer-bottom { margin-top: 48px; font-size: 13px; }

/* --- Mozgás --------------------------------------------------------------- */

@keyframes zh-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .zh-hero-copy > * { animation: zh-rise 0.7s var(--zh-ease) both; }
  .zh-hero-copy > :nth-child(2) { animation-delay: 0.05s; }
  .zh-hero-copy > :nth-child(3) { animation-delay: 0.1s; }
  .zh-hero-copy > :nth-child(4) { animation-delay: 0.15s; }
  .zh-hero-copy > :nth-child(5) { animation-delay: 0.2s; }
  .zh-hero-media { animation: zh-rise 0.9s var(--zh-ease) 0.1s both; }

  /* Görgetéshez kötött felúszás - JavaScript nélkül, csak ahol a böngésző tudja. */
  @supports (animation-timeline: view()) {
    .zh-reveal {
      animation: zh-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .zc-home *, .zc-home *::before, .zc-home *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* --- Tablet --------------------------------------------------------------- */

@media (max-width: 1100px) {
  .zc-home { --zh-section: 96px; --zh-gutter: 28px; }
  .zh-hero-grid { gap: 44px; }
  .zh-hero h1 { font-size: clamp(42px, 5.6vw, 64px); }
  .zh-lede { font-size: 17px; }
  .zh-section-aside { flex-basis: 340px; }

  .zh-offer-list { gap: 104px; }
  .zh-offer { gap: 0 44px; }
  .zh-offer-inset { width: min(54%, 236px); margin-top: -64px; }
  .zh-specs > div:nth-child(odd) { padding-right: 18px; }
  .zh-specs > div:nth-child(even) { padding-left: 18px; }

  /*
    A FOLYAMATÁBRA FÜGGŐLEGESSÉ VÁLIK. Két hasábban a 2→3 nyíl a sor végéről
    mutatna a semmibe, ezért itt nincs köztes állapot: egy idővonal lesz
    belőle, lefelé mutató nyilakkal.
  */
  .zh-flow { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .zh-flow-step { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 26px; padding-bottom: 44px; }
  .zh-flow-node { margin-bottom: 0; }
  /* A sorhossz korlátja: egy hasábban a szöveg különben a teljes szélességet
     kitöltené, és 1024 px-en 90 karakteres sorokká nyúlna. */
  .zh-flow-copy { grid-column: 2; padding-top: 4px; max-width: 62ch; }
  /* Függőleges elrendezésben a lefelé mutató nyíl a csomópontok oszlopában áll. */
  .zh-flow-arrow-h { display: none; }
  .zh-flow-arrow-v { display: block; top: 88px; left: 26px; right: auto; width: 24px; height: 60px; }

  .zh-trust-list { gap: 32px; }
  .zh-help-grid { grid-template-columns: 1fr 1fr; }
  .zh-help-grid > div:first-child { grid-column: 1 / -1; }
  .zc-home .zc-footer-grid { grid-template-columns: repeat(4, 1fr); }
  .zc-home .zc-footer-brand { grid-column: 1 / -1; }
  .zc-home .zc-footer-brand p { max-width: 60ch; }
}

@media (max-width: 900px) {
  .zc-home { --zh-section: 80px; }
  .zh-hero { padding-top: 48px; }
  .zh-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .zh-hero-copy { max-width: 620px; }
  .zh-hero-media { padding: 20px 20px 0 0; }
  .zh-hero-figure::before { top: -20px; right: -20px; left: 56px; aspect-ratio: 16 / 8.4; }
  .zh-frame-hero { aspect-ratio: 16 / 10; }
  .zh-section-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 44px; }
  .zh-section-aside { flex-basis: auto; }

  /* Egy hasáb: a kép kerül felülre, a szöveg alá. A tükrözés itt már nem
     látszana, ezért a rácspozíciókat vissza kell állítani. */
  .zh-offer { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .zh-offer-media, .zh-offer-body,
  .zh-offer-flip .zh-offer-media, .zh-offer-flip .zh-offer-body { grid-column: 1; grid-row: auto; }
  .zh-offer-list { gap: 88px; }
  .zh-offer-inset { width: min(46%, 220px); margin-top: -58px; }
  .zh-offer-foot { margin-top: 64px; }

  .zh-trust-list { grid-template-columns: 1fr 1fr; }
  .zh-trust-list li:last-child { grid-column: 1 / -1; }
  .zh-help { padding: 72px 0; }
  .zh-cta { padding: 80px 0; }
  .zh-cta-inner { flex-direction: column; align-items: flex-start; }
  .zc-home .zc-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* --- Telefon -------------------------------------------------------------- */

@media (max-width: 640px) {
  .zc-home { --zh-section: 64px; --zh-gutter: 20px; --zh-radius: 14px; }

  .zh-hero { padding-top: 34px; }
  .zh-hero-grid { gap: 34px; }
  .zh-hero h1 { font-size: clamp(38px, 10.5vw, 50px); letter-spacing: -0.03em; margin-bottom: 20px; }
  .zh-lede { font-size: 16px; margin-bottom: 26px; }
  .zh-actions { gap: 10px; }
  .zh-hero .zh-actions .zh-btn, .zh-cta .zh-btn { width: 100%; }
  .zh-hero-facts { gap: 8px 20px; margin-top: 28px; padding-top: 20px; font-size: 13px; }
  .zh-hero-media { padding: 14px 14px 0 0; }
  .zh-hero-figure::before { top: -14px; right: -14px; left: 44px; aspect-ratio: 4 / 2.6; }
  .zh-frame-hero { aspect-ratio: 4 / 3.2; }

  .zh-main h2 { font-size: clamp(30px, 8.4vw, 36px); }
  .zh-section-lede { font-size: 16px; }
  .zh-section-head { margin-bottom: 34px; }

  .zh-offer-list { gap: 72px; }
  .zh-offer { gap: 26px; }
  .zh-offer h3 { font-size: 28px; }
  .zh-offer-lede { font-size: 16px; }
  .zh-frame-offer { aspect-ratio: 4 / 3.1; }
  .zh-offer-inset { width: 50%; max-width: 168px; margin-top: -48px; margin-right: 4px; }
  .zh-offer-flip .zh-offer-inset { margin-left: 4px; }
  .zh-offer-inset .zh-frame { border-width: 5px; }
  .zh-badge { top: 12px; left: 12px; padding: 7px 12px; font-size: 11px; }
  /* Kis kijelzőn a négy adat egymás alatt olvasható, nem két szűk hasábban. */
  .zh-specs { grid-template-columns: 1fr; }
  .zh-specs > div:nth-child(odd) { padding-right: 0; border-right: 0; }
  .zh-specs > div:nth-child(even) { padding-left: 0; }
  .zh-offer-actions { margin-top: 26px; }
  .zh-offer-actions .zh-btn { width: 100%; }
  .zh-offer-foot { gap: 4px 24px; }

  .zh-flow-step { grid-template-columns: 62px minmax(0, 1fr); column-gap: 18px; padding-bottom: 36px; }
  .zh-flow-node { width: 62px; height: 62px; border-radius: 18px; }
  .zh-flow-icon { width: 30px; height: 30px; }
  .zh-flow-num { min-width: 25px; height: 25px; line-height: 25px; top: -9px; right: -9px; font-size: 11px; }
  .zh-flow h3 { font-size: 19px; }
  .zh-flow-arrow-v { top: 74px; left: 19px; height: 52px; }

  .zh-trust-list { grid-template-columns: 1fr; gap: 28px; }
  .zh-help { padding: 56px 0; }
  .zh-help-grid { grid-template-columns: 1fr; gap: 32px; }
  .zh-cta { padding: 64px 0; }
  .zh-cta h2 { font-size: clamp(32px, 9vw, 40px); }
  .zh-cta p { font-size: 16px; }
  .zc-home .zc-footer { padding-top: 48px; }
  .zc-home .zc-footer-grid { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .zc-home .zc-footer-grid > div:last-child { grid-column: 1 / -1; }
  .zc-home .zc-footer li a, .zc-home .zc-social a { min-height: 40px; }
  .zc-home .zc-footer-bottom { margin-top: 32px; font-size: 12px; }
}

/* --- Referenciák ---------------------------------------------------------
   A főoldali ajánló. UGYANABBÓL az adatból épül, mint a referenciaoldal
   (`references/projects.ts`), csak kompakt előnézetként: borítókép, név,
   rövid összefoglaló, és egy hivatkozás a teljes projektre.

   A RÁCS A PROJEKTEK SZÁMÁHOZ IGAZODIK (`zh-refs-1/2/3`): két referenciával
   sem marad üres hely a harmadik helyén. Ez nem esztétikai apróság — egy
   fantomkártya úgy néz ki, mintha a lap hiányos lenne.
   ------------------------------------------------------------------------ */

.zh-refs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.zh-refs-1 { grid-template-columns: minmax(0, 720px); }
.zh-refs-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.zh-refs-card { min-width: 0; }

/* EGYETLEN LINK A KÁRTYÁN, ami az egészet lefedi: a képernyőolvasó
   linklistájában így a projekt NEVE szerepel, nem három darab „Tovább". */
.zh-refs-link {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  color: inherit;
  text-decoration: none;
  border-radius: var(--zh-radius);
}

.zh-refs-frame {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--zh-radius);
  overflow: hidden;
  background: var(--zh-sand);
  border: 1px solid var(--zh-line);
}

.zh-refs-frame > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.zh-refs-link:hover .zh-refs-frame > img { transform: scale(1.04); }

.zh-refs-link:focus-visible {
  outline: 3px solid var(--zh-blue);
  outline-offset: 4px;
}

.zh-refs-body { display: block; }

.zh-refs-sample {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 10px;
  border: 1px solid #e0d4a8;
  border-radius: 999px;
  background: #fdf7e3;
  color: #7a5c12;
  font-size: 12px;
}

.zh-refs-title {
  display: block;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--zh-ink);
}

.zh-refs-link:hover .zh-refs-title { color: var(--zh-blue); }

.zh-refs-summary {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 8px;
  color: var(--zh-slate);
  font-size: 15.5px;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .zh-refs-list,
  .zh-refs-2,
  .zh-refs-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zh-refs-1 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  /* EGY HASÁB TELEFONON. Két oszlopban a borítókép már olyan kicsi lenne,
     hogy pont azt nem mutatná meg, amiért ott van. */
  .zh-refs-list,
  .zh-refs-1,
  .zh-refs-2,
  .zh-refs-3 { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
