/* ==========================================================================
   KépességPont – stíluslap
   Betűtípus: Nunito (webfont, teljes magyar ő/ű készlettel), fallback Yu Gothic
   ========================================================================== */

:root {
  --yellow-bar: #fff3bf;
  --yellow: #f7c948;
  --amber: #e39b12;
  --orange: #f28c28;
  --red: #e5484d;
  --pink: #e5559a;
  --purple: #7b57c9;
  --blue: #2f80ed;
  --teal: #1cb5a3;
  --green: #4faf3f;

  --ink: #24303f;
  --muted: #5b6675;
  --line: #ebe6d6;
  --bg: #fffdf7;
  --card: #ffffff;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(36, 48, 63, .08);
  --shadow-sm: 0 3px 12px rgba(36, 48, 63, .08);
  --font: "Nunito", "Yu Gothic", "Yu Gothic UI", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .35em; }
strong { font-weight: 700; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.lead { font-size: 1.15rem; color: var(--muted); }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 8px; }

/* Színes kiemelők ---------------------------------------------------------- */
.c-blue { color: var(--blue); }  .c-green { color: var(--green); }  .c-orange { color: var(--orange); }
.c-amber { color: var(--amber); } .c-purple { color: var(--purple); } .c-pink { color: var(--pink); } .c-teal { color: var(--teal); }

/* Gombok ------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.5em; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-family: inherit; line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: #e07d1c; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn-outline:hover { background: rgba(255,255,255,.15); }
.btn-lg { font-size: 1.1rem; padding: 1em 2em; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-purple { background: var(--purple); color: #fff; }
.btn-amber { background: var(--amber); color: #fff; }

/* Felső sáv (világossárga) – logó középen, menü két oldalt ----------------- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--yellow-bar);
  border-bottom: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 2px 14px rgba(0,0,0,.06);
}
.topbar-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  min-height: var(--topbar-h); transition: min-height .2s ease;
}
.navs { display: contents; }
.nav-left { grid-column: 1; grid-row: 1; justify-self: end; }
.brand { grid-column: 2; grid-row: 1; }
.nav-right { grid-column: 3; grid-row: 1; justify-self: stretch; justify-content: space-between; }
.burger { grid-column: 3; grid-row: 1; justify-self: end; display: none; }

/* Márka: nagy logó, lenyílóval */
.brand { position: relative; display: flex; justify-content: center; }
.logo-btn { position: relative; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 50%; display: block; }
.logo-btn img {
  width: var(--logo-size); height: var(--logo-size); border-radius: 50%; background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.16); transition: transform .15s ease, width .2s ease, height .2s ease;
}
.logo-btn:hover img, .logo-btn[aria-expanded="true"] img { transform: scale(1.04); }
.logo-caret {
  position: absolute; right: 2px; bottom: 4px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--orange); border: 3px solid var(--yellow-bar); box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.logo-caret::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: translate(-50%, -70%) rotate(45deg); transition: transform .2s; }
.logo-btn[aria-expanded="true"] .logo-caret::after { transform: translate(-50%, -30%) rotate(225deg); }
:root { --logo-size: 112px; --topbar-h: 124px; }
.topbar.scrolled { --logo-size: 72px; --topbar-h: 84px; }

/* Lenyíló ablak: a 4 alapszolgáltatás (a logó alatt, középre) */
.pillars {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); z-index: 120;
  width: min(560px, calc(100vw - 32px));
  background: #fff; border-radius: 20px; box-shadow: 0 20px 50px rgba(36,48,63,.18);
  padding: 20px; border: 1px solid var(--line);
  animation: pop-c .18s ease-out;
}
.pillars::before { content: ""; position: absolute; top: -8px; left: calc(50% - 7px); width: 14px; height: 14px; background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.pillars::after { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* híd a hover-hez */
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes pop-c { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }
.pillars-title { margin: 0 0 12px; font-weight: 700; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; text-align: center; }
.pillars-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pillar {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: 14px; color: var(--ink); text-decoration: none !important; border: 2px solid transparent;
  transition: transform .15s ease;
}
.pillar:hover { transform: translateY(-2px); }
.pillar .ico { grid-row: 1 / span 2; font-size: 1.8rem; }
.pillar strong { font-size: 1.05rem; }
.pillar small { color: var(--muted); }
.p-blue { background: #eaf2fe; border-color: #cfe0fb; }
.p-green { background: #ecf7e8; border-color: #cfe9c6; }
.p-orange { background: #fff0e2; border-color: #fbd9b8; }
.p-amber { background: #fff7d6; border-color: #f7e6a3; }
.p-purple { background: #f1ecfb; border-color: #dccff5; }
.pillar strong, .pillar small { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .pillars-list { grid-template-columns: 1fr; } .pillars { padding: 16px; } }

/* Főmenü */
.mainnav { display: flex; align-items: center; gap: 16px; }
.mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.mainnav li { margin: 0; position: relative; }
.mainnav > ul > li > a {
  position: relative; display: flex; align-items: center; padding: 10px 14px; color: var(--ink); font-weight: 700; font-size: 1.02rem;
  border-radius: 12px; white-space: nowrap; transition: background .15s ease, color .15s ease;
}
.mainnav > ul > li > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 3px; border-radius: 3px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.mainnav > ul > li > a:hover { background: rgba(255,255,255,.75); text-decoration: none; }
.mainnav > ul > li > a.active { color: var(--orange); }
.mainnav > ul > li > a.active::after, .mainnav > ul > li > a:hover::after { transform: scaleX(1); }
.mainnav .nav-cta { padding: .7em 1.35em; font-size: 1rem; box-shadow: 0 4px 14px rgba(242,140,40,.35); }
.mainnav .caret { display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: 0 0 4px 8px; opacity: .7; transition: transform .2s; }
.mainnav .has-sub:hover .caret { transform: rotate(225deg) translate(-2px, -2px); }
.sub-toggle { display: none; }

/* Lenyíló almenük (asztali) */
.mainnav .sub {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 430px; display: none;
  background: #fff; border-radius: 18px; padding: 10px; box-shadow: 0 20px 50px rgba(36,48,63,.18); border: 1px solid var(--line);
  animation: pop .18s ease-out;
}
.mainnav .sub::before { content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px; } /* híd a hover-hez */
.mainnav .sub ul { display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
.mainnav .sub li { width: 100%; }
.mainnav .has-sub:hover .sub, .mainnav .has-sub:focus-within .sub { display: block; }
.sub-link { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; color: var(--ink); text-decoration: none !important; transition: background .15s; }
.sub-link:hover, .sub-link.active { background: var(--yellow-bar); }
.sub-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.25rem; }
.i-blue { background: #eaf2fe; } .i-green { background: #ecf7e8; } .i-orange { background: #fff0e2; } .i-amber { background: #fff7d6; }
.i-purple { background: #f1ecfb; } .i-pink { background: #fde8f1; } .i-teal { background: #e3f6f3; }
.sub-text { display: flex; flex-direction: column; line-height: 1.25; }
.sub-text strong { font-size: .98rem; }
.sub-text small { color: var(--muted); font-size: .8rem; margin-top: 2px; }
.sub-all { display: block; margin: 6px 4px 2px; padding: 10px 12px; border-top: 1px solid var(--line); font-weight: 700; font-size: .9rem; color: var(--orange); }

/* Hamburger */
.burger { width: 48px; height: 48px; border: 0; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08); border-radius: 12px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { display: block; width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1280px) { .mainnav ul { gap: 0; } .mainnav > ul > li > a { padding: 10px 11px; font-size: .96rem; } .mainnav .nav-cta { padding: .65em 1.1em; font-size: .95rem; } }
@media (max-width: 1080px) {
  :root { --logo-size: 76px; --topbar-h: 92px; }
  .topbar.scrolled { --logo-size: 60px; --topbar-h: 76px; }
  .topbar-inner { grid-template-columns: 48px 1fr 48px; }
  .brand { grid-column: 2; grid-row: 1; }
  .burger { display: flex; grid-column: 3; grid-row: 1; }
  .navs { display: none; position: fixed; inset: var(--topbar-h) 0 0 0; background: var(--yellow-bar); overflow-y: auto; padding: 16px 16px 32px; flex-direction: column; gap: 4px; }
  .navs.open { display: flex; }
  .mainnav { display: contents; }
  .mainnav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .mainnav > ul > li > a { font-size: 1.15rem; padding: 14px 16px; background: rgba(255,255,255,.55); border-radius: 14px; }
  .mainnav > ul > li > a::after { display: none; }
  .mainnav .has-sub { display: grid; grid-template-columns: 1fr auto; gap: 6px; }
  .sub-toggle { display: block; width: 52px; border: 0; background: rgba(255,255,255,.55); border-radius: 14px; cursor: pointer; position: relative; }
  .sub-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: translate(-50%, -70%) rotate(45deg); transition: transform .2s; }
  .sub-toggle[aria-expanded="true"]::after { transform: translate(-50%, -30%) rotate(225deg); }
  .mainnav .caret { display: none; }
  .mainnav .sub { position: static; grid-column: 1 / -1; box-shadow: none; border: 0; background: #fff; min-width: 0; margin: 2px 0 6px; animation: none; }
  .mainnav .sub::before { display: none; }
  .mainnav .has-sub:hover .sub, .mainnav .has-sub:focus-within .sub { display: none; }
  .mainnav .has-sub.open .sub { display: block; }
  .mainnav .nav-cta { margin-top: 16px; font-size: 1.1rem; padding: .95em; width: 100%; }
}

/* Hero (kezdőlap) – a kép a főszereplő, a szöveg nyílra kattintva úszik be ---- */
.hero {
  position: relative; color: #fff; isolation: isolate; overflow: hidden; background: #1a2230;
  aspect-ratio: 1368 / 768; max-height: calc(100svh - var(--topbar-h)); width: 100%;
}
.hero-img { position: absolute; inset: 0; z-index: -2; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }

/* „Szolgáltatásaink” címke a középső gyerek kezénél */
.hand-tag {
  position: absolute; left: 53.5%; top: 47%; transform: rotate(-7deg); transform-origin: left bottom;
  background: #fff; color: var(--orange); border: 0; border-radius: 16px; padding: 12px 20px 10px;
  font: inherit; font-weight: 900; font-size: clamp(.9rem, 1.7vw, 1.5rem); line-height: 1.1; cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,.28); display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  animation: hand-wiggle 2.6s ease-in-out infinite;
}
.hand-tag::before { content: ""; position: absolute; left: -10px; bottom: 10px; width: 18px; height: 18px; background: #fff; transform: rotate(45deg); border-radius: 3px; }
.hand-tag-hint { font-size: .62em; font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.hand-tag:hover, .hand-tag[aria-expanded="true"] { animation: none; transform: rotate(-7deg) scale(1.05); }
.hand-tag[aria-expanded="true"] { background: var(--orange); color: #fff; }
.hand-tag[aria-expanded="true"]::before { background: var(--orange); }
.hand-tag[aria-expanded="true"] .hand-tag-hint { color: rgba(255,255,255,.85); }
@keyframes hand-wiggle { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(-3deg) translateY(-3px); } }

/* Fehér nyíl a kép jobb oldalán */
.hero-arrow {
  position: absolute; right: clamp(12px, 2vw, 28px); top: 50%; transform: translateY(-50%); z-index: 5;
  width: clamp(44px, 4.5vw, 64px); height: clamp(44px, 4.5vw, 64px); border-radius: 50%; border: 0; background: #fff; cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.3); display: grid; place-items: center; transition: transform .2s ease, background .2s ease;
  animation: arrow-pulse 2.2s ease-in-out infinite;
}
.hero-arrow:hover { transform: translateY(-50%) scale(1.08); animation: none; }
.hero-arrow-ico { width: 32%; height: 32%; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg) translate(15%, -15%); transition: transform .25s ease; }
.hero-arrow[data-step="2"] .hero-arrow-ico { transform: rotate(-135deg) translate(15%, -15%); }
@keyframes arrow-pulse { 0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,.3), 0 0 0 0 rgba(255,255,255,.7); } 60% { box-shadow: 0 8px 24px rgba(0,0,0,.3), 0 0 0 16px rgba(255,255,255,0); } }

/* Beúszó szövegpanelek (bal alsó sarok) */
.hero-text { position: absolute; left: clamp(16px, 4vw, 64px); right: clamp(80px, 10vw, 140px); top: clamp(16px, 3vw, 36px); z-index: 4; max-width: 600px; display: flex; flex-direction: column; gap: 12px; pointer-events: none; }
.hero-step { opacity: 0; transform: translateX(60px); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.hero-step.in { opacity: 1; transform: none; pointer-events: auto; }
.hero-panel { background: rgba(20, 28, 40, .72); backdrop-filter: blur(6px); border-radius: 18px; padding: 18px 24px; }
.hero h1 { font-size: clamp(1.25rem, 2.4vw, 2.1rem); margin: 0; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.hero .lead { color: rgba(255,255,255,.92); font-size: clamp(.95rem, 1.35vw, 1.1rem); margin: 0 0 12px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-step-2 .btn { padding: .65em 1.3em; font-size: .95rem; }

@media (max-width: 760px) {
  .hero { aspect-ratio: auto; max-height: none; }
  .hero-img { position: relative; inset: auto; z-index: 0; aspect-ratio: 1368 / 768; }
  .hero-text { position: static; max-width: none; padding: 14px 16px 18px; gap: 10px; top: auto; }
  .hero-text:not(.has-open) { display: none; }
  .hero-step { transform: translateY(20px); }
  .hero-panel { background: rgba(20, 28, 40, .92); }
  .hero-arrow { top: 22%; }
  .hand-tag { left: 52%; top: 42%; padding: 8px 12px 7px; border-radius: 10px; }
  .hand-tag::before { width: 12px; height: 12px; left: -6px; bottom: 8px; }
}

/* A 4 alapszolgáltatás – a bannerre rálógó hasábok ------------------------- */
.pillars-row { position: relative; z-index: 2; margin-top: -64px; animation: rise .5s cubic-bezier(.2,.8,.2,1); }
.pillars-row[hidden] { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  background: #fff; border-radius: 22px; padding: 28px 20px 24px; color: var(--ink); text-decoration: none !important;
  box-shadow: 0 16px 40px rgba(36,48,63,.16); border: 1px solid var(--line); border-top: 7px solid var(--pc);
  transition: transform .18s ease, box-shadow .18s ease;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(36,48,63,.2); }
.pc-ico { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font-size: 2.3rem; background: var(--pc-bg); margin-bottom: 10px; }
.pc-title { font-weight: 900; font-size: 1.35rem; line-height: 1.15; color: var(--pc); }
.pc-sub { font-weight: 700; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.pc-text { color: var(--muted); font-size: .95rem; margin-top: 8px; line-height: 1.4; }
.pc-more { margin-top: auto; padding-top: 12px; font-weight: 700; color: var(--pc); font-size: .95rem; }
.pc-blue { --pc: var(--blue); --pc-bg: #eaf2fe; }
.pc-green { --pc: var(--green); --pc-bg: #ecf7e8; }
.pc-orange { --pc: var(--orange); --pc-bg: #fff0e2; }
.pc-amber { --pc: var(--amber); --pc-bg: #fff7d6; }
.pillars-row-foot { text-align: center; font-weight: 900; font-size: 1.4rem; color: var(--orange); margin: 26px 0 0; }
@media (max-width: 960px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .pillars-row { margin-top: 16px; } }
@media (max-width: 520px) { .pillars-grid { grid-template-columns: 1fr; gap: 12px; } .pillar-card { padding: 22px 18px 20px; } }

/* Kisebb hero (aloldalak) */
.page-hero { position: relative; padding: clamp(40px, 6vw, 72px) 0; color: #fff; isolation: isolate; overflow: hidden; }
.page-hero .hero-img img { object-position: center 35%; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(20,28,40,.85) 0%, rgba(20,28,40,.55) 55%, rgba(20,28,40,.25) 100%); }
.page-hero.solid { color: var(--ink); background: var(--yellow-bar); }
.page-hero.solid::after { display: none; }
.page-hero h1 { margin-bottom: .3em; }
.page-hero .lead { color: inherit; opacity: .92; max-width: 760px; }
.page-hero .kicker { display: inline-block; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; opacity: .9; margin-bottom: 10px; }

/* Szolgáltatás-oldal hero: szöveg balra, a kép jobbra teljes egészében ------- */
.svc-hero { background: var(--tint, var(--yellow-bar)); border-bottom: 1px solid var(--line); }
.svc-hero-head { padding-top: clamp(28px, 4vw, 44px); }
.svc-hero-head .kicker { margin-bottom: 8px; }
.svc-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: 8px 0 clamp(28px, 4vw, 48px); }
.svc-hero-text .kicker { margin-bottom: 10px; }
.svc-hero h1 { font-size: clamp(1.4rem, 2.6vw, 2.3rem); font-weight: 900; margin: 0; }
@media (min-width: 1100px) { .svc-hero h1 { white-space: nowrap; } }
.svc-hero .lead { color: var(--muted); font-size: 1.08rem; max-width: 560px; }
.svc-hero .hero-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; }
.svc-hero-img { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: #fff; }
.svc-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.tint-blue { --tint: #eaf2fe; } .tint-green { --tint: #ecf7e8; } .tint-orange { --tint: #fff0e2; } .tint-amber { --tint: #fff7d6; } .tint-purple { --tint: #f1ecfb; }
@media (max-width: 860px) { .svc-hero-grid { grid-template-columns: 1fr; } .svc-hero-img { aspect-ratio: 16 / 10; } }

/* Videó a „Mikor érdemes” szöveg mellett – akkora, amekkora elfér */
.svc-video { align-self: start; position: sticky; top: calc(var(--topbar-h) + 16px); }
.split:has(.svc-video) { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; }
@media (max-width: 860px) { .svc-video { position: static; } }

/* Szekciók ----------------------------------------------------------------- */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section-tight { padding: clamp(32px, 5vw, 64px) 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-yellow { background: var(--yellow-bar); }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.kicker { display: inline-block; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; color: var(--orange); margin-bottom: 8px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Kártyák ------------------------------------------------------------------ */
.card {
  background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); border-top: 5px solid var(--accent, var(--orange));
}
.card h3 { margin-top: .2em; }
.card .ico { font-size: 2rem; line-height: 1; margin-bottom: 12px; display: block; }
.card-link { display: block; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; }
.card-more { color: var(--accent, var(--orange)); font-weight: 700; margin: 0; }
.a-blue { --accent: var(--blue); } .a-green { --accent: var(--green); } .a-orange { --accent: var(--orange); }
.a-amber { --accent: var(--amber); } .a-purple { --accent: var(--purple); } .a-pink { --accent: var(--pink); } .a-teal { --accent: var(--teal); }

/* Szolgáltatáskártya képpel */
.svc-card { display: grid; grid-template-rows: auto 1fr; padding: 0; overflow: hidden; }
.svc-card .svc-img { background: #fff; padding: 18px 18px 0; }
.svc-card .svc-img img { aspect-ratio: 1; object-fit: contain; width: 100%; max-height: 220px; }
.svc-card .svc-body { padding: 18px 24px 24px; }
.svc-card .svc-body p { color: var(--muted); }

/* Pipa-lista, jelölő-lista -------------------------------------------------- */
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 32px; margin-bottom: .5em; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: .05em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent, var(--green)); color: #fff; font-size: .85rem; font-weight: 900; display: grid; place-items: center;
}
.checks.two-col { columns: 2; column-gap: 32px; }
.checks.two-col li { break-inside: avoid; }
@media (max-width: 720px) { .checks.two-col { columns: 1; } }
.dots { list-style: none; padding: 0; }
.dots li { position: relative; padding-left: 24px; }
.dots li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent, var(--orange)); }

/* Idézet / kiemelés --------------------------------------------------------- */
.quote {
  text-align: center; font-size: clamp(1.25rem, 2.5vw, 1.7rem); font-weight: 700; max-width: 820px; margin: 0 auto;
  color: var(--ink); line-height: 1.4;
}
.quote::before { content: "„"; color: var(--orange); font-size: 3rem; line-height: 0; vertical-align: -.35em; margin-right: .1em; }
.quote::after { content: "”"; color: var(--orange); font-size: 3rem; line-height: 0; vertical-align: -.35em; margin-left: .1em; }
.quote-plain::before, .quote-plain::after { content: none; }
.hero-links { margin-top: 16px; }
.hero-links a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.page-hero.solid .hero-links a { color: var(--blue); }

.callout { background: #fff; border-left: 6px solid var(--accent, var(--orange)); border-radius: 12px; padding: 18px 22px; box-shadow: var(--shadow-sm); }
.callout p:last-child { margin-bottom: 0; }

/* Lépések ------------------------------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 18px; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.steps .num { counter-increment: step; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 1.3rem; color: #fff; background: var(--accent, var(--green)); }
.steps .num::before { content: counter(step); }
.steps h3 { margin-bottom: .25em; }
.steps p { margin: 0; color: var(--muted); }

/* Videó --------------------------------------------------------------------- */
.video-box { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-box video { width: 100%; aspect-ratio: 16 / 9; }

/* Csapat -------------------------------------------------------------------- */
.person { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.person img { border-radius: var(--radius); box-shadow: var(--shadow); }
.person .role { color: var(--muted); font-weight: 500; margin-bottom: 1em; }
@media (max-width: 720px) { .person { grid-template-columns: 1fr; } .person img { max-width: 240px; } }

/* GYIK (accordion) ---------------------------------------------------------- */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--yellow-bar); color: var(--ink); display: grid; place-items: center; font-weight: 900; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 20px 18px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* Árak ---------------------------------------------------------------------- */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-table th, .price-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { background: var(--yellow-bar); font-weight: 700; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table .price { white-space: nowrap; font-weight: 900; text-align: right; }
.price-table small { color: var(--muted); display: block; font-weight: 400; }
.pass { position: relative; }
.pass .badge { position: absolute; top: -12px; right: 20px; background: var(--pink); color: #fff; font-size: .75rem; font-weight: 900; letter-spacing: .05em; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; }
.pass .big { font-size: 2rem; font-weight: 900; margin: .2em 0; }
.pass .big small { font-size: 1rem; color: var(--muted); font-weight: 500; }

/* Űrlap --------------------------------------------------------------------- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; }
.form input, .form select, .form textarea {
  font: inherit; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(242,140,40,.15); }
.form textarea { min-height: 130px; resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: start; font-weight: 400; }
.form .check input { width: auto; margin-top: 4px; }
.form-note { font-size: .9rem; color: var(--muted); }
.form-status { display: none; padding: 14px 18px; border-radius: 12px; background: #ecf7e8; border: 1px solid #cfe9c6; font-weight: 500; }
.form-status.show { display: block; }

/* Kapcsolat ------------------------------------------------------------------ */
.contact-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; }
.contact-list .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--yellow-bar); display: grid; place-items: center; font-size: 1.4rem; }
.contact-list small { display: block; color: var(--muted); }

/* CTA sáv --------------------------------------------------------------------- */
.cta {
  position: relative; color: #fff; isolation: isolate; overflow: hidden; text-align: center; padding: clamp(56px, 8vw, 110px) 0;
}
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(20,28,40,.55), rgba(20,28,40,.7)); }
.cta h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 900; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.cta p { max-width: 720px; margin-inline: auto; font-size: 1.15rem; opacity: .95; }
.cta .hero-actions { justify-content: center; }

/* Lábléc (világossárga sáv) ------------------------------------------------- */
.footer { background: var(--yellow-bar); border-top: 1px solid rgba(0,0,0,.05); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { margin-bottom: 12px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a { color: var(--ink); }
.footer-brand img { border-radius: 50%; margin-bottom: 12px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.footer-pillars { font-size: .9rem; color: var(--muted); }
.footer-bar { border-top: 1px solid rgba(0,0,0,.07); padding: 14px 0; font-size: .85rem; color: var(--muted); }
.footer-bar .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Egyéb --------------------------------------------------------------------- */
.notice { background: #fff7d6; border: 1px solid #f7e6a3; border-radius: 12px; padding: 14px 18px; }
.tag { display: inline-block; background: var(--yellow-bar); border-radius: 999px; padding: 3px 12px; font-size: .85rem; font-weight: 700; }
.emoji-list { list-style: none; padding: 0; }
.emoji-list li { padding-left: 2em; text-indent: -2em; }
.emoji-list .e { display: inline-block; width: 2em; text-indent: 0; }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.narrow { max-width: 820px; margin-inline: auto; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .card-link, .pillar { transition: none; } }

/*--------------------------------------------------------------
   Palyazati vedjegy (Demjan Sandor Program / Neumann NKft.)
--------------------------------------------------------------*/
.palyazat-sav {
	position: fixed;
	bottom: 0;
	right: 20px;
	z-index: 9999;
	margin: 0;
	padding: 0;
}

.palyazat-sav-belso {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
}

.palyazat-szoveg {
	background: #fff;
	font-family: Arial, sans-serif;
	font-size: 14.5px;
	line-height: 1.35;
	color: #222;
	margin: 0;
	padding: 12px 18px;
	border-radius: 8px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
	white-space: nowrap;
}

.palyazat-logok {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 10px;
	line-height: 0;
}

.palyazat-logok a {
	display: inline-block;
	line-height: 0;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
}

/* FONTOS: a stiluslap elejen van egy globalis `img { max-width: 100%; height: auto }`
   - azt itt felul kell irni, kulonben a logok torzulnak. */
.palyazat-logok img {
	display: block;
	width: auto;
	height: 120px;
	max-width: none;
	object-fit: contain;
}

.palyazat-bezar {
	position: absolute;
	top: -14px;
	right: -14px;
	width: 28px;
	height: 28px;
	padding: 0;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 50%;
	font-size: 18px;
	line-height: 1;
	text-align: center;
	color: #333;
	cursor: pointer;
	z-index: 10000;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
	transition: .2s;
}

.palyazat-bezar:hover,
.palyazat-bezar:focus-visible {
	background: #222;
	color: #fff;
	border-color: #222;
}

/* A mobil fomenu teljes kepernyos, a sav 9999-es z-indexszel ralogna - nyitott menuben rejtjuk. */
body.nav-open .palyazat-sav {
	display: none;
}

@media only screen and (max-width: 767px) {
	.palyazat-sav {
		left: 10px;
		right: 10px;
	}

	.palyazat-sav-belso {
		display: flex;
		width: 100%;
	}

	.palyazat-szoveg {
		white-space: normal;
		font-size: 13px;
		padding: 8px 12px;
	}

	.palyazat-logok {
		justify-content: center;
	}

	.palyazat-logok a {
		flex: 1 1 0;
		max-width: calc(50% - 5px);
		height: 70px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.palyazat-logok img {
		width: 100%;
		height: 70px;
	}

	/* Teljes szelessegu savnal a -14px jobbra kilogna a kepernyorol. */
	.palyazat-bezar {
		top: -16px;
		right: 0;
		width: 32px;
		height: 32px;
		font-size: 20px;
	}
}
