/* ==========================================================
   BR Webdesign – fő stíluslap
   Mobil először, egyetlen fájl, külső keretrendszer nélkül
   ========================================================== */

:root {
  --ink: #0e1630;
  --text: #3a4360;
  --muted: #6b7390;
  --line: #e4e8f2;
  --bg: #ffffff;
  --soft: #f4f6fc;
  --brand: #2f5bff;
  --brand-dark: #1c3fd8;
  --brand-soft: #e8eeff;
  --accent: #ff4d5a;
  --accent-soft: #ffe8ea;
  --sun: #ffc83d;
  --sun-soft: #fff4d6;
  --green: #12a866;
  --green-soft: #defaec;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(14, 22, 48, .06), 0 2px 8px rgba(14, 22, 48, .05);
  --shadow: 0 10px 30px -12px rgba(14, 22, 48, .18), 0 4px 10px -6px rgba(14, 22, 48, .08);
  --shadow-lg: 0 30px 60px -25px rgba(14, 22, 48, .35);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 72px;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-dark); }
button { font: inherit; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
strong, b { color: var(--ink); font-weight: 700; }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

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

.ugras {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.ugras:focus { top: 12px; color: #fff; }

.keret { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.keret--keskeny { max-width: 860px; }
@media (min-width: 768px) { .keret { padding: 0 32px; } }

/* ---------- Gombok ---------- */
.gomb {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .98rem; line-height: 1.2; cursor: pointer; text-align: center;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.gomb:hover { transform: translateY(-2px); }
.gomb--teli { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(47, 91, 255, .8); }
.gomb--teli:hover { background: var(--brand-dark); color: #fff; box-shadow: 0 14px 28px -10px rgba(47, 91, 255, .9); }
.gomb--korvonal { border-color: var(--line); color: var(--ink); background: #fff; }
.gomb--korvonal:hover { border-color: var(--brand); color: var(--brand); }
.gomb--korvonal-vilagos { border-color: rgba(255,255,255,.35); color: #fff; }
.gomb--korvonal-vilagos:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.gomb--nagy { padding: 1em 1.8em; font-size: 1.02rem; }
.gomb--kicsi { padding: .6em 1.15em; font-size: .9rem; }
.gomb--teljes { width: 100%; }

.nyil-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; }
.nyil-link::after { content: "→"; transition: transform .2s; }
.nyil-link:hover::after { transform: translateX(4px); }
.nyil-link--vissza::after { content: none; }
.nyil-link--vissza::before { content: "←"; transition: transform .2s; }
.nyil-link--vissza:hover::before { transform: translateX(-4px); }

.felcim {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 1em;
}
.felcim::before { content: ""; width: 24px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--sun)); }

.cimke {
  display: inline-block; padding: .25em .75em; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand); font-size: .78rem; font-weight: 700; line-height: 1.5;
}
.cimke:hover { background: var(--brand); color: #fff; }

/* ---------- Fejléc ---------- */
.fejlec {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.fejlec.gorgetve { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(14,22,48,.5); }
.fejlec__belso { height: var(--header-h); display: flex; align-items: center; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; flex-shrink: 0; }
.logo:hover { color: var(--ink); }
.logo__jel {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand) 0%, #6a4dff 55%, var(--accent) 100%);
  color: #fff; font-size: .95rem; letter-spacing: 0; box-shadow: 0 8px 18px -8px rgba(47, 91, 255, .9);
}

.fomenu { display: none; margin-left: auto; }
.fomenu ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.fomenu a {
  display: block; padding: .5em .8em; border-radius: 10px;
  color: var(--text); font-weight: 600; font-size: .93rem; white-space: nowrap;
}
.fomenu a:hover { color: var(--ink); background: var(--soft); }
.fomenu a.aktiv { color: var(--brand); background: var(--brand-soft); }
.fejlec__cta { display: none; }

.hamburger {
  margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
}
.hamburger span { width: 20px; height: 2px; border-radius: 2px; background: var(--ink); }

@media (min-width: 1280px) {
  .fomenu { display: block; }
  .hamburger { display: none; }
}
@media (min-width: 1400px) { .fejlec__cta { display: inline-flex; } }

/* Mobil menü */
.mobilmenu { position: fixed; inset: 0; z-index: 300; }
.mobilmenu[hidden] { display: none; }
.mobilmenu__hatter { position: absolute; inset: 0; background: rgba(14, 22, 48, .45); opacity: 0; transition: opacity .3s; }
.mobilmenu__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px);
  background: #fff; display: flex; flex-direction: column; padding: 16px 20px 24px;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); overflow-y: auto;
}
.mobilmenu.nyitva .mobilmenu__hatter { opacity: 1; }
.mobilmenu.nyitva .mobilmenu__panel { transform: none; }
.mobilmenu__fej { display: flex; align-items: center; justify-content: space-between; height: 56px; margin-bottom: 12px; }
.mobilmenu__bezar { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; color: var(--ink); }
.mobilmenu ul { list-style: none; margin: 0; padding: 0; }
.mobilmenu li + li { border-top: 1px solid var(--line); }
.mobilmenu ul a { display: block; padding: 14px 4px; color: var(--ink); font-weight: 700; font-size: 1.08rem; }
.mobilmenu ul a.aktiv { color: var(--brand); }
.mobilmenu__lab { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }
.mobilmenu__elerhetoseg { color: var(--text); font-weight: 600; text-align: center; }
body.menu-nyitva { overflow: hidden; }

/* ---------- Szakaszok ---------- */
.szakasz { padding: 72px 0; position: relative; }
.szakasz--halvany { background: var(--soft); }
.szakasz--tartalom { padding: 48px 0 72px; }
@media (min-width: 900px) {
  .szakasz { padding: 110px 0; }
  .szakasz--tartalom { padding: 64px 0 100px; }
}
.szakaszfej { max-width: 720px; margin-bottom: 44px; }
.szakaszfej p:last-child { color: var(--muted); margin-bottom: 0; }
.szakaszfej--sor { max-width: none; display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 900px) {
  .szakaszfej--sor { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .szakaszfej--sor > div { max-width: 640px; }
  .szakaszfej--sor .gomb { flex-shrink: 0; }
}

.szakasz--sotet { background: var(--ink); color: #c7cde0; overflow: hidden; }
.szakasz--sotet::before {
  content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; top: -260px; right: -220px;
  background: radial-gradient(circle, rgba(47, 91, 255, .45), transparent 65%); pointer-events: none;
}
.szakasz--sotet::after {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; bottom: -260px; left: -200px;
  background: radial-gradient(circle, rgba(255, 77, 90, .28), transparent 65%); pointer-events: none;
}
.szakasz--sotet h2, .szakasz--sotet h3, .szakasz--sotet strong { color: #fff; }
.szakasz--sotet .szakaszfej p:last-child { color: #aeb6cf; }
.szakasz--sotet .felcim { color: var(--sun); }
.szakasz--sotet .keret { position: relative; z-index: 1; }

.szoveg p { color: var(--text); }
.szoveg a { font-weight: 600; text-decoration: underline; text-decoration-color: rgba(47,91,255,.35); text-underline-offset: 3px; }

.ket-hasab { display: grid; gap: 8px 64px; }
@media (min-width: 900px) { .ket-hasab { grid-template-columns: 1fr 1fr; align-items: start; } .ket-hasab > .szoveg { padding-top: 88px; } }

/* ---------- Főoldali nyitókép ---------- */
.hos {
  position: relative; overflow: hidden;
  padding: 40px 0 64px;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(47, 91, 255, .12), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(255, 200, 61, .18), transparent 60%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
}
.hos__racs { display: grid; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hos h1 { margin-bottom: .45em; }
.kiemelt {
  background: linear-gradient(100deg, var(--brand) 0%, #7a4dff 50%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hos__lead { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--text); max-width: 34em; }
.hos__gombok { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.hos__jellemzok { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .93rem; color: var(--muted); }
.hos__jellemzok li { display: flex; align-items: center; gap: 8px; }
.hos__jellemzok li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }

.hos__kep { position: relative; max-width: 520px; margin: 0 auto; width: 100%; }
.hos__kep img { width: 100%; filter: drop-shadow(0 30px 40px rgba(14, 22, 48, .2)); }
.hos__kartya {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; padding: 10px 14px 10px 10px; border-radius: 14px; box-shadow: var(--shadow);
  font-size: .85rem; color: var(--text); white-space: nowrap;
  animation: lebeg 6s ease-in-out infinite;
}
.hos__kartya--fent { top: 14%; left: -2%; }
.hos__kartya--lent { bottom: 10%; right: -2%; animation-delay: -3s; }
.hos__kartya-ikon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--green-soft); }
.hos__kartya-ikon svg { width: 20px; height: 20px; fill: var(--green); }
.hos__kartya-ikon--piros { background: var(--accent-soft); }
.hos__kartya-ikon--piros svg { fill: var(--accent); }
@keyframes lebeg { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hos__diszek .disz { position: absolute; pointer-events: none; }
.disz--kor { width: 18px; height: 18px; border-radius: 50%; background: var(--sun); top: 18%; left: 46%; }
.disz--plusz { width: 26px; height: 26px; top: 12%; right: 6%; background:
  linear-gradient(var(--brand), var(--brand)) center/100% 6px no-repeat,
  linear-gradient(var(--brand), var(--brand)) center/6px 100% no-repeat; opacity: .55; }
.disz--harom { width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent; border-bottom: 24px solid var(--accent); opacity: .5; bottom: 12%; left: 4%; transform: rotate(-18deg); }

@media (min-width: 900px) {
  .hos { padding: 64px 0 96px; }
  .hos__racs { grid-template-columns: 1.1fr .9fr; gap: 48px; }
}
@media (max-width: 899px) {
  .hos__kep { max-width: 380px; }
  .disz--kor { top: auto; bottom: 40%; left: 80%; }
}

/* Pillérek */
.pillerek { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.pillerek li {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--radius-sm);
  background: var(--soft); color: var(--ink); font-weight: 700;
}
.pillerek span { font-size: .8rem; font-weight: 800; color: #fff; background: var(--brand); border-radius: 8px; padding: 4px 8px; }
.pillerek li:nth-child(2) span { background: var(--accent); }
.pillerek li:nth-child(3) span { background: #e2a500; }

/* ---------- Szolgáltatások ---------- */
.szolgaltatasok { display: grid; gap: 20px; }
@media (min-width: 640px) { .szolgaltatasok { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .szolgaltatasok { grid-template-columns: repeat(4, 1fr); } }
.szolgaltatas {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.szolgaltatas:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.szolgaltatas p { color: var(--muted); font-size: .95rem; flex: 1; }
.szolgaltatas__ikon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; }
.szolgaltatas__ikon svg { width: 28px; height: 28px; }
.szin-kek { background: var(--brand-soft); } .szin-kek svg { fill: var(--brand); }
.szin-piros { background: var(--accent-soft); } .szin-piros svg { fill: var(--accent); }
.szin-sarga { background: var(--sun-soft); } .szin-sarga svg { fill: #d99800; }
.szin-zold { background: var(--green-soft); } .szin-zold svg { fill: var(--green); }

/* ---------- Rólam ---------- */
.rolam { display: grid; gap: 48px; align-items: start; }
.rolam__video {
  position: relative; max-width: 360px; width: 100%; margin: 0 auto;
  border-radius: 28px; overflow: hidden; background: var(--ink); box-shadow: var(--shadow-lg);
  border: 8px solid #fff; outline: 1px solid var(--line);
}
.rolam__video video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
@media (min-width: 900px) {
  .rolam { grid-template-columns: 380px 1fr; gap: 72px; }
  .rolam__video { position: sticky; top: calc(var(--header-h) + 24px); }
}

.kepessegek { display: grid; gap: 18px; margin: 8px 0 36px; }
.kepesseg__fej { display: flex; justify-content: space-between; font-weight: 700; color: var(--ink); font-size: .95rem; margin-bottom: 8px; }
.kepesseg__sav { height: 10px; border-radius: 10px; background: var(--soft); overflow: hidden; }
.kepesseg__sav span {
  display: block; height: 100%; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), #7a4dff, var(--accent));
  transition: width 1.6s cubic-bezier(.2, .8, .2, 1);
}
.kepesseg.lathato .kepesseg__sav span { width: var(--ertek); }

.oklevelek { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 8px 0 32px; max-width: 520px; }
.oklevel, .kepgomb {
  padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: zoom-in;
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.oklevel:hover, .kepgomb:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.oklevel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Árak ---------- */
.arak { display: grid; gap: 24px; max-width: 980px; }
@media (min-width: 800px) { .arak { grid-template-columns: 1fr 1fr; } }
.arkartya {
  border-radius: 24px; padding: 32px; background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12); display: flex; flex-direction: column;
}
.arkartya__ikon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; background: rgba(47, 91, 255, .22); }
.arkartya__ikon svg { width: 28px; height: 28px; fill: #9db2ff; }
.arkartya__ikon--piros { background: rgba(255, 77, 90, .22); }
.arkartya__ikon--piros svg { fill: #ff9aa2; }
.arkartya h3 { font-size: 1.3rem; }
.arkartya__ar { color: #aeb6cf; margin: 0 0 24px; }
.arkartya__ar span { font-size: 2.2rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.arkartya .gomb { margin-top: auto; }
.arkartya--kiemelt { background: linear-gradient(160deg, rgba(47, 91, 255, .35), rgba(122, 77, 255, .18) 60%, rgba(255, 77, 90, .15)); border-color: rgba(122, 77, 255, .55); }
.pipa-lista { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.pipa-lista li { display: flex; gap: 12px; align-items: flex-start; color: #dfe3f0; }
.pipa-lista li::before {
  content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ---------- Kártyák (referencia, blog) ---------- */
.kartyak { display: grid; gap: 24px; }
@media (min-width: 640px) { .kartyak { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .kartyak { grid-template-columns: repeat(3, minmax(0, 1fr)); } .kartyak--ketto { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kartya {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.kartya:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.kartya__kep { display: block; aspect-ratio: 16 / 10; background: var(--soft); overflow: hidden; }
.kartya__kep img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s; }
.kartya:hover .kartya__kep img { transform: scale(1.05); }
.kartya__test { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.kartya__test h3 { font-size: 1.12rem; margin-bottom: .5em; }
.kartya__test h3 a { color: var(--ink); }
.kartya__test h3 a:hover { color: var(--brand); }
.kartya__test p { color: var(--muted); font-size: .93rem; }
.kartya__test .nyil-link, .kartya__domain { margin-top: auto; font-size: .92rem; }
.kartya__domain { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.kartya__domain::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.kartya__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .82rem; color: var(--muted); margin-bottom: 12px; }

/* ---------- Partnerek ---------- */
.partnerek { padding: 56px 0; border-top: 1px solid var(--line); overflow: hidden; }
.partnerek__cim { text-align: center; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.partnerek__sav { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.partnerek__lista { display: flex; align-items: center; gap: 64px; width: max-content; animation: partnersav 32s linear infinite; }
.partnerek__lista:hover { animation-play-state: paused; }
.partnerek__lista a { display: block; flex-shrink: 0; }
.partnerek__lista img { height: 44px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.partnerek__lista a:hover img { filter: none; opacity: 1; }
@keyframes partnersav { to { transform: translateX(calc(-50% - 32px)); } }

/* ---------- Lábléc ---------- */
.lablec { background: var(--ink); color: #aeb6cf; padding: 64px 0 28px; font-size: .95rem; }
.lablec a { color: #dfe3f0; }
.lablec a:hover { color: #fff; }
.lablec__cta {
  display: flex; flex-direction: column; gap: 24px; align-items: flex-start;
  padding: 32px; border-radius: 24px; margin-bottom: 56px;
  background: linear-gradient(120deg, var(--brand) 0%, #6a4dff 55%, var(--accent) 110%);
  box-shadow: 0 30px 60px -30px rgba(47, 91, 255, .8);
}
.lablec__cta .gomb--teli { background: #fff; color: var(--ink); box-shadow: none; }
.lablec__cta .gomb--teli:hover { background: var(--sun); color: var(--ink); }
.lablec__nagy { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; color: #fff; margin: 0; letter-spacing: -.02em; line-height: 1.2; }
.lablec__kisebb { font-size: 1.15rem; color: rgba(255, 255, 255, .85); margin: 4px 0 0; }
@media (min-width: 800px) { .lablec__cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 44px 52px; } }

.lablec__racs { display: grid; gap: 40px; }
@media (min-width: 700px) { .lablec__racs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .lablec__racs { grid-template-columns: 1.3fr .8fr 1.4fr; gap: 56px; } }
.lablec__logo { width: 170px; height: auto; margin-bottom: 18px; }
.lablec__fejcim { color: #fff; font-weight: 800; margin-bottom: 16px; }
.lablec__kapcsolat { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.lablec__kapcsolat li { display: flex; align-items: center; gap: 10px; }
.lablec__kapcsolat svg { width: 18px; height: 18px; fill: var(--sun); flex-shrink: 0; }
.lablec__kozosseg { display: flex; gap: 10px; flex-wrap: wrap; }
.lablec__kozosseg a { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); font-size: .88rem; font-weight: 600; }
.lablec__kozosseg a:hover { border-color: #fff; }
.lablec__linkek { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.lablec__teruletek { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
@media (min-width: 480px) { .lablec__teruletek { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lablec__teruletek a { color: #aeb6cf; font-size: .9rem; }
.lablec__teruletek a:hover { color: #fff; }
.lablec__also {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-direction: column; gap: 8px; font-size: .85rem;
}
.lablec__also p { margin: 0; }
.lablec__also p:last-child { display: flex; gap: 18px; }
@media (min-width: 800px) { .lablec__also { flex-direction: row; justify-content: space-between; } }

/* ---------- Aloldali címsáv ---------- */
.cimsav {
  position: relative; overflow: hidden; padding: 40px 0 44px;
  background:
    radial-gradient(800px 300px at 90% 0%, rgba(47, 91, 255, .14), transparent 60%),
    radial-gradient(600px 260px at 0% 100%, rgba(255, 200, 61, .2), transparent 60%),
    var(--soft);
  border-bottom: 1px solid var(--line);
}
.cimsav::after {
  content: ""; position: absolute; right: -40px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%;
  border: 18px solid rgba(255, 77, 90, .12);
}
.cimsav__cim { font-size: clamp(1.7rem, 4.5vw, 2.8rem); font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.15; margin: 0; max-width: 900px; position: relative; z-index: 1; }
.cimsav__alcim { color: var(--muted); margin: 12px 0 0; max-width: 720px; position: relative; z-index: 1; }
.morzsa { font-size: .85rem; color: var(--muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 1; }
.morzsa a { color: var(--muted); font-weight: 600; }
.morzsa a:hover { color: var(--brand); }
.morzsa [aria-current] { color: var(--ink); font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 900px) { .cimsav { padding: 56px 0 60px; } }

/* A címsáv már mutatja a címet: a tartalomban lévő első h1 ne ismételje meg nagyban */
.lap-tartalom .prose > h1:first-child,
.lap-blogbejegyzes .bejegyzes h1,
.lap-referencia .prose h1,
.lista-cim, .kapcsolat__info h1, .lap-szolgaltatasi-teruleteim .prose h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); }

/* ---------- Tartalom + oldalsáv ---------- */
.tartalom-racs { display: grid; gap: 40px; }
@media (min-width: 1000px) { .tartalom-racs { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; } }
.oldalsav { display: grid; gap: 20px; }
@media (min-width: 1000px) { .oldalsav { position: sticky; top: calc(var(--header-h) + 24px); } }

.doboz { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.doboz__cim { font-weight: 800; color: var(--ink); font-size: 1.05rem; margin-bottom: 14px; }
.doboz--cta { background: linear-gradient(150deg, var(--brand-soft), #fff 70%); border-color: #d6e0ff; }
.doboz--cta p:not(.doboz__cim) { color: var(--muted); font-size: .94rem; }
.doboz__kapcsolat { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; font-size: .92rem; text-align: center; }
.doboz__kapcsolat a { font-weight: 600; word-break: break-word; }
.doboz__linkek { list-style: none; padding: 0; margin: 0; }
.doboz__linkek li + li { border-top: 1px solid var(--line); }
.doboz__linkek a { display: block; padding: 10px 0; color: var(--text); font-weight: 600; }
.doboz__linkek a:hover { color: var(--brand); }

.kereso { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--soft); transition: border-color .2s, box-shadow .2s; }
.kereso:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.kereso input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 16px; font: inherit; font-size: 16px; color: var(--ink); outline: none; }
.kereso button { border: 0; background: var(--brand); width: 48px; cursor: pointer; display: grid; place-items: center; }
.kereso button svg { width: 20px; height: 20px; fill: #fff; }

.kategoria-lista { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.kategoria-lista a { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 10px; color: var(--text); font-weight: 600; font-size: .95rem; }
.kategoria-lista a:hover, .kategoria-lista a.aktiv { background: var(--brand-soft); color: var(--brand); }
.szamlalo { font-size: .78rem; background: var(--soft); color: var(--muted); border-radius: 999px; padding: 2px 9px; }

.lista-info { color: var(--muted); margin-top: -.4em; }
.ures-allapot { padding: 40px; border: 2px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--muted); }

.lapozo { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 40px; }
.lapozo a { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.lapozo a.aktiv, .lapozo a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- Tartalmi szöveg (adminból szerkesztett HTML) ---------- */
.prose { min-width: 0; font-size: 1.04rem; overflow-wrap: break-word; }
.prose h1, .prose h2, .prose h3 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); }
.prose img { border-radius: var(--radius-sm); margin: 1.4em 0; box-shadow: var(--shadow-sm); border: 1px solid var(--line); width: auto; max-width: 100%; height: auto !important; }
.prose a { font-weight: 600; text-decoration: underline; text-decoration-color: rgba(47, 91, 255, .35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose a:has(img) { text-decoration: none; }
.prose ins { text-decoration: none; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.5em 0; padding: 16px 22px; border-left: 4px solid var(--brand); background: var(--soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .94rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--soft); color: var(--ink); }
.prose iframe { max-width: 100%; border-radius: var(--radius-sm); }
.prose iframe[src*="youtube"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.prose .db { width: 56px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent), var(--sun)); margin: -.2em 0 1.4em; }
.prose .lead { font-size: 1.15rem; color: var(--ink); }

.bejegyzes__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.bejegyzes__boritokep { width: 100% !important; max-height: 460px; object-fit: cover; object-position: top center; margin-top: .4em !important; }
.bejegyzes__vissza { margin-top: 2.4em; padding-top: 1.6em; border-top: 1px solid var(--line); }
.bejegyzes__vissza a { text-decoration: none; }

/* Referencia részletek */
.referencia-reszlet { display: grid; gap: 40px; align-items: start; }
.referencia-reszlet__kep .kepgomb { display: block; width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.referencia-reszlet__kep img { width: 100%; }
@media (min-width: 1000px) { .referencia-reszlet { grid-template-columns: 1.15fr 1fr; gap: 64px; } .referencia-reszlet__kep { position: sticky; top: calc(var(--header-h) + 24px); } }
.gombsor { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 1.6em; }
.gombsor .gomb { text-decoration: none; }
.domain { color: var(--muted); font-size: .92rem; }

/* Szolgáltatási területek */
.varosok { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 28px 0 36px; }
@media (min-width: 560px) { .varosok { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.prose .varos {
  display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem;
  transition: border-color .2s, background .2s, transform .2s;
}
.prose .varos:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); transform: translateY(-2px); }
.varos svg { width: 18px; height: 18px; fill: var(--accent); flex-shrink: 0; }

/* ---------- Kapcsolat ---------- */
.kapcsolat { display: grid; gap: 40px; }
@media (min-width: 960px) { .kapcsolat { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } }
.kapcsolat__lead { font-size: 1.08rem; margin-bottom: 28px; }
.elerhetoseg {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; margin-bottom: 12px;
  transition: border-color .2s, box-shadow .2s, transform .2s; word-break: break-word;
}
.elerhetoseg:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.elerhetoseg small { display: block; font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.elerhetoseg__ikon { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); display: grid; place-items: center; flex-shrink: 0; }
.elerhetoseg__ikon svg { width: 22px; height: 22px; fill: var(--brand); }
.elerhetoseg:nth-of-type(2) .elerhetoseg__ikon { background: var(--accent-soft); }
.elerhetoseg:nth-of-type(2) .elerhetoseg__ikon svg { fill: var(--accent); }
.elerhetoseg:nth-of-type(3) .elerhetoseg__ikon { background: var(--sun-soft); }
.elerhetoseg:nth-of-type(3) .elerhetoseg__ikon svg { fill: #d99800; }

.urlap { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }
@media (min-width: 600px) { .urlap { padding: 36px; } }
.urlap h2 { font-size: 1.5rem; }
.urlap__sor { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .urlap__sor { grid-template-columns: 1fr 1fr; } }
.mezo { margin-bottom: 16px; }
.mezo label { display: block; font-weight: 700; color: var(--ink); font-size: .9rem; margin-bottom: 6px; }
.mezo input, .mezo textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--soft);
  border: 1.5px solid transparent; border-radius: var(--radius-sm); padding: 13px 15px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.mezo textarea { resize: vertical; min-height: 140px; }
.mezo input:focus, .mezo textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-soft); }
.mezo.hibas input, .mezo.hibas textarea { border-color: var(--accent); background: #fff7f8; }
.jelolo { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; margin: 6px 0 22px; cursor: pointer; }
.jelolo input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); flex-shrink: 0; }
.urlap__csapda { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.urlap__uzenet { margin: 16px 0 0; font-weight: 600; }
.urlap__uzenet:empty { display: none; }
.urlap__uzenet.ok { color: var(--green); background: var(--green-soft); padding: 12px 16px; border-radius: var(--radius-sm); }
.urlap__uzenet.hiba { color: #c4202d; background: var(--accent-soft); padding: 12px 16px; border-radius: var(--radius-sm); }
.urlap button[disabled] { opacity: .6; cursor: progress; transform: none; }

/* 404 */
.hiba-oldal { text-align: center; padding: 24px 0; }
.hiba-oldal__kod { font-size: clamp(5rem, 18vw, 9rem); font-weight: 800; line-height: 1; margin: 0 0 .1em; background: linear-gradient(100deg, var(--brand), #7a4dff, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hiba-oldal .gombsor { justify-content: center; }

/* ---------- Képnagyító ---------- */
.nagykep { position: fixed; inset: 0; z-index: 400; background: rgba(9, 13, 30, .9); display: grid; place-items: center; padding: 56px 16px 24px; }
.nagykep[hidden] { display: none; }
.nagykep figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.nagykep img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 12px; }
.nagykep figcaption { color: #dfe3f0; margin-top: 12px; font-weight: 600; }
.nagykep__bezar { position: absolute; top: 12px; right: 12px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.9rem; cursor: pointer; line-height: 1; }
.nagykep__bezar:hover { background: rgba(255, 255, 255, .25); }

/* ---------- Süti sáv ---------- */
.suti {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 250;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; font-size: .9rem; max-width: 560px;
}
.suti[hidden] { display: none; }
.suti p { margin: 0; }
.suti .gomb { align-self: flex-start; }
@media (min-width: 640px) { .suti { left: 24px; bottom: 24px; flex-direction: row; align-items: center; } .suti .gomb { align-self: center; flex-shrink: 0; } }

/* Vissza a tetejére */
.fel-gomb {
  position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s;
}
.fel-gomb svg { width: 22px; height: 22px; fill: #fff; }
.fel-gomb.lathato { opacity: 1; visibility: visible; transform: none; }
.fel-gomb:hover { background: var(--brand); }

/* ---------- Megjelenési animáció ---------- */
.js .megjelenik { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .megjelenik.lathato { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .megjelenik { opacity: 1; transform: none; }
}

@media print {
  .fejlec, .mobilmenu, .lablec, .partnerek, .suti, .fel-gomb, .oldalsav { display: none !important; }
}

/* Rácselemek ne lóghassanak ki keskeny kijelzőn */
.tartalom-racs > *, .kapcsolat > *, .referencia-reszlet > *, .ket-hasab > *, .rolam > *, .hos__racs > *, .kartyak > *, .oldalsav > * { min-width: 0; }
