/* FeloConverter — a FeloWeb Alap sablon megjelenésére épül (a színek a
   :root blokkban vannak). A widget- és reklám-sáv kiegészítő stílusai a
   konvertalo.css-ben vannak, erre a fájlra építve. */
:root {
  color-scheme: light;
  --ink: #101a2e;
  --muted: #53647a;
  --paper: #f4f7fc;
  --navy: #000e1b;
  --blue: #009eff;
  --violet: #8358ff;
  --gradient: linear-gradient(110deg, #009fff, #4776ff 55%, #9455ff);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --maxw: 1280px;
  --accent-text: #0071db;
  --border: #dce5f0;
  --text: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; overflow-x: clip; color: var(--ink); background: var(--paper); font: 400 1rem/1.7 'Manrope', 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
img, svg { max-width: 100%; }
img { display: block; }
svg { vertical-align: middle; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-weight: 800; letter-spacing: -.055em; line-height: 1.1; }
h2 { font-size: clamp(2rem, 3.3vw, 2.9rem); margin-bottom: 0; }
h3 { font-size: 1.13rem; letter-spacing: -.035em; line-height: 1.35; }
p { margin-bottom: 1.2em; }
::selection { color: white; background: #5266ec; }
:focus-visible { outline: 3px solid #258cff; outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(100%, var(--maxw)); margin-inline: auto; padding-inline: 40px; }
section { position: relative; padding-block: 96px; }
.band-dark { --text: #f5f8fd; --muted: #a6bad0; --accent-text: #42c9ff; --border: #1b3149; color: var(--text); background: var(--navy); color-scheme: dark; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--accent-text); font-size: .75rem; font-weight: 700; line-height: 1.7; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
.eyebrow::before { content: ''; width: 24px; height: 1px; flex: none; background: currentColor; opacity: .7; }
.grad-text { color: #68b8ff; background: linear-gradient(110deg, #a3e8ff, #26b4ff 30%, #6880ff 65%, #a66aff); background-size: 160% 100%; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.sub { font-size: 1rem; line-height: 1.7; color: var(--muted); margin: 18px 0 0; max-width: 54ch; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 40px; }
.head-row .head { max-width: 720px; }
.icon { flex: none; }
.skip-link { position: fixed; top: 12px; left: 12px; transform: translateY(-150%); background: white; color: var(--ink); border-radius: 12px; padding: 12px 20px; z-index: 200; }
.skip-link:focus { transform: none; }
.reading-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; background: var(--gradient); transform-origin: left; transform: scaleX(var(--read-progress, 0)); pointer-events: none; }
/* Ambient cursor aura: screen-blends to near-nothing over light sections, so it only ever glows over dark bands. */
.cursor-aura { position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: 0; mix-blend-mode: screen; transition: opacity .6s ease; background: radial-gradient(600px circle at var(--cx,50%) var(--cy,30%),#4f8dff29,#8358ff16 42%,transparent 72%); }
.cursor-aura.is-active { opacity: 1; }
@media(hover:none) { .cursor-aura { display: none; } }
/* Header */
header.site { --header-progress: 0; position: sticky; top: 0; z-index: 50; margin-bottom: -100px; background: rgba(0,14,27,calc(var(--header-progress) * .38)); border-bottom: 1px solid rgba(255,255,255,calc(var(--header-progress) * .13)); backdrop-filter: blur(calc(var(--header-progress) * 34px)) saturate(calc(100% + var(--header-progress) * 60%)); -webkit-backdrop-filter: blur(calc(var(--header-progress) * 34px)) saturate(calc(100% + var(--header-progress) * 60%)); transition: background .45s ease-out, backdrop-filter .45s ease-out, -webkit-backdrop-filter .45s ease-out, border-color .3s ease-out, box-shadow .3s ease-out; }
header.site::after { content: ''; position: absolute; z-index: -1; inset: 100% 0 auto; height: 42px; pointer-events: none; opacity: var(--header-progress); background: linear-gradient(to bottom,rgba(0,14,27,.2),transparent); filter: blur(9px); mask-image: linear-gradient(#000,transparent); }
header.site.is-scrolled { box-shadow: 0 12px 38px #0000001a; }
.nav { max-width: var(--maxw); padding: 22px 40px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: none; gap: 10px; line-height: 0; }
.brand-ribbon { width: 60px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-text .word { font-weight: 800; font-size: 32px; letter-spacing: -.055em; line-height: 1.12; color: #fff; }
.brand-text .hl { color: #00aeef; }
.brand-tag { font-size: 12px; line-height: 1.6; letter-spacing: .055em; color: #bacbdc; }
.brand-logo { display: block; width: 230px; height: auto; max-height: none; object-fit: contain; }
nav.links { display: flex; align-items: center; gap: 27px; }
nav.links a { position: relative; padding-block: 10px; color: #b9c9da; font-size: .875rem; font-weight: 500; transition: color .2s; }
nav.links a::after { content: ''; position: absolute; height: 2px; inset: auto 0 0; background: var(--gradient); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
nav.links a:hover, nav.links a.active { color: #fff; }
nav.links a:hover::after, nav.links a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #294057; border-radius: 12px; background: transparent; color: white; }
.nav-login-btn { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border: 1px solid #294057; border-radius: 12px; background: transparent; color: #b9c9da; transition: color .2s, border-color .2s, background .2s; }
.nav-login-btn:hover { color: #fff; border-color: #3b6cf4; background: #3b6cf41a; }
/* Buttons */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 1px solid transparent; border-radius: 999px; padding: 16px 26px; font-size: .875rem; font-weight: 700; line-height: 1.5; transition: transform .35s var(--ease), box-shadow .35s, background .25s, border-color .25s; }
.btn-primary { color: #fff; background: var(--gradient); box-shadow: 0 6px 22px #4776ff20, inset 0 1px #ffffff25; }
.btn-primary::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(115deg, transparent 20%, #ffffff35 45%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-primary:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-3px); }
.btn-primary:hover { box-shadow: 0 12px 32px #426eff45; }
.btn:active { transform: translateY(0); }
.btn-outline { color: #e9f3ff; border-color: #7890a266; background: #ffffff03; }
.btn-outline:hover { border-color: #61bbff; background: #ffffff08; }
.btn-sm { padding: 12px 22px; }
/* Hero */
.hero { padding: 104px 0 54px; overflow: hidden; isolation: isolate; background: linear-gradient(90deg,#00101ddd 0%,#00101d99 27%,#00101d22 53%,#00101d00 72%),url('hero-full-background.png') center / cover no-repeat; }
.hero::before { display: none; }
.hero-gridlines { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(#679bda08 1px,transparent 1px),linear-gradient(90deg,#679bda08 1px,transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg,#000 0,transparent 56%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.28fr; align-items: center; gap: 0; min-height: 360px; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.6rem,4.75vw,4.5rem); margin-bottom: 20px; line-height: 1.08; }
.hero .lead { max-width: 43ch; color: #c0d1e2; font-size: 1.0625rem; line-height: 1.8; margin-bottom: 22px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-features { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-feature { display: flex; align-items: center; gap: 9px; color: #b9cfe3; font-size: .75rem; }
.hero-feature .icon { width: 22px; height: 22px; color: #6b93ff; }
.hero-visual { position: relative; z-index: 1; min-width: 0; align-self: center; width: 100%; aspect-ratio: 4 / 3; }
.hero-laptop-art { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; filter: drop-shadow(0 28px 38px #0009); }
.scroll-cue { display: flex; align-items: center; justify-content: center; position: absolute; bottom: 24px; right: max(40px,calc((100vw - 1200px)/2)); height: 40px; width: 28px; border: 1px solid #416783; border-radius: 20px; color: #58c4fc; }
.scroll-cue svg { animation: scroll-hint 2.5s ease-in-out infinite; }
/* Services */
#szolgaltatasok { padding-bottom: 148px; background: radial-gradient(ellipse at 15% 5%,#e5f2ff 0,transparent 37%),linear-gradient(180deg,#f4f8fd 0%,#fff 54%,#e5edf7 79%,#031728 100%); }
.services-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.service-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 18px; padding: 32px 27px 28px; border: 1px solid #dbe7f5; border-radius: 24px; background: linear-gradient(145deg,#ffffff,#f6faff); box-shadow: 0 18px 44px #16456d14; transition: transform .5s var(--ease),border-color .35s,box-shadow .5s; }
.service-card::before, .work-card::before, .contact-form::before { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(360px circle at var(--pointer-x,50%) var(--pointer-y,0%),#55a8ff12,transparent 70%); opacity: 0; transition: opacity .4s; }
/* A szolgáltatás-kártyák kiemelése szándékosan CSAK :hover — nem :focus-within.
   A "Részletek" ablak bezárásakor a fókusz visszakerül a kártyán belüli gombra,
   és a :focus-within attól megemelve ragasztotta a kártyát. A billentyűzetes
   visszajelzést a .card-open:focus-visible fókuszgyűrűje adja. */
.service-card:hover::before,.work-card:hover::before,.contact-form:hover::before,.contact-form:focus-within::before { opacity: 1; }
.service-card::after { content: ''; position: absolute; top: 0; left: 28px; right: 28px; height: 2px; background: var(--gradient); border-radius: 0 0 99px 99px; opacity: .55; transform: scaleX(.44); transform-origin: left; transition: transform .45s var(--ease),opacity .35s; }
.service-card:hover { transform: translateY(-8px); border-color: #a8c9ff; box-shadow: 0 30px 66px #24579922; }
.service-card:hover::after { opacity: 1; transform: scaleX(1); }
.card-index { position: absolute; top: 24px; right: 23px; color: #94a7bf; font-size: .75rem; letter-spacing: .06em; }
.tile { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 62px; height: 62px; border: 1px solid #b9dcff; border-radius: 22px 22px 22px 8px; background: linear-gradient(145deg,#f6fbff,#dbeeff); color: #087cff; box-shadow: 0 12px 22px #1683ec1a,inset 0 1px #fff; transition: background .3s,transform .5s var(--ease),box-shadow .4s; }
.tile::before { content: ''; position: absolute; z-index: -1; width: 30px; height: 30px; border-radius: 50%; background: #fff9; filter: blur(3px); }
.tile svg { width: 29px; height: 29px; stroke-width: 1.8; }
.service-card:nth-child(2) .tile { color: #7753ff; border-color: #d4c7ff; background: linear-gradient(145deg,#faf8ff,#e8e2ff); box-shadow: 0 12px 22px #815cff1c,inset 0 1px #fff; }
.service-card:nth-child(3) .tile { color: #00aebc; border-color: #b8edeb; background: linear-gradient(145deg,#f5ffff,#d6f7f2); box-shadow: 0 12px 22px #00aebc19,inset 0 1px #fff; }
.service-card:nth-child(4) .tile { color: #d6941a; border-color: #f3dca3; background: linear-gradient(145deg,#fffaf0,#ffedc7); box-shadow: 0 12px 22px #d6941a1c,inset 0 1px #fff; }
.service-card:hover .tile { transform: rotate(-6deg) translateY(-2px); box-shadow: 0 18px 28px #1683ec29,inset 0 1px #fff; }
.service-card h3 { margin: 4px 0 0; }
.service-card p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; color: #086fdf; font-size: .875rem; font-weight: 700; transition: letter-spacing .3s; }
.card-link:hover { letter-spacing: .02em; }
/* Process */
#folyamat { margin-top: -1px; padding-top: 118px; padding-bottom: 150px; overflow: hidden; background: radial-gradient(ellipse at 50% 54%,#0b2846,transparent 58%),linear-gradient(180deg,#031728 0%,#001426 64%,#eaf0f7 100%); }
#folyamat .head-row { margin-bottom: 56px; }
#folyamat .head { max-width: 600px; }
#folyamat .sub { max-width: 32ch; margin: 0; }
.process-row { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.process-row::before { content: ''; position: absolute; top: 37px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg,#3ac6ff66,#6e56ff77,#3ac6ff44); transform-origin: left; transition: transform 1.6s var(--ease); }
.motion-ready .process-row::before { transform: scaleX(0); }
.motion-ready .process-row.is-visible::before { transform: scaleX(1); }
.process-step { position: relative; isolation: isolate; text-align: center; width: 180px; }
.process-node { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 76px; margin-bottom: 24px; border: 1px solid #2a5279; border-radius: 50%; background: radial-gradient(circle at 30% 20%,#12375b,#07192d); color: #d2efff; box-shadow: 0 0 0 9px #041323, 0 16px 32px #00101f7a; transition: border-color .3s,transform .4s,box-shadow .4s; }
.process-node svg { width: 30px; height: 30px; }
.process-step:hover .process-node { transform: translateY(-4px); border-color: #63b9ff; box-shadow: 0 0 0 9px #041323,0 16px 32px #00101f7a,0 0 40px #277ae233; }
.process-step h3 { font-size: 1rem; margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: .875rem; line-height: 1.6; margin: 0; }
.process-arrow { display: flex; align-items: center; justify-content: center; color: #5f8bb0; margin-top: 25px; position: relative; transition: color .35s, transform .35s var(--ease), filter .35s; }
.process-step:hover + .process-arrow, .process-arrow:has(+ .process-step:hover) { color: #8ec9ff; transform: translateX(3px); filter: drop-shadow(0 0 10px #3aa0ff5c); }
.process-arrow:nth-of-type(1) svg { animation-delay: 0s; }
.process-arrow:nth-of-type(2) svg { animation-delay: .35s; }
.process-arrow:nth-of-type(3) svg { animation-delay: .7s; }
.process-arrow:nth-of-type(4) svg { animation-delay: 1.05s; }
/* Project gallery */
#munkak { margin-top: -1px; background: radial-gradient(ellipse at 82% 2%,#dcecff 0,transparent 33%),linear-gradient(180deg,#eaf0f7,#fff 62%,#f5f8fc); }
#munkak>.wrap { display: block; }
#munkak .head { max-width: 740px; }
#munkak .sub { max-width: 62ch; }
.work-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.work-card { position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e1e9f3; border-radius: 18px; background: white; box-shadow: 0 10px 26px #16456d0d; transition: transform .5s var(--ease),box-shadow .5s; }
.work-card:hover { transform: translateY(-7px); box-shadow: 0 24px 48px #1d39571c; }
.work-visual { aspect-ratio: 1.5; overflow: hidden; background: #e3ebf5; border-bottom: 1px solid #e2eaf4; }
.project-art, .work-visual img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease),filter .6s; }
.work-card:hover .project-art, .work-card:hover .work-visual img { transform: scale(1.055); filter: saturate(1.12); }
.work-visual { position: relative; }
.work-body { padding: 24px 20px; display: flex; flex-direction: column; gap: 16px; }
.work-body h3 { margin: 0; font-size: 1.0625rem; order: -1; }
.work-body p { font-size: .9375rem; line-height: 1.7; color: var(--muted); margin: 0; }
.work-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.work-tag { font-size: .75rem; line-height: 1.5; padding: 5px 9px; border-radius: 6px; color: #446188; background: #eef4fc; }
/* About */
#rolam { background: linear-gradient(180deg,#f5f8fc,#fff 32%); border-top: 0; }
.about-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.about-row h2 { max-width: 13ch; font-size: clamp(2.4rem,4.2vw,3.7rem); }
.about-row p:not(.eyebrow) { color: var(--muted); font-size: 1.0625rem; line-height: 1.9; }
.about-row strong { color: var(--ink); }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.tag { border: 1px solid #e1e9f3; padding: 8px 14px; border-radius: 999px; background: #f9fbfe; font-size: .875rem; }
/* Contact */
#kapcsolat { background: radial-gradient(ellipse at 0 40%,#e5efff,transparent 60%),linear-gradient(180deg,#fff,#f4f7fc); border-top: 0; }
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: start; }
.contact-copy h2 { font-size: clamp(2.1rem,3.9vw,3.3rem); max-width: 13ch; margin-bottom: 26px; }
.contact-copy p { color: var(--muted); max-width: 43ch; line-height: 1.8; }
.contact-methods { display: flex; flex-direction: column; gap: 18px; margin-top: 36px; }
.contact-method { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 1rem; transition: color .3s; }
.contact-method:hover { color: #087cff; }
.contact-method .tile { background: #fff; }
.contact-form { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 24px; background: #fff; padding: 36px; border: 1px solid #e0e9f5; border-radius: 24px; box-shadow: 0 20px 60px #1f4d8208; transition: box-shadow .5s var(--ease), border-color .35s; }
.contact-form:focus-within { border-color: #a8c9ff; box-shadow: 0 26px 66px #1f4d8214; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field label { font-size: .875rem; font-weight: 600; color: #42546d; transition: color .2s; }
.field:focus-within label { color: #0b76ef; }
.field input,.field textarea { width: 100%; min-width: 0; color: var(--ink); background: #f8fafd; border: 1px solid #dce5f0; border-radius: 12px; padding: 14px 16px; font-size: 1rem; line-height: 1.5; transition: border-color .25s,box-shadow .25s,background .25s; }
.field textarea { resize: vertical; min-height: 144px; }
.field input::placeholder,.field textarea::placeholder { color: #78899e; }
.field input:focus,.field textarea:focus { outline: none; border-color: #528aff; background: white; box-shadow: 0 0 0 4px #4a85ff12; }
.field input:user-invalid,.field textarea:user-invalid { border-color: #be4263; }
.contact-form .btn { justify-content: space-between; padding-inline: 24px; }
.form-note { color: #687b91; font-size: .8125rem; line-height: 1.7; margin: -6px 0 0; }
/* ── Szolgáltatás-kártya lábléce és a "Részletek" gomb ────────────────────── */
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.card-foot .card-link { margin-top: 0; }
.service-card[data-opens] { cursor: pointer; }
.card-open { display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 8px 13px 8px 15px; border: 1px solid #dbe7f5; border-radius: 999px; background: #f4f9ff; color: #2c6fb5; font-size: .78rem; font-weight: 700; line-height: 1.3; cursor: pointer; transition: background .25s, border-color .25s, color .25s, box-shadow .3s; }
.card-open svg { transition: transform .35s var(--ease); }
.service-card:hover .card-open, .card-open:hover { background: #fff; border-color: #a8c9ff; color: #0a5fc4; box-shadow: 0 6px 16px #1683ec1c; }
.service-card:hover .card-open svg, .card-open:hover svg { transform: translateX(3px); }
.card-open:focus-visible { outline: 2px solid #3b6cf4; outline-offset: 3px; }

/* ── "Részletek" ablak ────────────────────────────────────────────────────
   Natív <dialog>: a böngésző adja a fókuszcsapdát, az Esc-et és a hátteret.
   A nyitás a megnyomott csempe helyéről indul (a JS a --fx/--fy/--fs
   értékeket számolja ki), így a kártya "előrejön és megnő" érzetet kelt. */
.svc-dialog { width: min(680px, calc(100vw - 32px)); max-width: none; max-height: min(86vh, 880px); padding: 0; border: 0; background: transparent; overflow: visible; color: var(--ink); }
.svc-dialog::backdrop { background: rgba(4, 18, 34, .52); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); opacity: 0; transition: opacity .32s ease; }
.svc-dialog.is-open::backdrop { opacity: 1; }

.svc-panel { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; max-height: min(86vh, 880px); padding: 34px 34px 26px; border: 1px solid #e2ecf8; border-radius: 24px; background: linear-gradient(160deg, #fff, #f7fbff); box-shadow: 0 44px 96px #0b2c5038, 0 4px 16px #0b2c5014; opacity: 0; transform: translate(var(--fx, 0px), var(--fy, 0px)) scale(var(--fs, .94)); transition: opacity .28s ease, transform .44s cubic-bezier(.22,.8,.28,1); will-change: transform, opacity; }
.svc-dialog.is-open .svc-panel { opacity: 1; transform: none; }
.svc-panel::after { content: ''; position: absolute; top: 0; left: 34px; right: 34px; height: 2px; background: var(--gradient); border-radius: 0 0 99px 99px; }

.svc-close { position: absolute; top: 15px; right: 15px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid #e3ecf7; border-radius: 12px; background: #fff; color: #64798f; cursor: pointer; transition: color .2s, border-color .2s, background .2s, transform .3s var(--ease); }
.svc-close:hover { color: var(--ink); border-color: #c2d6ec; background: #f4f9ff; transform: rotate(90deg); }
.svc-close:focus-visible { outline: 2px solid #3b6cf4; outline-offset: 2px; }

.svc-head { display: flex; align-items: center; gap: 16px; flex: none; padding-right: 44px; }
.svc-eyebrow { margin: 0 0 4px; color: #7e93ab; font-size: .69rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.svc-head h3 { margin: 0; font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.25; }
.svc-panel[data-icon="erp"] .tile { color: #7753ff; border-color: #d4c7ff; background: linear-gradient(145deg,#faf8ff,#e8e2ff); box-shadow: 0 12px 22px #815cff1c, inset 0 1px #fff; }
.svc-panel[data-icon="ai"]  .tile { color: #00aebc; border-color: #b8edeb; background: linear-gradient(145deg,#f5ffff,#d6f7f2); box-shadow: 0 12px 22px #00aebc19, inset 0 1px #fff; }
.svc-panel[data-icon="ops"] .tile { color: #d6941a; border-color: #f3dca3; background: linear-gradient(145deg,#fffaf0,#ffedc7); box-shadow: 0 12px 22px #d6941a1c, inset 0 1px #fff; }

.svc-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; margin-top: 22px; padding-right: 8px; scrollbar-width: thin; scrollbar-color: #ccdcef transparent; overscroll-behavior: contain; }
.svc-body p { margin: 0 0 15px; color: #46596e; font-size: 1rem; line-height: 1.78; }
.svc-body p:last-child { margin-bottom: 0; }
.svc-body::-webkit-scrollbar { width: 8px; }
.svc-body::-webkit-scrollbar-track { background: transparent; }
.svc-body::-webkit-scrollbar-thumb { background: #ccdcef; border-radius: 99px; }
.svc-body::-webkit-scrollbar-thumb:hover { background: #b3c9e2; }

.svc-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; flex: none; margin-top: 22px; padding-top: 20px; border-top: 1px solid #e8eff8; }
.svc-foot .btn { padding: 13px 22px; font-size: .84rem; }
.btn-ghost { color: #52677e; border-color: #dfe8f3; background: #fff; }
.btn-ghost:hover { color: var(--ink); border-color: #bed2ea; background: #f6faff; }

/* A háttér görgetésének zárolása, a görgetősáv eltűnése miatti ugrás nélkül. */
body.svc-open { overflow: hidden; padding-right: var(--scrollbar-w, 0px); }

@media(max-width:640px) {
  .svc-dialog { width: calc(100vw - 20px); max-height: 90vh; }
  .svc-panel { max-height: 90vh; padding: 26px 20px 20px; border-radius: 20px; }
  .svc-panel::after { left: 20px; right: 20px; }
  .svc-head { gap: 13px; padding-right: 42px; }
  .svc-body { margin-top: 18px; padding-right: 4px; }
  .svc-body p { font-size: .9375rem; line-height: 1.72; }
  .svc-foot { margin-top: 18px; padding-top: 16px; }
  .svc-foot .btn { flex: 1 1 100%; justify-content: center; }
}

@media(prefers-reduced-motion:reduce) {
  .svc-panel { transition-duration: .01ms; transform: none; }
  .svc-dialog::backdrop { transition-duration: .01ms; }
  .svc-close:hover { transform: none; }
}

.form-status { color: #0864c1; font-size: .875rem; margin: 0; }
.form-status:empty { display: none; }
.form-status.is-error { color: #c0392b; }
/* Csali mező robotoknak: a látogató nem látja, a robot kitölti — ha kitöltötték, eldobjuk. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Closing and footer */
.cta-band { overflow: hidden; padding: 126px 0 64px; isolation: isolate; background: radial-gradient(ellipse at 80% 120%,#4240b7aa,transparent 65%),radial-gradient(ellipse at 100% 16%,#00608966,transparent 60%),linear-gradient(180deg,#f4f7fc 0%,#00162a 40%,#00162a 100%); }
.cta-band::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(120deg,transparent 25%,#7284ff12 45%,transparent 65%); background-size: 200% 100%; pointer-events: none; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { font-size: clamp(1.8rem,3.2vw,2.6rem); max-width: 24ch; }
.cta-inner>div>p:not(.eyebrow) { display: none; }
.cta-right { display: flex; flex-direction: column; align-items: center; gap: 14px; flex: none; }
.cta-right .btn { padding: 17px 32px; }
.cta-note { color: #b7c7de; font-size: .75rem; }
footer.site { padding-top: 58px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr 1fr .9fr; gap: 44px; padding-bottom: 44px; }
footer .brand-logo { width: 220px; }
.footer-blurb { color: #91a9c1; font-size: .875rem; line-height: 1.8; margin: 22px 0 0; max-width: 30ch; }
.footer-col h4 { font-size: .875rem; font-weight: 600; margin: 0 0 20px; color: #e0eafa; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a,.footer-contact-item { color: #9db2c9; font-size: .875rem; transition: color .2s; }
.footer-col ul a:hover { color: #59c4ff; }
.stat { margin-bottom: 18px; }
.stat:last-child { margin-bottom: 0; }
.stat .num { font-size: 1.8rem; letter-spacing: -.045em; font-weight: 700; line-height: 1.25; color: #f2f7fd; }
.stat .lbl { color: #91a7bf; font-size: .75rem; line-height: 1.5; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; border-top: 1px solid #1b2d40; color: #8299b0; font-size: .75rem; }
.footer-signature { color: #a3b7ce; }
.footer-admin-link { display: inline-flex; align-items: center; gap: 6px; color: #6b7f96; transition: color .2s; }
.footer-admin-link:hover { color: #8fb2ff; }
/* Progressive enhancement: readable without JavaScript or animation support. */
@keyframes scroll-hint { 0%,100%{transform:translateY(-3px);opacity:.55} 50%{transform:translateY(3px);opacity:1} }
@keyframes float-art { 0%,100%{translate:0 0} 50%{translate:0 -10px} }
@keyframes gradient-flow { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
@keyframes enter-hero { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:none} }
@keyframes arrow-pulse { 0%,100%{opacity:.6;transform:translateX(0)} 50%{opacity:1;transform:translateX(2px)} }
@media(prefers-reduced-motion:no-preference) {
  .hero .eyebrow { animation: enter-hero .8s var(--ease) both; }
  .hero h1 { animation: enter-hero 1s .08s var(--ease) both; }
  .hero .lead { animation: enter-hero 1s .16s var(--ease) both; }
  .hero-ctas { animation: enter-hero 1s .24s var(--ease) both; }
  .grad-text,.cta-band::before { animation: gradient-flow 12s ease-in-out infinite; }
  .process-arrow svg { animation: arrow-pulse 2.8s ease-in-out infinite; }
  .motion-ready [data-reveal] { transition: opacity .9s var(--ease),translate .9s var(--ease),scale .9s var(--ease); transition-delay: var(--reveal-delay,0ms); }
  .motion-ready [data-reveal]:not(.is-visible) { opacity: 0; translate: 0 24px; scale: .97; }
  .motion-ready [data-reveal].is-visible { opacity: 1; translate: 0 0; scale: 1; }
}
body.page-paused * { animation-play-state: paused !important; }
@media(min-width:1500px) { .hero-grid { min-height: 400px; } }
@media(max-width:1120px) {
  .nav,.wrap { padding-inline: 30px; }
  .nav { gap: 20px; }
  nav.links { gap: 18px; }
  .brand-logo { width: 200px; }
  .nav .btn-sm { padding-inline: 18px; }
  .hero-grid { grid-template-columns: .94fr 1.16fr; min-height: 380px; }
  .hero h1 { font-size: clamp(2.6rem,4.7vw,3.5rem); }
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn { padding-inline: 20px; }
  .services-grid,.work-grid { gap: 16px; }
  .service-card { padding: 24px 20px; }
  .service-card h3 { font-size: 1.0625rem; }
  .service-card p { font-size: .9375rem; }
  .work-body { padding: 22px 18px; }
  .about-row { gap: 48px; }
  .contact-grid { gap: 44px; }
  .footer-grid { gap: 30px; }
}
@media(min-width:901px) {
  .hero-grid { min-height: clamp(410px,38vw,500px); }
}
@media(max-width:900px) {
  section { padding-block: 72px; }
  .nav { padding-block: 16px; }
  nav.links { gap: 14px; }
  .nav-actions .btn-sm { display: none; }
  .hero { padding: 144px 0 64px; }
  .hero::before { content: ''; position: absolute; z-index: 0; inset: 0; display: block; background: linear-gradient(90deg,#00101df0 0%,#00101dc7 65%,#00101d22 100%); pointer-events: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-copy { max-width: 640px; }
  .hero h1 { font-size: clamp(2.8rem,7.5vw,4.6rem); max-width: 12ch; }
  .hero .lead { max-width: 51ch; }
  .hero-ctas { margin-bottom: 28px; }
  .hero-visual { width: min(100%,640px); margin: 0 auto; }
  .services-grid,.work-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .service-card { padding: 30px; }
  .service-card h3 { font-size: 1.2rem; }
  .service-card p { font-size: 1rem; }
  .work-body { padding: 26px; }
  .work-body h3 { font-size: 1.2rem; }
  .head-row { align-items: flex-start; flex-direction: column; gap: 18px; }
  #folyamat .sub { max-width: 52ch; }
  .process-step { width: 140px; }
  .process-node { width: 64px; height: 64px; box-shadow: 0 0 0 5px #041323; }
  .process-row::before { top: 31px; }
  .process-arrow { display: none; }
  .process-step h3 { font-size: .875rem; }
  .process-step p { font-size: .8125rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-copy h2 { max-width: none; }
  .contact-copy p { max-width: 60ch; }
  .contact-methods { flex-direction: row; flex-wrap: wrap; gap: 24px; margin-top: 26px; }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 30px; }
  .cta-inner h2 { max-width: none; }
  .cta-right { align-items: flex-start; }
  .footer-grid { grid-template-columns: 1.3fr 1fr; gap: 36px 50px; }
}
@media(max-width:620px) {
  html { scroll-padding-top: 96px; }
  .wrap,.nav { padding-inline: 22px; }
  section { padding-block: 58px; }
  .brand-logo { width: 205px; max-height: 64px; }
  .brand-ribbon { width: 48px; height: 36px; }
  .brand-text .word { font-size: 28px; }
  .brand-tag { font-size: 11px; }
  .nav { min-height: 82px; padding-block: 14px; gap: 16px; }
  .menu-toggle { display: inline-flex; flex: none; }
  nav.links { display: none; position: absolute; inset: 100% 12px auto; padding: 12px; flex-direction: column; align-items: stretch; gap: 2px; background: #071b2e; border: 1px solid #21394f; border-radius: 16px; box-shadow: 0 24px 50px #0005; }
  header.open nav.links { display: flex; }
  nav.links a { padding: 12px 16px; border-radius: 8px; font-size: 1rem; }
  nav.links a::after { display: none; }
  nav.links a.active { background: #193753; color: white; }
  header.site { margin-bottom: -82px; }
  .hero { padding-top: 116px; padding-bottom: 64px; }
  .hero-grid { gap: 22px; }
  .hero .eyebrow { font-size: .6875rem; letter-spacing: .15em; gap: 8px; }
  .hero .eyebrow::before { width: 16px; }
  .hero h1 { font-size: clamp(2.5rem,10.8vw,3.6rem); margin-bottom: 24px; }
  .hero .lead { font-size: 1rem; line-height: 1.8; margin-bottom: 26px; }
  .hero-ctas { gap: 12px; }
  .hero-ctas .btn { padding: 14px 20px; }
  .hero-features { gap: 14px 18px; }
  .hero-feature { font-size: .75rem; }
  .hero-visual { aspect-ratio: 5 / 4; }
  .scroll-cue { right: 24px; bottom: 18px; }
  .head-row { margin-bottom: 28px; }
  .eyebrow { font-size: .75rem; margin-bottom: 14px; }
  h2 { font-size: clamp(1.85rem,7.8vw,2.4rem); }
  .sub { font-size: 1rem; }
  .services-grid,.work-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-card { padding: 28px; border-radius: 18px; gap: 16px; }
  .service-card h3 { font-size: 1.25rem; }
  #folyamat .head-row { margin-bottom: 34px; }
  .process-row { flex-direction: column; gap: 30px; }
  .process-row::before { top: 32px; bottom: 32px; left: 31px; right: auto; height: auto; width: 1px; background: linear-gradient(#3ac6ff66,#6e56ff77); transform-origin: top; }
  .motion-ready .process-row::before { transform: scaleY(0); }
  .motion-ready .process-row.is-visible::before { transform: scaleY(1); }
  .process-step { width: 100%; display: flex; align-items: center; gap: 22px; text-align: left; }
  .process-node { flex: none; margin: 0; }
  .process-step h3 { font-size: 1rem; }
  .process-step p { font-size: .875rem; }
  .work-visual { aspect-ratio: 1.75; }
  .work-body { padding: 26px; }
  .work-body h3 { font-size: 1.25rem; }
  .work-body p { font-size: 1rem; }
  .about-row { grid-template-columns: 1fr; gap: 30px; }
  .about-row h2 { max-width: none; font-size: 2.5rem; }
  .about-row p:not(.eyebrow) { font-size: 1rem; }
  .about-tags { gap: 8px; margin-top: 24px; }
  .tag { font-size: .8125rem; padding: 7px 12px; }
  .contact-copy h2 { font-size: 2.2rem; }
  .contact-form { padding: 24px; border-radius: 20px; gap: 22px; }
  .contact-methods { flex-direction: column; gap: 16px; }
  .field input,.field textarea { padding-inline: 13px; }
  .cta-band { padding: 88px 0 48px; }
  .cta-inner h2 { font-size: 2rem; }
  .cta-note { font-size: .75rem; }
  footer.site { padding-top: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .footer-col:first-child,.footer-col:last-child { grid-column: 1 / -1; }
  .footer-col:last-child { display: flex; justify-content: space-between; gap: 16px; }
  .stat { flex: 1; margin: 0; }
  .stat .num { font-size: 1.65rem; }
  .stat .lbl { font-size: .75rem; }
  .footer-col ul a,.footer-contact-item { font-size: .8125rem; overflow-wrap: anywhere; }
  .footer-blurb { max-width: 40ch; }
  .footer-bottom { gap: 10px; }
}
@media(max-width:360px) {
  .wrap,.nav { padding-inline: 18px; }
  .brand-logo { width: 180px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-features { gap: 12px; }
  .contact-form { padding: 20px; }
  .footer-grid { gap: 30px 16px; }
}
@media(hover:none) { .service-card:hover,.work-card:hover,.btn:hover { transform: none; } }
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1 !important; translate: none !important; scale: none !important; filter: none !important; }
  .process-row::before { transform: none !important; }
  .cursor-aura { display: none !important; }
}
@media print {
  header.site { position: static; }
  .reading-progress,.hero-gridlines,.scroll-cue,.menu-toggle,.cursor-aura { display: none; }
  [data-reveal] { opacity: 1 !important; translate: none !important; }
  section { break-inside: avoid; }
}
