/* ==========================================================================
   Veyro főoldal — stíluslap
   Felépítés: tokenek → alapok → komponensek → szekciók (oldalsorrendben)
   → reszponzív töréspontok → mozgáscsökkentés.
   Töréspontok: 1100px (szűk desktop), 900px (tablet, mobilmenü),
   650px (telefon), 380px (keskeny telefon).
   ========================================================================== */

/* --- Tokenek ------------------------------------------------------------ */
:root {
  /* Munkapaletta (BRAND_FOUNDATION): mélyzöld, grafit, törtfehér */
  --ink: #101414;
  --deep: #0f3d32;
  --paper: #f5f2eb;
  /* Kiegészítő tónusok */
  --deep-2: #092d27;
  --emerald: #2e6b57;
  --sage: #8ca695;
  --sage-light: #9ac5ad;
  /* Kiemelő zöld krém háttéren (kontraszt #F5F2EB-n ~5.6:1) */
  --accent-green: #1f7a58;
  --paper-2: #e9e9df;
  --gold: #d8c497;
  --line: rgba(16, 20, 20, .18);
  --line-light: rgba(245, 242, 235, .22);
  /* Szöveg sötét és világos háttéren */
  --text-muted: #4f5a53;
  --text-muted-dark: #c3d4c9;

  --font-display: "Manrope", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: .2s;
}

/* --- Alapok ------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -.045em;
  overflow-wrap: break-word;
  hyphens: manual;
}
h1 em, h2 em { font-style: normal; color: var(--sage); }

h1 {
  max-width: 780px;
  margin-bottom: 30px;
  font-size: clamp(2.2rem, 5.5vw, 6.2rem);
  line-height: 1.06;
  font-weight: 600;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.4vw, 4.8rem);
  line-height: 1.1;
  font-weight: 600;
}

h3 { font-weight: 600; }

.shell {
  width: min(100% - 72px, 1440px);
  margin-inline: auto;
}

.section { padding: clamp(80px, 10vw, 150px) 0; }
.section--cream { background: var(--paper); }
.section--dark { background: var(--ink); color: var(--paper); }

.skip-link {
  position: absolute;
  z-index: 100;
  left: 12px;
  top: -60px;
  padding: 12px 18px;
  background: #fff;
  color: #000;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
/* Világos háttéren a arany fókuszkeret gyenge, ott mélyzöldet használunk. */
.section--cream :focus-visible,
.team-section :focus-visible,
.conversion-card :focus-visible { outline-color: var(--deep); }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --- Komponensek -------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-family: var(--font-display);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .2em;
  font-weight: 800;
  color: #a4beb1;
}
.dark-eyebrow { color: var(--deep); }
.eyebrow-line { width: 28px; height: 1px; background: var(--gold); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 60px;
  padding: 0 26px;
  background: var(--deep);
  border: 1px solid var(--deep);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.01em;
  text-align: left;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.button:hover { background: var(--emerald); transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button span { font-size: 18px; font-weight: 400; }

.button--small { min-height: 46px; padding: 0 18px; gap: 16px; font-size: 12.5px; }
.button--light { background: var(--paper); color: var(--deep); border-color: var(--paper); }
.button--light:hover { background: #fff; color: var(--ink); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--deep);
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  transition: gap var(--dur) var(--ease);
}
.text-link:hover { gap: 32px; }

/* A jóváhagyott embléma négy síkja ikonként: a kiemelt sík kitöltött. */
.mark-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4px;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.mark-icon[data-plane="1"] path:nth-child(1),
.mark-icon[data-plane="2"] path:nth-child(2),
.mark-icon[data-plane="3"] path:nth-child(3),
.mark-icon[data-plane="4"] path:nth-child(4) { fill: currentColor; }

/* --- Fejléc ------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(16, 20, 20, .94);
  border-bottom-color: rgba(255, 255, 255, .08);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-scrolled { background: rgba(16, 20, 20, .82); backdrop-filter: blur(12px); }
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 24px; height: 30px; }
.brand-mark path { fill: #5f9e80; }
.brand-word { width: 118px; height: auto; }
.brand-word path { fill: var(--paper); }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 38px);
  margin-left: auto;
}
.desktop-nav a {
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
  color: #e9eee9;
  transition: color var(--dur);
}
.desktop-nav a:hover { color: var(--gold); }

.header-cta { background: transparent; border-color: rgba(245, 242, 235, .47); }
.header-cta:hover { border-color: var(--paper); background: var(--paper); color: var(--ink); }

.menu-toggle,
.mobile-menu { display: none; }

/* --- Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 74% 44%, #1b4b3e 0, #0e2925 34%, var(--ink) 72%);
  color: var(--paper);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 4%;
  align-items: center;
  min-height: min(800px, 100svh);
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 72px;
}
.hero-content { position: relative; z-index: 2; min-width: 0; }
/* Rövid, kétsoros főcím: a sortörés a HTML-ben van, a méret ehhez igazodik. */
.hero h1 { max-width: none; font-size: clamp(2.2rem, 4.9vw, 5.4rem); }
.hero h1 em { color: var(--sage-light); }
.hero-lead {
  max-width: 470px;
  margin-bottom: 40px;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.65;
  color: #c8d5ce;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }

/* Board-hangulat: sötét építészeti sík, függőleges fényrés, szintvonalak. */
.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 620px;
  justify-self: end;
  isolation: isolate;
}
.art-contours {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.art-contours path { fill: none; stroke: rgba(196, 220, 204, .13); stroke-width: 1; vector-effect: non-scaling-stroke; }
.art-slab {
  position: absolute;
  top: 6%;
  bottom: 18%;
  left: 58%;
  right: -8%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01));
  border-left: 1px solid rgba(255, 255, 255, .06);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent);
}
.art-slit {
  position: absolute;
  top: 10%;
  bottom: 24%;
  left: 70%;
  width: 2px;
  background: linear-gradient(180deg, transparent, #e7cf9a 30%, #f3e2b8 55%, transparent);
  box-shadow: 0 0 18px 2px rgba(231, 207, 154, .45), 0 0 60px 8px rgba(231, 207, 154, .12);
  opacity: .85;
}
.art-glow {
  position: absolute;
  z-index: -1;
  inset: 16%;
  background: radial-gradient(circle, rgba(173, 201, 145, .2), transparent 65%);
  filter: blur(25px);
}
.hero-mark {
  position: absolute;
  top: 48%;
  left: 44%;
  width: 50%;
  height: auto;
  transform: translate(-50%, -50%);
  overflow: visible;
  filter: drop-shadow(0 34px 60px rgba(0, 0, 0, .45));
}
.hero-mark-edge path { fill: none; stroke: rgba(214, 236, 222, .28); stroke-width: .35; }

.hero-bottom {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(238, 244, 235, .2);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: .18em;
  color: #aac4b5;
}

/* --- 01 Felismerés ------------------------------------------------------ */
.two-col-heading {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 10%;
  align-items: end;
  margin-bottom: 60px;
}
.two-col-heading h2 { max-width: 830px; }
.two-col-heading h2 em,
.process-section h2 em,
.team-section h2 em,
.faq-section h2 em { color: var(--accent-green); }

.section-intro {
  max-width: 400px;
  margin-bottom: 4px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.problem-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 360px;
  padding: 28px 30px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background var(--dur) var(--ease);
}
.problem-card:hover { background: #eceee5; }
.card-index { font-size: 11px; letter-spacing: .15em; color: var(--emerald); font-weight: 700; }
.card-symbol { width: 40px; height: 50px; margin: 28px 0 32px; color: var(--deep); }
.problem-card h3 {
  max-width: 320px;
  margin: 0;
  font-size: clamp(22px, 2.1vw, 29px);
  line-height: 1.22;
  font-weight: 700;
}
.card-copy {
  max-width: 310px;
  margin: 16px 0 0;
  color: #55615b;
  font-size: 15px;
  line-height: 1.6;
}
.card-tag {
  margin-top: auto;
  padding-top: 26px;
  color: var(--emerald);
  font: 800 10px var(--font-display);
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* --- 02 Rendszertérkép -------------------------------------------------- */
.system-section { background: radial-gradient(circle at 80% 55%, #15382f 0, var(--ink) 52%); }
.system-heading { max-width: 900px; margin-bottom: 70px; }
.system-heading h2 { max-width: 850px; }
.system-heading h2 em { color: #9abdab; }
.system-heading > p:last-child {
  max-width: 570px;
  margin: 26px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: #b7c8be;
}

.system-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 7%;
  padding: 36px 0;
  border-top: 1px solid rgba(245, 242, 235, .24);
  border-bottom: 1px solid rgba(245, 242, 235, .24);
}

.system-rail { position: relative; display: flex; flex-direction: column; }
.system-rail::before {
  content: "";
  position: absolute;
  top: 44px;
  bottom: 44px;
  left: 64px;
  width: 1px;
  background: rgba(143, 188, 158, .27);
}
/* Kitöltött szakasz a vonalon az aktív állomásig (main.js: --rail-progress). */
.system-rail::after {
  content: "";
  position: absolute;
  top: 44px;
  left: 64px;
  width: 1px;
  height: calc((100% - 88px) * var(--rail-progress, 0));
  background: #b7d1b7;
  transition: height .3s var(--ease);
}
.system-tab {
  position: relative;
  display: grid;
  grid-template-columns: 40px 18px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  padding: 12px 0;
  border: 0;
  background: none;
  color: #9eaaa3;
  text-align: left;
  transition: color var(--dur);
}
.system-tab:hover,
.system-tab.is-active { color: var(--paper); }
.tab-number { font: 700 11px var(--font-display); letter-spacing: .12em; }
.tab-node {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  margin-left: 2px;
  border: 1px solid #698d79;
  background: var(--ink);
  transform: rotate(45deg);
  transition: background var(--dur), box-shadow var(--dur);
}
.system-tab.is-active .tab-node {
  background: #b7d1b7;
  box-shadow: 0 0 0 7px rgba(131, 183, 143, .14);
}
.tab-name { font: 600 clamp(20px, 2.3vw, 30px) var(--font-display); letter-spacing: -.04em; }

/* Minden panel ugyanabban a rácscellában: a magasság a leghosszabbhoz igazodik. */
.system-panels { display: grid; align-items: start; }
.system-panel { grid-area: 1 / 1; }
.js .system-panel[hidden] { display: block; visibility: hidden; }
.js .system-panel:not([hidden]) { animation: panel-in .28s var(--ease); }
.system-panel:focus-visible { outline-offset: 8px; }

.panel-kicker,
.panel-meta { font: 700 10px var(--font-display); letter-spacing: .18em; color: #a4b5a9; }
.panel-icon { width: 48px; height: 60px; margin: 22px 0 18px; color: #9fc0a5; }
.system-panel h3 { margin: 0 0 16px; font-size: clamp(30px, 3vw, 42px); line-height: 1.15; }
.system-panel p {
  max-width: 490px;
  margin: 0 0 32px;
  font-size: 17px;
  line-height: 1.7;
  color: #d2ddd4;
}
.system-footnote { margin: 24px 0 0; font-size: 13px; color: #aebeb2; }

/* Ha a JS nem fut, mind a négy panel olvasható egymás alatt. */
html:not(.js) .system-panels { gap: 48px; }
html:not(.js) .system-panel { grid-area: auto; }

/* --- 03 Közös munka ----------------------------------------------------- */
.process-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: 12%;
  align-items: start;
}
.process-sticky { position: sticky; top: calc(var(--header-h) + 32px); }
.process-sticky h2 { max-width: 600px; }
.process-sticky > p:not(.eyebrow) { max-width: 440px; margin: 28px 0 0; line-height: 1.75; color: var(--text-muted); }

.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { position: relative; padding: 32px 0 46px 64px; border-top: 1px solid var(--line); }
.process-list li:last-child { border-bottom: 1px solid var(--line); }
.process-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 40px;
  width: 24px;
  height: 24px;
  border: 1px solid var(--emerald);
  transform: rotate(45deg);
}
.process-list li:nth-child(2)::before { background: #dfe9de; }
.process-list li:nth-child(3)::before { background: #9fbea9; }
.process-list li:nth-child(4)::before { background: var(--deep); }
.process-list li > span { font: 800 11px var(--font-display); letter-spacing: .16em; color: var(--emerald); }
.process-list h3 { margin: 18px 0 10px; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2; }
.process-list p { max-width: 440px; margin: 0; font-size: 15px; line-height: 1.7; color: #5a645d; }

/* --- 04 Amit megnézünk ------------------------------------------------- */
/* Négy kérdés = az embléma négy síkja. Kártya fölé állva a nagy jelen
   a hozzá tartozó sík kiemelődik (main.js: data-active). */
.diagnostic-section { background: var(--deep); color: var(--paper); overflow: hidden; }
.diagnostic-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .7fr);
  gap: 8%;
  align-items: center;
  margin-bottom: 64px;
}
.diagnostic-copy h2 { max-width: 640px; }
.diagnostic-copy h2 em { color: #a6c8ad; }
.diagnostic-copy p:not(.eyebrow) { max-width: 480px; margin: 28px 0 0; line-height: 1.75; color: var(--text-muted-dark); }

.diag-visual { position: relative; justify-self: center; width: min(100%, 260px); }
.diag-mark { width: 100%; height: auto; overflow: visible; }
.diag-mark path {
  fill: rgba(255, 255, 255, .04);
  stroke: rgba(196, 220, 204, .35);
  stroke-width: .5;
  transition: fill .25s var(--ease), stroke .25s var(--ease), transform .25s var(--ease);
}
.diag-mark path:nth-child(1) { fill: rgba(166, 200, 173, .16); }
.diag-mark path:nth-child(2) { fill: rgba(166, 200, 173, .11); }
.diag-mark path:nth-child(3) { fill: rgba(166, 200, 173, .08); }
.diag-mark path:nth-child(4) { fill: rgba(166, 200, 173, .05); }
.diag-visual[data-active="1"] path:nth-child(1),
.diag-visual[data-active="2"] path:nth-child(2),
.diag-visual[data-active="3"] path:nth-child(3),
.diag-visual[data-active="4"] path:nth-child(4) { fill: #a6c8ad; stroke: #d3e6d7; }

.diag-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}
.diag-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 250px;
  padding: 24px 24px 26px;
  background: var(--deep);
  transition: background var(--dur) var(--ease);
}
.diag-card:hover,
.diag-card.is-active { background: #134a3d; }
.diag-num { font: 700 11px var(--font-display); letter-spacing: .14em; color: #a4c6af; }
.diag-icon { width: 28px; height: 35px; margin: 22px 0 22px; color: #a6c8ad; }
.diag-card strong {
  font: 600 clamp(18px, 1.6vw, 22px) / 1.3 var(--font-display);
  letter-spacing: -.025em;
  color: var(--paper);
}
.diag-tag {
  margin-top: auto;
  padding-top: 22px;
  font: 800 10px var(--font-display);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #a4c6af;
}

/* --- 05 Csapat ---------------------------------------------------------- */
/* A két kártya az embléma két felét hordozza; együtt adják ki a jelet. */
.team-section { background: var(--paper-2); }
.team-heading { max-width: 800px; margin-bottom: 52px; }
.team-heading p:last-child { max-width: 560px; margin: 24px 0 0; line-height: 1.7; color: #535c55; }

.team-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 64px;
  min-height: 320px;
  padding: 28px 32px 32px;
  background: var(--paper);
  overflow: hidden;
}
.team-number { position: relative; font: 800 10px var(--font-display); letter-spacing: .16em; color: var(--deep); }
.team-half {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 96px;
  height: auto;
  overflow: visible;
}
.team-half path {
  fill: transparent;
  stroke: rgba(15, 61, 50, .28);
  stroke-width: .6;
  transition: fill .35s var(--ease), stroke .35s var(--ease);
}
/* Attila kártyáján a bal síkok (1, 3), Martinén a jobb síkok (2, 4) teltek;
   a blokk fölé állva a hiányzó síkok is kitöltődnek: együtt adják ki a jelet. */
.team-half--left path:nth-child(1),
.team-half--left path:nth-child(3),
.team-half--right path:nth-child(2),
.team-half--right path:nth-child(4) { fill: var(--deep); stroke: var(--deep); }
.team-grid:hover .team-half path { fill: var(--emerald); stroke: var(--emerald); }
.team-grid:hover .team-half--left path:nth-child(1),
.team-grid:hover .team-half--left path:nth-child(3),
.team-grid:hover .team-half--right path:nth-child(2),
.team-grid:hover .team-half--right path:nth-child(4) { fill: var(--deep); }

.team-body { position: relative; }
.team-card h3 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; }
.team-role { margin: 0 0 10px; font-weight: 700; color: var(--deep); }
.team-text { max-width: 420px; margin: 0; font-size: 15px; line-height: 1.55; color: #5a655e; }

/* --- 06 GYIK ------------------------------------------------------------ */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 12%; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  list-style: none;
  font: 700 clamp(17px, 1.5vw, 20px) / 1.35 var(--font-display);
  letter-spacing: -.02em;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--deep); }
.faq-list summary:focus-visible { outline-offset: 2px; }
/* Plusz jel CSS-ből, hogy ne függjön a betűkészlet glifjétől. */
.faq-icon {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  transition: transform var(--dur) var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--deep);
  transform: translate(-50%, -50%);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list details[open] .faq-icon { transform: rotate(45deg); }
.faq-list details p { max-width: 590px; margin: 0; padding: 0 44px 26px 0; font-size: 15px; line-height: 1.75; color: #535f57; }

/* --- 07 Konverzió ------------------------------------------------------- */
.conversion-section {
  background: radial-gradient(circle at 20% 100%, #1d5948, #0e332b 55%, var(--deep-2));
  color: var(--paper);
}
.conversion-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: 8%;
  align-items: center;
}
.conversion-copy h2 { max-width: 730px; }
.conversion-copy h2 em { color: #a7cbae; }
.conversion-copy > p:not(.eyebrow) { max-width: 540px; margin: 28px 0 0; font-size: 16px; line-height: 1.75; color: #c8d8cc; }
.conversion-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: #dceadd;
}
.conversion-points li { display: inline-flex; align-items: center; gap: 10px; }
.conversion-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #afd1b3;
  transform: rotate(45deg);
}

.conversion-card {
  padding: 32px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .16);
}
.conversion-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font: 800 10px var(--font-display);
  letter-spacing: .2em;
  color: var(--deep);
}
.status-badge {
  padding: 5px 9px;
  border: 1px solid #b9a978;
  background: #f3ecd8;
  color: #5c4f25;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.conversion-card h3 { margin: 28px 0 8px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.conversion-card > p { margin: 0; font-size: 14px; line-height: 1.6; color: #5b665f; }

.contact-options { display: flex; gap: 22px; margin-top: 24px; border-bottom: 1px solid var(--line); }
.contact-option {
  min-height: 44px;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: none;
  color: #56625a;
  font: 700 13px var(--font-display);
  text-align: left;
  transition: color var(--dur), border-color var(--dur);
}
.contact-option:hover { color: var(--deep); }
.contact-option.is-active { border-color: var(--deep); color: var(--deep); }

.contact-panels { display: grid; padding-top: 24px; }
.contact-panel { grid-area: 1 / 1; }
.js .contact-panel[hidden] { display: block; visibility: hidden; }
html:not(.js) .contact-panels { gap: 16px; }
html:not(.js) .contact-panel { grid-area: auto; }

.integration-pending { padding: 20px 22px; border: 1px dashed #a4b7a8; background: #eef0e8; }
.integration-pending p { margin: 0 0 8px; font-size: 14px; line-height: 1.6; color: #4f5d53; }
.integration-pending .pending-title { margin-bottom: 10px; font: 700 15px var(--font-display); color: var(--deep); }
.integration-pending .pending-note { margin-bottom: 0; font-weight: 700; color: #2f4b3d; }
/* GHL embedek: az aktív panel adja a magasságot. A rejtett panel kikerül a folyamból és 0 magasra
   vágódik (a GHL-script inline visibility: visible-t ír az iframe-re), de megtartja a szélességét,
   hogy a script helyesen méretezze. */
.contact-panels.has-embeds { position: relative; }
.js .contact-panels.has-embeds .contact-panel[hidden] { position: absolute; top: 24px; left: 0; right: 0; height: 0; overflow: hidden; pointer-events: none; }
.contact-panels.has-embeds .contact-panel:not([hidden]) { min-height: 560px; } /* hely a betöltés idejére */
.ghl-frame { display: block; width: 100%; min-height: 560px; background: transparent; }
.ghl-fallback { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: #5d675f; }
.ghl-fallback a { color: var(--deep); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.conversion-card .privacy-note { margin: 16px 0 0; font-size: 12px; line-height: 1.6; color: #5d675f; }
.conversion-card .privacy-note a { color: var(--deep); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* --- Lábléc ------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--paper); }
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding: 72px 0 56px;
}
.footer-brand { display: inline-block; }
.footer-brand img { width: 96px; height: auto; filter: brightness(0) invert(1); }
.footer-id p { max-width: 280px; margin: 22px 0 0; font-size: 14px; line-height: 1.65; color: #a7b9ad; }
.footer-social { display: flex; gap: 10px; }
.social-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(245, 242, 235, .22);
  color: #c9d6cd;
}
.social-icon svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 12px;
  line-height: 1.6;
  color: #a7b9ad;
}
.footer-bottom a { flex: none; }
.footer-bottom a:hover { color: var(--gold); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-legal a { color: #d3ddd6; text-decoration: underline; text-decoration-color: rgba(211, 221, 214, .35); text-underline-offset: 3px; }
.footer-legal a[href="#top"] { color: inherit; text-decoration: none; }

/* --- Jogi oldalak ------------------------------------------------------- */
/* Az adatkezelési tájékoztató és az ÁSZF: hosszú, olvasásra szánt szöveg. */
.legal-page { background: var(--paper); }
.legal-nav { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 38px); margin-left: auto; }
.legal-nav a { padding: 8px 0; font-size: 13px; font-weight: 600; color: #e9eee9; border-bottom: 1px solid transparent; transition: color var(--dur); }
.legal-nav a:hover { color: var(--gold); }
.legal-nav a[aria-current="page"] { color: var(--paper); border-bottom-color: var(--gold); }

.legal-hero { padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(48px, 6vw, 80px); background: var(--ink); color: var(--paper); }
.legal-back { display: inline-flex; gap: 10px; margin-bottom: clamp(32px, 4vw, 56px); font-size: 13px; font-weight: 600; color: #c3d4c9; }
.legal-back:hover { color: var(--gold); }
.legal-hero h1 { max-width: 900px; margin-bottom: 24px; font-size: clamp(2.1rem, 5vw, 4.4rem); line-height: 1.08; }
.legal-meta p { max-width: 720px; margin: 0 0 6px; font-size: 15px; line-height: 1.6; color: #c8d8cc; }
.legal-meta strong { font-weight: 600; }
.legal-download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-top: 28px;
  padding: 0 18px;
  border: 1px solid rgba(245, 242, 235, .47);
  font-size: 13px;
  font-weight: 700;
  transition: background var(--dur), color var(--dur);
}
.legal-download:hover { background: var(--paper); color: var(--ink); }

.legal-layout {
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 760px);
  justify-content: space-between;
  gap: 64px;
  padding: clamp(48px, 7vw, 96px) 0 clamp(80px, 9vw, 128px);
}
.legal-toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; max-height: calc(100vh - var(--header-h) - 64px); overflow-y: auto; }
.legal-toc-title { margin: 0 0 14px; font: 800 11px var(--font-display); letter-spacing: .2em; text-transform: uppercase; color: var(--deep); }
.legal-toc ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.legal-toc li { border-bottom: 1px solid var(--line); }
.legal-toc a { display: block; padding: 10px 0; font-size: 13.5px; line-height: 1.45; color: #45524a; }
.legal-toc a:hover { color: var(--deep); }

.legal-content { min-width: 0; font-size: 17px; line-height: 1.75; color: #29322d; }
.legal-content h2 {
  margin: 56px 0 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: -.03em;
  color: var(--ink);
}
.legal-content h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-content h3 { margin: 36px 0 10px; font-size: 1.15rem; line-height: 1.35; letter-spacing: -.02em; color: var(--deep); }
.legal-content p { margin: 0 0 18px; }
.legal-content strong { font-weight: 700; color: var(--ink); }
.legal-content a { color: var(--deep); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-content a:hover { color: var(--accent-green); }
.legal-content :target { scroll-margin-top: calc(var(--header-h) + 24px); }

.legal-table { margin: 24px 0 28px; border-top: 1px solid var(--line); }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.legal-table thead th { padding: 12px 16px 12px 0; font: 800 11px var(--font-display); letter-spacing: .16em; text-transform: uppercase; text-align: left; color: var(--deep); }
.legal-table tbody th,
.legal-table td { padding: 14px 16px 14px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table tbody th { width: 34%; font-weight: 700; color: var(--ink); }
.legal-table tbody tr:last-child > * { border-bottom: 1px solid var(--line); }

/* --- Animációk ---------------------------------------------------------- */
@keyframes panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   Reszponzív
   ========================================================================== */

/* Szűk desktop: a fejléc négy menüponttal és CTA-val is kiférjen. */
@media (max-width: 1100px) {
  .header-inner { gap: 22px; }
  .desktop-nav { gap: 18px; }
  .desktop-nav a { font-size: 12.5px; }
  .header-cta { padding: 0 14px; gap: 10px; }
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
}

/* Tablet: mobilmenü, egyoszlopos szekciók. */
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .shell { width: min(100% - 48px, 1440px); }

  .desktop-nav,
  .header-cta { display: none; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0 11px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .35);
  }
  .menu-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--paper);
    transition: transform var(--dur) var(--ease);
  }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

  .mobile-menu:not([hidden]) {
    display: block;
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, .1);
    background: rgba(16, 20, 20, .98);
    box-shadow: 0 24px 40px rgba(0, 0, 0, .35);
  }
  .mobile-menu-inner { display: flex; flex-direction: column; padding: 8px 0 24px; }
  .mobile-menu a:not(.button) {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-size: 16px;
    font-weight: 500;
  }
  .mobile-menu-cta { margin-top: 20px; background: var(--paper); border-color: var(--paper); color: var(--deep); }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-top: calc(var(--header-h) + 72px);
    padding-bottom: 64px;
  }
  .hero h1 { font-size: clamp(2.4rem, 6.6vw, 4rem); }
  .hero-art {
    position: absolute;
    z-index: 0;
    top: calc(var(--header-h) + 10px);
    right: -14%;
    width: 62%;
    opacity: .28;
    pointer-events: none;
  }
  .hero-bottom { display: none; }

  .two-col-heading,
  .process-layout,
  .diagnostic-layout,
  .faq-layout,
  .conversion-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .section-intro { max-width: 640px; }
  .problem-card { min-height: 340px; padding: 24px 22px 26px; }
  .system-board { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; }
  .process-sticky { position: static; }
  .process-list,
  .diag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diag-visual { width: 200px; justify-self: start; }
  .conversion-card { max-width: 640px; }

  .legal-nav { margin-left: auto; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .legal-toc { position: static; max-height: none; }
  .legal-toc ol { columns: 2; column-gap: 32px; }
  .legal-toc li { break-inside: avoid; }
}

/* Telefon */
@media (max-width: 650px) {
  .shell { width: min(100% - 40px, 1440px); }
  .section { padding: 76px 0; }

  .brand-word { width: 100px; }
  .brand-mark { width: 20px; height: 25px; }

  .hero h1 { font-size: clamp(1.7rem, 8.6vw, 3rem); line-height: 1.1; margin-bottom: 22px; }
  h2 { font-size: clamp(1.95rem, 8.6vw, 2.8rem); }

  .hero-grid { padding-top: calc(var(--header-h) + 52px); padding-bottom: 52px; }
  .hero-art { display: none; }
  .hero-lead { font-size: 16px; line-height: 1.65; margin-bottom: 30px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .hero-actions .button { width: 100%; }
  .hero-bottom { display: none; }

  .eyebrow { margin-bottom: 20px; font-size: 10px; }
  .two-col-heading { margin-bottom: 32px; gap: 20px; }

  .problem-grid { grid-template-columns: minmax(0, 1fr); }
  .problem-card { min-height: 0; padding: 22px 20px 22px; }
  .card-symbol { width: 32px; height: 40px; margin: 18px 0 18px; }
  .problem-card h3 { font-size: 23px; }
  .card-copy { margin-top: 10px; }
  .card-tag { padding-top: 18px; }

  .system-heading { margin-bottom: 36px; }
  .system-heading > p:last-child { font-size: 15px; }
  .system-board { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 20px 0 28px; }
  .system-rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .system-rail::before,
  .system-rail::after { display: none; }
  .system-tab {
    display: flex;
    gap: 8px;
    min-height: 52px;
    padding: 8px 10px;
    border: 1px solid rgba(245, 242, 235, .2);
  }
  .system-tab.is-active { border-color: #8fb99c; background: rgba(143, 185, 156, .1); }
  .tab-number { font-size: 10px; }
  .tab-node { width: 8px; height: 8px; margin: 0; flex: none; }
  .tab-name { font-size: 14px; letter-spacing: -.02em; }
  .panel-icon { width: 36px; height: 45px; margin: 16px 0 14px; }
  .system-panel p { font-size: 16px; margin-bottom: 24px; }

  .process-list li { padding: 26px 0 34px 46px; }
  .process-list li::before { left: 3px; top: 30px; width: 20px; height: 20px; }
  .process-list h3 { font-size: 23px; }

  .diagnostic-layout { margin-bottom: 40px; }
  .diag-visual { display: none; }
  .diag-grid { grid-template-columns: minmax(0, 1fr); }
  .diag-card { min-height: 0; display: grid; grid-template-columns: 28px 1fr; gap: 6px 14px; align-items: start; padding: 20px; }
  .diag-num { grid-column: 1 / -1; }
  .diag-icon { width: 24px; height: 30px; margin: 2px 0 0; grid-row: span 2; }
  .diag-tag { padding-top: 6px; }

  .team-grid { grid-template-columns: minmax(0, 1fr); }
  .team-card { min-height: 0; gap: 48px; padding: 24px 22px 26px; }
  .team-half { width: 64px; top: 20px; right: 20px; }

  .faq-layout { gap: 24px; }
  .faq-list summary { padding: 20px 0; font-size: 17px; }
  .faq-list details p { padding-right: 0; }

  .conversion-layout { gap: 36px; }
  .conversion-points { flex-direction: column; gap: 12px; margin-top: 28px; }
  .conversion-card { padding: 24px 20px; }
  .contact-options { gap: 16px; }
  .contact-option { font-size: 12.5px; }
  .integration-pending { padding: 16px 16px; }

  .footer-main { flex-direction: column; align-items: flex-start; gap: 32px; padding: 56px 0 44px; }
  .footer-bottom { flex-direction: column; }

  .legal-nav { gap: 16px; }
  .legal-nav a { font-size: 12.5px; }
  .legal-meta p { font-size: 14px; }
  .legal-toc ol { columns: 1; }
  .legal-content { font-size: 16px; line-height: 1.7; }
  .legal-content h2 { margin-top: 44px; padding-top: 24px; }
  /* A kétoszlopos adattáblák mobilon címke–érték sorokká válnak. */
  .legal-table thead { display: none; }
  .legal-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .legal-table tbody th,
  .legal-table td { display: block; width: auto; padding: 0; border: 0; }
  .legal-table tbody th { margin-bottom: 4px; }
  .legal-table tbody tr:last-child > * { border-bottom: 0; }
}

/* Keskeny telefon (320–380px) */
@media (max-width: 380px) {
  .shell { width: min(100% - 32px, 1440px); }
  .button { padding: 0 20px; gap: 16px; }
  .system-tab { padding: 8px; }
  .tab-number { display: none; }
  .contact-options { gap: 12px; }
  .contact-option { flex: 1; font-size: 12px; }
}

/* --- Mozgáscsökkentés --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .button:hover { transform: none; }
}
