/* Innovatív Kutatás-fejlesztés az Egészségügyért Alapítvány – inno-found.eu */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #262b2c;          /* fő szövegszín – semleges sötétszürke */
  --ink-2: #4b5355;        /* másodlagos szöveg */
  --ink-3: #737b7d;        /* halvány szöveg */
  --paper: #ffffff;        /* oldal háttér */
  --paper-2: #f3f6f5;      /* váltott szekciók – nagyon halvány szürke */
  --card: #ffffff;
  --line: #e2e7e5;
  --mint: #28b891;         /* a logó színe */
  --mint-deep: #1f9e7b;    /* brandzöld, hover */
  --mint-soft: #e2f5ee;
  --teal: #1d8a6c;         /* a brandzöld sötétebb árnyalata kis szöveghez fehér háttéren */
  --teal-deep: #176f57;
  --coral: #ff7a59;        /* jótékonyság – szív szín, takarékosan */
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(20,30,28,.06), 0 8px 28px rgba(20,30,28,.08);
  --wrap: 1180px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--sans); font-feature-settings: "ss01", "cv11"; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-deep); }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 560; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; font-variation-settings: "SOFT" 50, "WONK" 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 520; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { margin: 0 0 1.1em; text-wrap: pretty; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 720px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Gombok, címkék ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .82em 1.35em; border-radius: 999px; font: 600 .97rem/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-primary, .btn-dark { background: var(--mint); color: #fff; }
.btn-primary:hover, .btn-dark:hover { background: var(--mint-deep); color: #fff; }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--mint); color: #fff; border-color: var(--mint); }
.on-dark .btn-ghost { color: #fff; }
.on-dark .btn-ghost:hover { background: #fff; color: var(--teal-deep); border-color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.on-dark .eyebrow { color: #fff; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-2); line-height: 1.6; }
.on-dark .lead { color: rgba(255,255,255,.92); }

/* ---------- Fejléc ---------- */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color .2s; }
/* A homályosítás külön rétegen van, különben a fixed mobilmenü a fejléchez igazodna */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-in { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand-text { font: 600 .86rem/1.22 var(--sans); letter-spacing: -.005em; max-width: 260px; }
.brand-text span { display: block; font-weight: 450; color: var(--ink-3); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a.nl, .nav button.nl { display: flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font: 500 .95rem/1 var(--sans); background: none; border: 0; cursor: pointer; }
.nav a.nl:hover, .nav button.nl:hover, .nav li:focus-within > .nl { background: rgba(0,0,0,.05); }
.nav a.nl[aria-current="page"], .nav .nl.active { color: var(--teal-deep); font-weight: 600; }
.nav .nl svg { width: 14px; height: 14px; opacity: .6; transition: transform .2s; }
.sub { position: absolute; top: calc(100% + 8px); left: -8px; min-width: 300px; background: var(--card); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(20,30,28,.14); border: 1px solid var(--line); padding: 8px; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s ease; }
.sub::before { content: ""; position: absolute; inset: -10px 0 auto 0; height: 10px; }
.nav li:hover > .sub, .nav li:focus-within > .sub, .nav li.open > .sub { opacity: 1; visibility: visible; transform: none; }
.nav li:hover > .nl svg, .nav li.open > .nl svg { transform: rotate(180deg); }
.sub a { display: block; padding: 11px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.sub a:hover { background: var(--paper); }
.sub a b { display: block; font-weight: 600; font-size: .95rem; }
.sub a small { display: block; color: var(--ink-3); font-size: .82rem; line-height: 1.4; margin-top: 2px; }
.lang { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); font: 700 .74rem/1 var(--sans); letter-spacing: .06em; color: var(--ink); text-decoration: none; margin-left: 6px; }
.lang:hover { border-color: var(--ink); color: var(--ink); }
.nav .btn { margin-left: 8px; padding: .72em 1.15em; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle svg + svg, .menu-toggle[aria-expanded="true"] svg:first-child { display: none; }
.menu-toggle[aria-expanded="true"] svg + svg { display: block; }

@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 76px 0 0 0; background: var(--paper); flex-direction: column; align-items: stretch; padding: 16px 20px 32px; gap: 0; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; visibility: hidden; }
  .nav.open { transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav a.nl, .nav button.nl { font-size: 1.2rem; padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; font-family: var(--serif); font-weight: 500; }
  .nav a.nl:hover, .nav button.nl:hover, .nav li:focus-within > .nl { background: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 4px 0 8px 8px; min-width: 0; display: none; }
  .nav li.open > .sub { display: block; }
  .nav li:hover > .nl svg { transform: none; }
  .nav li.open > .nl svg { transform: rotate(180deg); }
  .nav .btn { margin: 24px 0 0; justify-content: center; font-size: 1.05rem; padding: 1em; }
  .lang { margin: 16px 0 0; width: auto; height: auto; border-radius: 999px; padding: 12px; }
  .brand-text { font-size: .8rem; max-width: 190px; }
}
@media (max-width: 380px) { .brand-text { display: none; } }

/* ---------- Szekciók ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-sm { padding: clamp(56px, 7vw, 88px) 0; }
.alt { background: var(--paper-2); }
.dark { background: var(--mint); color: #fff; }
.dark h2, .dark h3 { color: #fff; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 40px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head > div { max-width: 640px; }
.section-head h2 { margin-bottom: .3em; }
.section-head p { margin: 0; }

/* ---------- Főoldali hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 em { font-style: italic; font-weight: 420; color: var(--mint); }
.hero .lead { max-width: 540px; margin: 1.4rem 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; aspect-ratio: 1 / 1.02; }
.hero-media .ph { position: absolute; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--paper-2); }
.hero-media .ph img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .ph-1 { inset: 0 18% 26% 0; }
.hero-media .ph-2 { inset: 46% 0 0 34%; border: 6px solid var(--paper); }
.hero-badge { position: absolute; left: 4%; bottom: 4%; background: var(--mint); color: #fff; border-radius: 20px; padding: 18px 22px; max-width: 230px; box-shadow: var(--shadow); }
.hero-badge b { display: block; font: 560 2rem/1 var(--serif); color: #fff; margin-bottom: 8px; }
.hero-badge span { display: block; font-size: .86rem; line-height: 1.3; color: rgba(255,255,255,.92); }
.hero-molecule { position: absolute; right: -6%; top: -8%; width: 120px; opacity: .9; z-index: 2; }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; width: 100%; margin-inline: auto; }
}

/* ---------- Statisztika sáv ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 8px 28px; border-left: 1px solid rgba(255,255,255,.35); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font: 520 clamp(2.2rem, 4vw, 3.2rem)/1 var(--serif); color: #fff; letter-spacing: -.02em; margin-bottom: 12px; }
.stat span { display: block; font-size: .95rem; line-height: 1.45; color: rgba(255,255,255,.92); }
@media (max-width: 880px) { .stats { grid-template-columns: 1fr 1fr; gap: 32px 0; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } .stat { border-left: 0; padding: 0 0 24px; border-bottom: 1px solid rgba(255,255,255,.35); } .stat:last-child { border-bottom: 0; padding-bottom: 0; } }

/* ---------- Kettős elrendezés ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split.top { align-items: start; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; }
.split-media.soft { background: linear-gradient(160deg, var(--mint-soft), #eef7f3); padding: 8%; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split .order-first { order: -1; } }

/* ---------- Pillérek / fókuszterületek ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.pillar { background: var(--card); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.pillar .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--mint-soft); color: var(--teal-deep); display: grid; place-items: center; margin-bottom: 18px; }
.pillar .ico svg { width: 24px; height: 24px; }
.pillar h3 { font-size: 1.22rem; margin-bottom: .45em; }
.pillar p { margin: 0; color: var(--ink-2); font-size: .97rem; }
@media (max-width: 880px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Kártyák ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
a.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(20,30,28,.06), 0 18px 44px rgba(20,30,28,.14); color: var(--ink); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card-media.contain { background: linear-gradient(160deg, var(--mint-soft), #f1f9f6); display: grid; place-items: center; padding: 8%; }
.card-media.contain img { object-fit: contain; }
a.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .4em; }
.card-body p { color: var(--ink-2); font-size: .98rem; margin-bottom: 1.2em; }
.card-meta { font: 600 .76rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: .45em; font-weight: 600; font-size: .95rem; color: var(--ink); }
.card-link svg { width: 18px; height: 18px; transition: transform .2s; }
a.card:hover .card-link svg { transform: translateX(4px); }
.chip { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.94); color: var(--ink); font: 600 .78rem/1 var(--sans); padding: 8px 12px; border-radius: 999px; }
.chip.coral { background: var(--coral); color: #fff; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards, .cards.two { grid-template-columns: 1fr; } }

/* ---------- Rendezvény kiemelő ---------- */
.event-feature { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.event-feature + .event-feature { margin-top: 24px; }
.event-feature .media { position: relative; min-height: 340px; }
.event-feature .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-feature .body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.event-feature .amount { font: 520 clamp(2.4rem, 4.4vw, 3.4rem)/1 var(--serif); color: var(--mint); letter-spacing: -.02em; margin: 4px 0 6px; }
.event-feature .amount small { font-size: .45em; color: var(--ink-3); font-family: var(--sans); font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.event-feature .for { color: var(--ink-2); margin-bottom: 1.4em; }
.event-feature.reverse { grid-template-columns: 1fr 1.15fr; }
.event-feature.reverse .media { order: 2; }
@media (max-width: 880px) { .event-feature, .event-feature.reverse { grid-template-columns: 1fr; } .event-feature.reverse .media { order: 0; } .event-feature .media { min-height: 0; aspect-ratio: 16/10; } }

/* ---------- Csapat ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.member { background: var(--card); border-radius: var(--radius-lg); padding: 32px 28px; text-align: left; border: 1px solid var(--line); }
.member img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; margin-bottom: 22px; box-shadow: 0 0 0 6px var(--mint-soft); }
.member h3 { margin-bottom: .2em; }
.member .role { font: 600 .78rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.member p { color: var(--ink-2); margin: 0; font-size: .98rem; }
.member blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.08rem; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 880px) { .team { grid-template-columns: 1fr; } .member { display: grid; grid-template-columns: 88px 1fr; gap: 0 20px; align-items: start; } .member img { width: 88px; height: 88px; margin: 0; grid-row: span 3; } }

/* ---------- Támogatás / banki adatok ---------- */
.give { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.give h2 { color: #fff; }
.give-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 14px; }
.give-list li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255,255,255,.95); }
.give-list svg { width: 22px; height: 22px; flex: none; color: #fff; margin-top: 2px; }
.bank { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 40px); box-shadow: 0 30px 70px rgba(10,60,45,.25); }
.bank h3, .dark .bank h3 { color: var(--ink); display: flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.bank h3 svg { width: 24px; height: 24px; color: var(--teal); }
.bank-org { color: var(--ink-3); font-size: .92rem; margin: -4px 0 18px; }
.bank-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.bank-row dt { font: 600 .74rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 7px; }
.bank-row dd { margin: 0; font: 600 1.06rem/1.3 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .01em; word-break: break-word; }
.copy { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 8px 12px; font: 600 .8rem/1 var(--sans); cursor: pointer; transition: .15s; }
.copy:hover { border-color: var(--ink); }
.copy svg { width: 15px; height: 15px; }
.copy.done { background: var(--mint); border-color: var(--mint); color: #fff; }
.bank-note { margin: 18px 0 0; padding: 14px 16px; background: var(--mint-soft); border-radius: 14px; font-size: .92rem; color: var(--ink-2); line-height: 1.5; }
.bank-note b { color: var(--ink); }
@media (max-width: 880px) { .give { grid-template-columns: 1fr; } }

/* ---------- Kapcsolat ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 28px; background: var(--card); border-radius: var(--radius-lg); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: .2s; }
a.contact-card:hover { border-color: var(--ink); transform: translateY(-2px); color: var(--ink); }
.contact-card .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--mint); color: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card small { font: 600 .74rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.contact-card b { font: 560 1.2rem/1.35 var(--serif); word-break: break-word; }
.contact-card span { color: var(--ink-2); font-size: .94rem; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.map { margin-top: 24px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); aspect-ratio: 21/8; min-height: 260px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.legal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; margin: 32px 0 0; padding: 0; }
.legal div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.legal dt { color: var(--ink-3); }
.legal dd { margin: 0; font-weight: 600; text-align: right; }
@media (max-width: 640px) { .legal { grid-template-columns: 1fr; } }

/* ---------- Aloldal fejléc ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); position: relative; }
.page-hero h1 { max-width: 900px; }
.page-hero .lead { max-width: 680px; margin-top: 1.2rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .88rem; color: var(--ink-3); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.meta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .93rem; color: var(--ink-2); }
.meta svg { width: 17px; height: 17px; color: var(--teal); flex: none; }
.cover { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 9; box-shadow: var(--shadow); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .cover { aspect-ratio: 4/3; } }

/* ---------- Szöveges tartalom ---------- */
.prose { font-size: 1.06rem; color: var(--ink-2); }
.prose h2 { color: var(--ink); font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-top: 1.6em; }
.prose h3 { color: var(--ink); margin-top: 1.6em; }
.prose > :first-child { margin-top: 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ol, .prose ul { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .55em; }
.prose li::marker { color: var(--teal); font-weight: 700; }
.pull { font: italic 450 clamp(1.3rem, 2.4vw, 1.75rem)/1.4 var(--serif); color: var(--ink); border-left: 3px solid var(--mint); padding: 4px 0 4px 24px; margin: 1.6em 0; }
.big-number { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; padding: 26px 30px; background: var(--mint); border-radius: var(--radius-lg); color: #fff; margin: 0 0 2em; }
.big-number b { font: 520 clamp(2.4rem, 5vw, 3.6rem)/1 var(--serif); color: #fff; letter-spacing: -.02em; }
.big-number span { color: rgba(255,255,255,.92); max-width: 380px; line-height: 1.45; }

/* ---------- Funkciórács (TeleMedi) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.feature { background: var(--card); padding: 30px 28px; }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--mint-soft); color: var(--teal-deep); display: grid; place-items: center; margin-bottom: 18px; }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.15rem; margin-bottom: .4em; }
.feature p { margin: 0; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 880px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.steps, .prose .steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.prose .steps li { margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 22px 24px 22px 76px; background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); color: var(--ink-2); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 22px; top: 20px; font: 560 1.3rem/1 var(--serif); color: var(--teal); }
.phone { max-width: 320px; margin-inline: auto; filter: drop-shadow(0 30px 50px rgba(20,30,28,.2)); }

/* ---------- Galéria ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery a { display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--paper-2); cursor: zoom-in; }
.gallery a:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr 1fr; gap: 8px; } }
.gallery a:hover img { transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(18,22,23,.94); display: none; align-items: center; justify-content: center; padding: 64px 72px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.24); }
.lightbox button svg { width: 24px; height: 24px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: .9rem; }
@media (max-width: 640px) { .lightbox { padding: 64px 12px; } .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; } }

/* ---------- Támogatói logók ---------- */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.logos li { list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 16px; height: 104px; display: grid; place-items: center; padding: 18px 20px; }
.logos img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .78; transition: .2s; }
.logos li:hover img { filter: none; opacity: 1; }
.logos { padding: 0; margin: 0; }
.names { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0 0; list-style: none; }
.names li { padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .92rem; color: var(--ink-2); }
.group-label { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }

/* ---------- CTA sáv ---------- */
.cta { position: relative; overflow: hidden; background: var(--mint); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; }
.cta h2 { margin: 0 0 .3em; color: #fff; }
.cta p { margin: 0; color: rgba(255,255,255,.92); max-width: 560px; }
.cta .btn-dark { position: relative; z-index: 1; background: #fff; color: var(--teal-deep); }
.cta .btn-dark:hover { background: #fff; color: var(--ink); }
.cta-mol { position: absolute; right: -40px; bottom: -60px; width: 260px; opacity: .2; color: #fff; }
@media (max-width: 720px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Lábléc ---------- */
.site-footer { background: var(--mint); color: rgba(255,255,255,.92); padding: 80px 0 32px; margin-top: 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer .brand-text span { color: rgba(255,255,255,.85); }
.site-footer h4 { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 6px 0 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.3); margin-top: 56px; padding-top: 24px; font-size: .85rem; color: rgba(255,255,255,.85); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Belépő animáció ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound b { display: block; font: 520 clamp(5rem, 14vw, 9rem)/1 var(--serif); color: var(--mint); }
/* A hajtás feletti tartalom azonnal látszik (LCP) */
.hero .reveal, .page-hero .reveal { opacity: 1; transform: none; transition: none; }
