/* EU AI Act és EU CRA tanácsadás: egyszerű, sötét-világos sávokra bontott oldal, kevés mozgással */

@font-face { font-family: "Geist Fallback"; src: local("Arial"), local("Liberation Sans"), local("Helvetica"); size-adjust: 98.6%; ascent-override: 101.9%; descent-override: 29.9%; line-gap-override: 0%; }
@font-face { font-family: "Geist Mono Fallback"; src: local("Courier New"), local("Liberation Mono"), local("Courier"); size-adjust: 96.8%; ascent-override: 103.8%; descent-override: 30.5%; line-gap-override: 0%; }
@font-face { font-family: "Geist"; src: url("fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; src: url("fonts/geist-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; 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: "Geist Mono"; src: url("fonts/geist-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; 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; }

:root {
  --navy: #0e1f2e;
  --navy-2: #0a1622;
  --canvas: #ffffff;
  --tint: #f1f3f4;
  --ink: #15202b;
  --muted: #566170;
  --rule: #d9dee2;
  --accent: #1f8a91;
  --accent-bright: #4cc0c7;
  --on-dark: #f3f6f8;
  --on-dark-muted: #a9b7c3;
  --sans: "Geist", "Geist Fallback", system-ui, sans-serif;
  --mono: "Geist Mono", "Geist Mono Fallback", ui-monospace, monospace;
  --gutter: 20px;
  --bar-h: 64px;
  --hero-img: url("images/hero.jpg");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--bar-h); }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -100px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 20; }
.skip:focus { top: 8px; }

/* Fejléc: a hero fölött átlátszó, görgetés után tömör */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 10; height: var(--bar-h);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-inline: var(--gutter);
  color: var(--on-dark); background: transparent; border-bottom: 1px solid transparent;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.bar.is-solid { background: rgba(255,255,255,.97); color: var(--ink); border-bottom-color: var(--rule); backdrop-filter: blur(6px); }
.bar__label { margin: 0; font: 400 13px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.bar__nav { display: flex; gap: 22px; font-size: 14px; align-items: center; }
.bar__nav a { color: inherit; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s ease; }
.bar__nav a:hover { border-bottom-color: var(--accent-bright); }
.bar__nav a.is-active { border-bottom-color: var(--accent-bright); }
.bar__nav .bar__cta { border: 1px solid currentColor; padding: 8px 14px; border-radius: 2px; }
.bar__nav .bar__cta:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 760px) { .bar__nav a:not(.bar__cta) { display: none; } }

/* Hero */
.hero { position: relative; min-height: min(74vh, 660px); display: grid; align-items: center; color: var(--on-dark); background: var(--navy); overflow: hidden; }
.hero__bg {
  position: absolute; inset: -8% 0; z-index: 0;
  background:
    var(--hero-img) 80% center / cover no-repeat,
    radial-gradient(55% 70% at 82% 22%, rgba(76,192,199,.28), transparent 62%),
    radial-gradient(40% 50% at 10% 90%, rgba(31,138,145,.18), transparent 70%),
    linear-gradient(180deg, var(--navy), var(--navy-2));
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,22,34,.84) 0%, rgba(10,22,34,.78) 52%, rgba(10,22,34,.3) 82%, rgba(10,22,34,.08) 100%), linear-gradient(180deg, rgba(10,22,34,.4), rgba(10,22,34,0) 28%, rgba(10,22,34,.3)); }
.hero__inner { position: relative; z-index: 2; padding-block: calc(var(--bar-h) + 56px) 80px; }
.kicker, .eyebrow { margin: 0 0 24px; font: 400 13px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--accent-bright); }
.eyebrow { color: var(--accent); margin-bottom: 16px; }
.section--dark .eyebrow { color: var(--accent-bright); }
.hero__title { margin: 0; font-weight: 500; font-size: clamp(34px, 5.6vw, 66px); line-height: 1.06; letter-spacing: -.02em; max-width: 22ch; }
.rule { display: block; width: 56px; height: 3px; background: var(--accent); margin: 28px 0; }
.hero .rule, .section--dark .rule { background: var(--accent-bright); }
.hero__sub { margin: 0 0 14px; max-width: 46ch; font-size: clamp(19px, 2vw, 24px); line-height: 1.35; color: #fff; }
.hero__lead { margin: 0 0 40px; max-width: 56ch; font-size: 20px; color: var(--on-dark-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn { display: inline-block; padding: 14px 24px; border: 1px solid var(--accent); background: var(--accent); color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; border-radius: 2px; transition: background .2s ease, transform .2s ease; }
.btn:hover { background: #17737a; transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--light { background: #fff; color: var(--navy); border-color: #fff; }
.btn--light:hover { background: var(--accent-bright); border-color: var(--accent-bright); color: var(--navy); }

/* Szakaszok */
.section { padding: 96px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy); color: var(--on-dark); }
.section--photo { position: relative; background-color: var(--navy); background-repeat: no-repeat; background-size: cover; background-position: right center; }
.section--photo > .wrap { position: relative; }
.band-ai { background-image: linear-gradient(90deg, rgba(10,22,34,.72) 0%, rgba(10,22,34,.35) 55%, rgba(10,22,34,.1) 100%), url("images/band-ai.jpg"); }
.band-cra { background-image: linear-gradient(180deg, rgba(10,22,34,.2) 0%, rgba(10,22,34,.6) 55%, rgba(10,22,34,.9) 100%), linear-gradient(90deg, rgba(10,22,34,.55) 0%, rgba(10,22,34,.05) 70%), url("images/band-cra.jpg"); }
.section--photo .split { grid-template-columns: 1fr; gap: 0; }
.section--photo .split > * { max-width: 560px; }
@media (max-width: 760px) { .section--photo::before { content: ""; position: absolute; inset: 0; background: rgba(10,22,34,.5); } }
.section__title { margin: 0; font-weight: 500; font-size: clamp(28px, 3.8vw, 44px); line-height: 1.12; letter-spacing: -.015em; max-width: 24ch; }
.lede { max-width: 62ch; font-size: 19px; color: var(--on-dark-muted); margin: 0 0 8px; }
.prose p { margin: 0 0 16px; max-width: 60ch; }
.note { margin: 40px 0 0; max-width: 62ch; color: var(--muted); }
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; } }

/* Rólunk: három oszlop */
.trio { display: grid; gap: 32px; margin-top: 8px; }
.trio__item { border-top: 1px solid var(--rule); padding-top: 20px; }
.trio__item h3 { margin: 0 0 8px; font-weight: 500; font-size: 21px; }
.trio__item p { margin: 0; color: var(--muted); }
@media (min-width: 800px) { .trio { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* Szolgáltatások: kártyák */
.cards { display: grid; gap: 20px; margin-top: 8px; }
.card { border: 1px solid var(--rule); border-top: 3px solid var(--accent); padding: 24px; background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(14,31,46,.1); }
.card h3 { margin: 0 0 8px; font-weight: 500; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); } }

/* CRA idővonal */
.timelines { display: grid; gap: 48px; margin-top: 48px; }
@media (min-width: 900px) { .timelines { grid-template-columns: 1fr 1fr; gap: 64px; } }
.timeline__head { margin: 0 0 20px; font: 400 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-muted); }
.timeline__track { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 28px; }
.timeline__track::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.2); }
.station { position: relative; padding-left: 28px; opacity: .35; transition: opacity .5s ease; }
.station::before { content: ""; position: absolute; left: -4px; top: 11px; width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.3); transition: background .5s ease; }
.station.is-lit { opacity: 1; }
.station.is-lit::before { background: var(--accent-bright); }
.station__num { display: block; font: 500 36px/1.1 var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.station__text { display: block; color: var(--on-dark-muted); font-size: 16px; }
@media (min-width: 640px) {
  .timeline__track { grid-template-columns: repeat(3, 1fr); gap: 0; padding-top: 16px; }
  .timeline__track::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; }
  .station { padding-left: 0; padding-right: 20px; }
  .station::before { left: 0; top: -20px; }
}

.close { padding: 112px 0; background-image: linear-gradient(90deg, rgba(10,22,34,.72) 0%, rgba(10,22,34,.3) 60%, rgba(10,22,34,.08) 100%), url("images/cta.jpg"); background-size: cover; background-position: right center; background-repeat: no-repeat; }
.close .btn { margin-top: 28px; }
.close .lede { max-width: 34ch; color: #dbe5ec; text-shadow: 0 1px 10px rgba(10,22,34,.6); }
.close .section__title { max-width: 18ch; }

.foot { padding: 28px 0 40px; background: var(--navy-2); color: var(--on-dark-muted); font-size: 14px; }
.foot p { margin: 0 0 4px; }
.foot a { color: inherit; text-underline-offset: 3px; }
.foot a:hover { color: #fff; }

/* Calendly: sima külső link */
.cal-note { margin: 14px 0 0; font-size: 14px; opacity: .75; }
.calendly-wrap { margin-top: 32px; max-width: 820px; background: #fff; color: var(--ink); }
.calendly-note { margin: 0; padding: 12px 18px; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--rule); }

/* Impresszum oldal */
.legal { padding: calc(var(--bar-h) + 64px) 0 96px; min-height: 70vh; }
.legal__inner { max-width: 760px; }
.legal__title { margin: 0; font-weight: 500; font-size: clamp(32px, 4.5vw, 52px); line-height: 1.1; letter-spacing: -.02em; }
.legal h2 { margin: 36px 0 8px; font: 400 13px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.legal p { margin: 0 0 8px; }
.legal a { color: var(--accent); }
.foot .foot__note { font-size: 13px; opacity: .8; }

/* Belépő mozgás: finom, egyszeri */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .station, .station::before, .bar, .btn, .card { transition: none; }
  .station { opacity: 1; }
  .hero__bg { transform: none !important; }
}
.legal__date { margin-top: 36px; font-size: 14px; color: var(--muted); }
