/* iBioScience — a vizsgálat-kiadványok arculata a weben.
   Betűk: Fraunces (címek) + Figtree (szöveg). Színek: a kiadványok palettája. Fotó nincs, minden rajz SVG. */

@font-face { font-family: "Fraunces"; src: url("../fonts/Fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/Fraunces-Italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/Figtree.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/Figtree-Italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }

:root {
  --navy: #1F2A50; --navy-2: #2b3a6b; --navy-deep: #18213f;
  --paper: #FBF7F0;
  --coral: #F0664A; --coral-d: #D9553B; --peach: #FBE3D6;
  --teal: #17A088; --teal-d: #0E7C69; --mint: #DDF1EA; --sea: #8FD9C6;
  --butter: #F7C95C; --butter-d: #DFA630; --butter-l: #FCEFC9;
  --lilac: #8E7CC3; --lilac-d: #5a4a94; --lilac-l: #ECE7F7;
  --muted: #5B6485; --ink2: #2f3960;
  --line: rgba(31, 42, 80, .14);
  --maxw: 1180px; --r: 22px; --r-lg: 30px;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--navy); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[id] { scroll-margin-top: 96px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

h1, h2, .serif { font-family: var(--serif); font-optical-sizing: auto; font-weight: 560; letter-spacing: -0.014em; margin: 0; }
h1 { font-size: clamp(2.45rem, 5.3vw, 4.1rem); line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.65rem); line-height: 1.1; }
h2.h2-sm { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h1 em, h2 em, blockquote em { font-style: italic; font-weight: 500; color: var(--coral); }
h3 { margin: 0; font-size: 1.09rem; line-height: 1.25; font-weight: 700; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-d); margin: 0 0 14px; }
.lead { font-size: 1.14rem; line-height: 1.55; color: var(--ink2); }
.prose p + p { margin-top: 1em; }
.prose { color: var(--ink2); }
.fine { font-size: .9rem; line-height: 1.5; color: var(--muted); font-style: italic; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--paper); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* vonalas ikonok és az SVG-feliratok (a kiadványok rajzaiból) */
.ic { fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svgt { font-family: var(--sans); }
.svgt:not([fill]), .svgt text:not([fill]) { fill: var(--navy); }
svg text.serif { font-family: var(--serif); }

/* ---------- gombok, linkek ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  padding: .92em 1.55em; border-radius: 999px; border: 2px solid var(--navy); background: var(--navy); color: var(--paper); transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); transform: translateY(-1px); }
.btn .arrow, .link .arrow, .tcard .arrow { width: 1.1em; height: 1.1em; flex: none; transition: transform .2s; }
.btn:hover .arrow, .link:hover .arrow { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: rgba(31, 42, 80, .08); border-color: var(--navy); }
.btn-butter { background: var(--butter); border-color: var(--butter); color: var(--navy); }
.btn-butter:hover { background: #fbd77e; border-color: #fbd77e; }
.btn-ghost-light { background: transparent; border-color: rgba(251, 247, 240, .55); color: var(--paper); }
.btn-ghost-light:hover { background: rgba(251, 247, 240, .1); border-color: var(--paper); }
.btn-sm { padding: .62em 1.15em; font-size: .94rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.actions.center { justify-content: center; margin-top: 44px; }
.link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.link:hover { text-decoration-color: var(--navy); }
.tag { display: inline-block; background: var(--navy); color: var(--paper); font-weight: 700; font-size: .76rem; letter-spacing: .15em; text-transform: uppercase; padding: .58em 1.3em .52em; border-radius: 999px; }

/* a MindigOrvos szójel */
.mo { display: inline-flex; align-items: center; gap: .32em; font-weight: 700; font-size: 1.42rem; letter-spacing: -.02em; line-height: 1; }
.mo svg { height: 1.55em; width: auto; }
.mo .a { color: #252554; } .mo .b { color: #1ba05e; }
.mo-dark .a { color: var(--paper); } .mo-dark .b { color: #5fd89a; }

/* ---------- fejléc ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(31, 42, 80, .5); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font-weight: 600; font-size: .98rem; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current] { border-color: var(--coral); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; padding: 12px 10px; }
.nav-toggle span { display: block; height: 2.5px; border-radius: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s, opacity .2s; }
.open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.open .nav-toggle span:nth-child(2) { opacity: 0; }
.open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- cím-szakasz ---------- */
.hero { padding: 44px 0 0; position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; align-items: center; }
.hero .lead { margin-top: 22px; max-width: 34em; }
.hero-pic { justify-self: center; width: 100%; max-width: 560px; }
.hero-art { width: 100%; height: auto; overflow: visible; }
.hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin-top: 40px; max-width: 36em; }
.hero-facts li { display: flex; gap: 12px; align-items: flex-start; }
.hero-facts .dot { flex: none; width: 13px; height: 13px; border-radius: 50%; background: var(--c); margin-top: .32em; }
.hero-facts svg { flex: none; width: 19px; height: 19px; margin-top: .18em; }
.hero-facts b { display: block; font-size: 1rem; line-height: 1.25; }
.hero-facts span:not(.dot) { display: block; font-size: .9rem; line-height: 1.35; color: var(--muted); }
.facts-emblem { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
.hero-test .hero-pic { max-width: 520px; }
.hero-test h1 { margin-top: 18px; }
.hero-plain { padding-top: 40px; }
.hero-plain h1 { max-width: 15em; }
.hero-plain .lead { max-width: 46em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--navy); font-weight: 600; }
.waveline { display: flex; align-items: center; margin-top: 52px; }
.waveline::before, .waveline::after { content: ""; height: 1.6px; background: var(--navy); }
.waveline::before { flex: 0 0 14%; }
.waveline::after { flex: 1; }
.waveline svg { width: 100px; height: auto; flex: none; overflow: visible; }

/* ---------- szakaszok, sávok ---------- */
.section { padding: 104px 0; }
.section-tight { padding-top: 16px; }
.head { max-width: 800px; margin-bottom: 46px; }
.head .lead { margin-top: 18px; }
.head .mo { margin-bottom: 18px; }
.band { position: relative; padding: 84px 0 120px; }
.band-mint { background: var(--mint); }
.band-peach { background: var(--peach); }
.band-navy { background: var(--navy); color: var(--paper); }
.band-navy h2 em, .band-navy blockquote em { color: var(--butter); }
.band-navy .lead { color: rgba(251, 247, 240, .86); }
.band-navy .eyebrow { color: var(--sea); }
.band-navy :focus-visible { outline-color: var(--butter); }
.curve { position: absolute; left: 0; width: 100%; height: clamp(22px, 4vw, 56px); pointer-events: none; }
.curve-top { bottom: calc(100% - 1px); }
.curve-bottom { bottom: -1px; }
.band:not(:has(> .curve-bottom)) { padding-bottom: 96px; }
.band + .band { padding-top: 96px; }
.split { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 60px; align-items: center; }
.split-top { align-items: start; }
.split h2 { margin-bottom: 26px; }

/* ---------- vizsgálat-kártyák ---------- */
.tgroup { margin-top: 56px; }
.tgroup-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; margin-bottom: 22px; }
.tgroup-head h3, .tgroup-head h2 { font-family: var(--serif); font-optical-sizing: auto; font-weight: 560; font-size: 1.6rem; letter-spacing: -.012em; line-height: 1.15; }
.tgroup-head p { color: var(--muted); font-size: 1rem; max-width: 40em; }
.tcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tcard { position: relative; display: flex; align-items: center; gap: 14px; height: 100%; min-height: 86px; padding: 14px 16px; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
a.tcard:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: 0 14px 28px -22px rgba(31, 42, 80, .7); }
a.tcard:hover .arrow { transform: translateX(3px); }
.tcard-ico { flex: none; width: 50px; }
.tcard-txt { flex: 1; min-width: 0; }
.tcard-name { display: block; font-weight: 700; line-height: 1.22; }
.tcard-meta { display: block; margin-top: 3px; font-size: .84rem; line-height: 1.3; color: var(--muted); }
.tcard-meta b { color: var(--navy); font-weight: 700; }
.tcard .arrow { color: var(--coral-d); }
.tcard.is-soon { background: rgba(255, 255, 255, .45); border-style: dashed; }
.soon { position: absolute; top: -9px; right: 14px; background: var(--butter-l); color: #7a5a10; font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }

/* ---------- négy lépés ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
/* a pontozott összekötő az első ikon közepétől az utolsó ikon közepéig tart (négy egyenlő oszlop, 30 px köz) */
.steps::before { content: ""; position: absolute; left: 44px; right: calc((100% - 90px) / 4 - 44px); top: 43px; border-top: 3px dotted var(--navy); opacity: .55; }
.step { position: relative; }
.step-ico { position: relative; display: block; width: 88px; margin-bottom: 20px; }
.step-ico svg { width: 88px; height: 88px; }
.step-ico svg .ic { stroke-width: 1.5; }
.step-n { position: absolute; top: -4px; right: -8px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--paper); font-weight: 800; font-size: .95rem; display: grid; place-items: center; }
.step b { display: block; font-size: 1.1rem; line-height: 1.25; margin-bottom: 8px; }
.step p { font-size: .97rem; line-height: 1.5; color: var(--ink2); }
/* színes sávon az ikonok korongja fehér (különben a menta korong eltűnne a menta sávon) */
.band .step-ico svg > circle { fill: #fff; }

/* ---------- küldetés, pillérek, kártyák ---------- */
.quote { margin: 0; background: var(--navy); color: var(--paper); border-radius: var(--r-lg); padding: 44px 40px 48px; }
.quote svg { width: 190px; margin-bottom: 26px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-optical-sizing: auto; font-weight: 500; font-size: clamp(1.35rem, 2.1vw, 1.72rem); line-height: 1.3; letter-spacing: -.01em; }
.quote blockquote em { color: var(--butter); }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pillar { border-radius: var(--r-lg); padding: 38px 36px 40px; }
.pillar-peach { background: var(--peach); } .pillar-lilac { background: var(--lilac-l); }
.pillar-ico { display: block; width: 62px; margin-bottom: 22px; }
.pillar h3 { font-family: var(--serif); font-optical-sizing: auto; font-weight: 560; font-size: 1.55rem; letter-spacing: -.012em; margin-bottom: 12px; }
.pillar p { color: var(--ink2); }
.fcards { display: grid; gap: 18px; }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fcard { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); padding: 28px 26px 30px; }
.fcard-ico { display: block; width: 54px; margin-bottom: 18px; }
.fcard h3 { margin-bottom: 8px; }
.fcard p { font-size: .98rem; line-height: 1.5; color: var(--ink2); }

/* ---------- Clinomics ---------- */
.collab { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 52px; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 40px; }
.collab-aside { background: var(--lilac-l); border-radius: var(--r); padding: 34px 26px; text-align: center; }
.collab-logos { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 24px; }
.collab-logos img:first-child { height: 46px; width: auto; }
.collab-logos img:last-child { height: 42px; width: auto; }
.collab-logos .x { font-size: 1.3rem; color: var(--lilac-d); }
.collab-aside .eyebrow { color: var(--lilac-d); margin-bottom: 8px; }
.collab-aside b { display: block; font-size: 1.12rem; }
.collab-aside small { display: block; color: var(--muted); font-size: .9rem; margin-top: 2px; }
.collab-body h2 { margin-bottom: 20px; font-size: clamp(1.6rem, 2.6vw, 2.15rem); }

/* ---------- technológia ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; border-top: 1px solid rgba(251, 247, 240, .22); padding-top: 40px; }
.stats b { display: block; font-family: var(--serif); font-optical-sizing: auto; font-weight: 600; font-size: clamp(2.2rem, 4vw, 3.3rem); line-height: 1; letter-spacing: -.02em; color: var(--butter); }
.stats span { display: block; margin-top: 12px; font-size: .98rem; color: rgba(251, 247, 240, .86); }

/* ---------- partnerek, projektek ---------- */
/* partnerek: három csoport, a nevek „címkékként" tördelődnek */
.pgroups { display: grid; grid-template-columns: 1.12fr 1fr; gap: 22px; align-items: start; }
.pgroup { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 30px 30px 32px; }
.pgroup-akademiai { grid-row: span 2; }
.pgroup header { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.pgroup-ico { flex: none; width: 52px; }
.pgroup h3 { font-family: var(--serif); font-optical-sizing: auto; font-weight: 560; font-size: 1.45rem; letter-spacing: -.012em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .96rem; line-height: 1.3; color: var(--navy); background: var(--paper); border: 1.5px solid var(--line); }
.pgroup-akademiai .chips li { background: #F6F3FB; border-color: #E0D9F1; }
.pgroup-ipari .chips li { background: #FEF3EC; border-color: #F8D9C8; }
.pgroup-allami .chips li { background: #EEF8F4; border-color: #CDE9DF; }
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.proj { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 34px 34px 36px; display: flex; flex-direction: column; }
.proj header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.proj-ico { flex: none; width: 56px; }
.proj h3 { font-family: var(--serif); font-optical-sizing: auto; font-weight: 560; font-size: 1.6rem; letter-spacing: -.012em; }
.proj-tag { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-d); margin-top: 3px; }
.proj > p { color: var(--ink2); font-size: 1rem; }
.proj > p + p { margin-top: .9em; }
.proj .proj-grant { font-weight: 700; color: var(--navy); font-size: .94rem; overflow-wrap: anywhere; }
.proj .link { margin-top: auto; padding-top: 20px; align-self: flex-start; }

/* ---------- kapcsolat ---------- */
.contact { padding-top: 72px; padding-bottom: 104px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 60px; align-items: start; }
.contact-grid .lead { margin-top: 20px; }
.contact-list { margin-top: 36px; display: grid; gap: 20px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list svg { flex: none; width: 48px; height: 48px; }
.contact-list a, .contact-list b { font-weight: 700; font-size: 1.08rem; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list span { display: block; font-size: .9rem; color: rgba(251, 247, 240, .72); }
.form { position: relative; background: var(--paper); color: var(--navy); border-radius: var(--r-lg); padding: 34px; display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form label { display: grid; gap: 7px; font-weight: 600; font-size: .94rem; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-weight: 400; font-size: 1rem; color: var(--navy); background: #fff; border: 1.5px solid rgba(31, 42, 80, .28); border-radius: 13px; padding: .72em .9em; }
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(240, 102, 74, .45); outline-offset: 1px; border-color: var(--navy); }
.form ::placeholder { color: #8b91a8; }
.form .hp { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form .btn { justify-self: start; }
.form-status { font-weight: 700; min-height: 1.3em; }
.form-status.ok { color: var(--teal-d); } .form-status.err { color: #b3361e; }
.form-status:empty { display: none; }
.form-note { font-size: .86rem; color: var(--muted); }

/* ---------- lábléc ---------- */
.site-footer { background: var(--navy-deep); color: var(--paper); padding: 68px 0 30px; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; }
.foot-brand img { height: 60px; width: auto; margin-bottom: 20px; }
.foot-brand p { color: rgba(251, 247, 240, .74); font-size: .96rem; max-width: 26em; }
.site-footer h2 { font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sea); margin-bottom: 14px; }
.foot a { display: block; text-decoration: none; color: rgba(251, 247, 240, .88); font-size: .98rem; padding: 4px 0; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot a[href*="mindigorvos"] { white-space: nowrap; }
.foot-addr { margin-top: 12px; font-size: .92rem; line-height: 1.5; color: rgba(251, 247, 240, .7); }
.foot-addr span { white-space: nowrap; }
.foot-bottom { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; margin-top: 52px; padding-top: 24px; font-size: .88rem; color: rgba(251, 247, 240, .7); }
.foot-bottom::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; border-top: 1px solid rgba(251, 247, 240, .16); }
.foot-mo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-legal a { color: rgba(251, 247, 240, .82); text-decoration: none; }
.foot-legal a:hover { color: #fff; text-decoration: underline; }

/* ---------- jogi oldalak, 404 ---------- */
.hero-plain { padding-bottom: 0; }
.hero-plain h1 { max-width: 16em; }
.hero-plain .lead { max-width: 44em; margin-top: 18px; }
.hero-plain .actions { margin-top: 30px; }
.hero-404 { padding-bottom: 110px; }
.section-legal { padding-top: 64px; }
.legal { max-width: 860px; }
.legal h2 { font-size: 1.5rem; margin: 2.1em 0 .7em; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--ink2); margin-top: .9em; }
.legal a:not(.link) { color: var(--navy); font-weight: 600; text-decoration-color: var(--coral); text-underline-offset: 3px; }
.facts-table { margin: 6px 0 4px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; }
.facts-table > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 4px 22px; padding: 14px 24px; }
.facts-table > div + div { border-top: 1px solid var(--line); }
.facts-table dt { font-weight: 700; color: var(--navy); }
.facts-table dd { margin: 0; color: var(--ink2); overflow-wrap: anywhere; }
.legal-date { margin-top: 2.4em !important; font-weight: 700; color: var(--navy) !important; }
.form-note a { color: inherit; font-weight: 700; }
.foot-mo .mo { font-size: 1.06rem; }
.site-footer :focus-visible { outline-color: var(--butter); }

/* ---------- a vizsgálat oldala ---------- */
.diagram { margin: 0; background: var(--peach); border-radius: var(--r-lg); padding: 22px 22px 30px; }
.diagram svg { width: 100%; height: auto; }
.cap-note { font-family: var(--serif); font-optical-sizing: auto; font-style: italic; font-size: 1.06rem; line-height: 1.36; text-align: center; max-width: 27em; margin: 6px auto 0; }
.helps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px; }
.helps svg { width: 58px; height: 58px; margin-bottom: 16px; }
.helps p { font-size: 1rem; line-height: 1.42; }
#segit .head { margin-bottom: 38px; }
#segit .eyebrow { margin: 14px 0 0; }
.scope-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.scope-head .head { margin-bottom: 0; }
.bignum-box { flex: none; max-width: 15em; }
.bignum { display: block; font-family: var(--serif); font-optical-sizing: auto; font-weight: 600; font-size: clamp(4.2rem, 8.4vw, 6.6rem); line-height: .84; letter-spacing: -.03em; color: var(--coral); }
.bignum.w { font-size: clamp(2.6rem, 5vw, 4rem); line-height: .95; }
.bignum-box p { margin-top: 12px; font-size: .96rem; line-height: 1.4; }
.scope-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 48px; }
.panels { display: grid; gap: 15px; margin-bottom: 22px; }
.panels li { display: flex; align-items: center; gap: 16px; line-height: 1.25; }
.panels svg { flex: none; width: 48px; height: 48px; }
.panels b { display: block; font-weight: 600; font-size: 1.04rem; }
.panels span { display: block; font-size: .88rem; color: var(--muted); margin-top: 2px; }
.panels .subhead { margin: 10px 0 0; }
.panels.many { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; }
.panels.many svg { width: 40px; height: 40px; }
.panels.many b { font-size: .97rem; }
.panels.many .subhead { grid-column: 1 / -1; }
.scope-card { margin: 0; background: var(--lilac-l); border-radius: var(--r-lg); padding: 30px 18px 22px; text-align: center; }
.scope-card .eyebrow { color: var(--lilac-d); margin-bottom: 8px; }
.scope-card svg { width: 100%; height: auto; }
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.res { background: #fff; border-radius: var(--r); padding: 28px 26px 26px; display: flex; flex-direction: column; }
.res svg { width: 50px; height: 50px; margin-bottom: 16px; }
.res h3 { font-size: 1.14rem; margin-bottom: 8px; }
.res p { font-size: .98rem; line-height: 1.5; color: var(--ink2); margin-bottom: 22px; }
.res .next { margin-top: auto; border-top: 1px solid rgba(31, 42, 80, .18); padding-top: 14px; font-size: .96rem; line-height: 1.4; font-weight: 600; }
.res .next span { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-d); font-weight: 700; margin-bottom: 4px; }
.footnote { margin-top: 14px; text-align: right; font-size: .84rem; font-style: italic; color: var(--teal-d); }
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-bottom: 34px; }
.feat-hd { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.feat-hd svg { flex: none; width: 48px; height: 48px; }
.feats p { font-size: 1rem; color: var(--ink2); }
.whens-card { position: relative; background: var(--peach); border-radius: var(--r-lg); padding: 44px 44px 46px; margin-top: 84px; }
.whens-card .badge { position: absolute; right: 34px; top: -70px; width: 164px; height: 164px; }
.whens-card h2 { padding-right: 190px; }
.whens-intro { margin: 10px 0 30px; max-width: 46em; padding-right: 150px; }
.whens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 30px; }
.whens li { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: .98rem; line-height: 1.3; }
.whens svg { flex: none; width: 50px; height: 50px; }
.closing { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.cta { padding-bottom: 64px; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; }
.cta h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; }
.cta-helix { width: 270px; margin-top: 30px; overflow: visible; }
.cta-mo { background: rgba(251, 247, 240, .07); border: 1px solid rgba(251, 247, 240, .16); border-radius: var(--r); padding: 30px; }
.cta-mo .mo { font-size: 1.6rem; margin-bottom: 14px; }
.cta-mo p:not(.eyebrow) { color: rgba(251, 247, 240, .86); font-size: 1rem; }
.fine-light { color: rgba(251, 247, 240, .62); font-style: normal; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(251, 247, 240, .16); max-width: none; }
.cta + .site-footer { padding-top: 40px; }

/* ---------- megjelenés görgetésre (szkript nélkül minden látszik) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in, .no-reveal .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .tcard, .arrow { transition: none; }
}

/* ---------- keskenyebb képernyők ---------- */
@media (max-width: 1080px) {
  .tcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .helps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav { gap: 22px; }
  .facts-emblem { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 28px 24px; box-shadow: 0 22px 30px -24px rgba(31, 42, 80, .6); }
  .open .nav { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.06rem; }
  .nav .btn { margin-top: 18px; }
  .hero-grid, .split, .contact-grid, .scope-grid, .cta-grid { grid-template-columns: minmax(0, 1fr); }
  .pgroups { grid-template-columns: minmax(0, 1fr); }
  .pgroup-akademiai { grid-row: auto; }
  .hero-pic { max-width: 440px; order: -1; }
  .hero-test .hero-pic { max-width: 360px; }
  .hero { padding-top: 20px; }
  .hero-grid { gap: 22px; }
  .split, .contact-grid, .scope-grid, .cta-grid { gap: 40px; }
  .collab { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 28px; }
  .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
  .steps::before { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
  .results, .feats { grid-template-columns: minmax(0, 1fr); }
  .feats { gap: 28px; }
  .whens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 80px 0; }
  .section-tight { padding-top: 8px; }
  .scope-head { flex-direction: column; align-items: flex-start; gap: 28px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 20px; }
  br.brk { display: none; }
  .lead { font-size: 1.06rem; }
  .tcards, .cols-3, .cols-4, .pillars, .projects, .helps, .whens, .panels.many, .form .row { grid-template-columns: minmax(0, 1fr); }
  .hero-facts, .facts-emblem { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 32px; }
  .helps { gap: 22px; }
  .helps li { display: flex; align-items: center; gap: 16px; }
  .helps svg { flex: none; width: 50px; height: 50px; margin: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .step { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 18px; align-items: start; }
  .step-ico { width: 72px; margin: 0; grid-row: 1 / span 2; }
  .step-ico svg { width: 72px; height: 72px; }
  .pillar, .proj, .form, .quote { padding: 28px 24px 30px; }
  .whens-card { padding: 30px 24px 32px; margin-top: 40px; }
  .whens-card .badge { position: static; width: 136px; height: 136px; margin: -84px 0 18px auto; }
  .whens-card h2, .whens-intro { padding-right: 0; }
  .whens-card { margin-top: 96px; }
  .band { padding: 64px 0 96px; }
  .section { padding: 64px 0; }
  .actions .btn { flex: 1 1 100%; }
  .foot { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .waveline { margin-top: 36px; }
  .pgroup { padding: 24px 20px 26px; }
  .facts-table > div { grid-template-columns: minmax(0, 1fr); padding: 13px 18px; }
  .section-legal { padding-top: 44px; }
  .chips li { font-size: .92rem; padding: 8px 14px; }
  .cta-helix { width: 220px; }
  .tgroup { margin-top: 44px; }
}
