/* FLD ProSol – wireframe v2 minták, közös váz-stílus.
   Csak szürkeárnyalat: színt, betűtípust és komponensstílust UI-József dönt el. */
* { box-sizing: border-box; }
html { scroll-padding-top: 5rem; }
body { margin: 0; color: #161616; background: #fff; font: 1rem/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
h1, h2, h3, p, ul, ol { margin: 0 0 .7rem; }
h1, h2, h3 { line-height: 1.2; overflow-wrap: break-word; }
h1 { font-size: clamp(1.9rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
h3 { font-size: 1.15rem; }
p, li { max-width: 66ch; overflow-wrap: break-word; }
a { color: inherit; text-underline-offset: .18em; }
:focus-visible { outline: 3px solid #000; outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 2rem, 72rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: .5rem; z-index: 20; background: #fff; padding: .6rem .8rem; border: 2px solid #000; transform: translateY(-300%); }
.skip:focus { transform: none; }

/* Prototípus-sáv */
.ribbon { background: #e9e9e9; border-bottom: 1px solid #999; font-size: .88rem; }
.ribbon .wrap { display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: center; justify-content: space-between; padding: .3rem 0; }
.ribbon p { margin: 0; }
.ribbon button { font: inherit; min-height: 44px; padding: .3rem .7rem; border: 1px solid #333; background: #fff; cursor: pointer; }

/* Fejléc */
.site-header { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid #999; }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; padding: .35rem 0; }
.brand { font-weight: 750; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; }
.lang { display: flex; }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .4rem; }
.lang a[aria-current="true"] { font-weight: 800; text-decoration-thickness: .2em; }
.menu-btn { font: inherit; min-height: 44px; padding: .3rem .8rem; border: 1px solid #222; background: #fff; cursor: pointer; }
.main-nav { flex-basis: 100%; }
.main-nav ul { list-style: none; margin: 0; padding: 0 0 .4rem; }
.main-nav a { display: flex; align-items: center; min-height: 44px; padding: 0 .4rem; text-decoration: none; }
.main-nav a[aria-current="true"] { text-decoration: underline; text-decoration-thickness: .15em; font-weight: 700; }
.header-cta { display: none !important; }
@media (min-width: 62rem) {
  .bar { flex-wrap: nowrap; }
  .menu-btn { display: none; }
  .brand { order: -2; margin-right: 0; }
  .main-nav { flex-basis: auto; order: -1; margin-left: 1.5rem; margin-right: auto; }
  .main-nav ul { display: flex; gap: .2rem; padding: 0; }
  .header-cta { display: inline-flex !important; }
}

/* Gombok */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .55rem 1.1rem; font: inherit; font-weight: 700; border: 2px solid #161616; background: #161616; color: #fff; text-decoration: none; cursor: pointer; text-align: center; }
.btn.secondary { background: #fff; color: #161616; }
.btn.small { min-height: 44px; padding: .4rem .9rem; }
.btn[aria-disabled="true"] { background: #555; border-color: #555; cursor: progress; }
.textlink { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.only-narrow { display: none; }
@media (max-width: 26rem) { .only-wide { display: none; } .only-narrow { display: inline; } }

/* Szakaszok */
.section { padding: clamp(2rem, 6vw, 4rem) 0; border-bottom: 1px solid #bbb; }
.section.alt { background: #f3f3f3; }
.lead { font-size: 1.12rem; }
.grid { display: grid; gap: 1rem; }
@media (min-width: 46rem) { .grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid.hero { grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; } .grid.contact { grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: start; } }
.card { border: 1px solid #888; background: #fff; padding: 1.1rem; display: flex; flex-direction: column; }
.card > :last-child { margin-bottom: 0; }
.card .push { margin-top: auto; }
.list-plain { list-style: none; padding: 0; }

/* Helyőrzők */
.ph { display: grid; place-items: center; text-align: center; border: 1px dashed #555; background: repeating-linear-gradient(45deg, #eee 0 10px, #e4e4e4 10px 20px); color: #333; font-size: .9rem; padding: .6rem; min-height: 5rem; }
.ph.img { min-height: 14rem; }
.tbd { background: #e3e3e3; outline: 1px dashed #666; padding: 0 .2em; }

/* Tervezői jegyzetek */
.note { border-left: 4px solid #444; background: #fafafa; outline: 1px dashed #888; font-size: .86rem; line-height: 1.45; padding: .45rem .7rem; margin: .8rem 0; max-width: 66ch; }
.note::before { content: "Jegyzet · "; font-weight: 800; }
.notes-off .note { display: none !important; }
.wrap.note { margin-inline: auto; max-width: none; }

/* Űrlap */
.field { margin-bottom: 1.1rem; }
label, legend { display: block; font-weight: 700; }
.opt { font-weight: 400; }
.hint { color: #333; font-size: .92rem; margin: .15rem 0 .3rem; }
input[type="text"], input[type="email"], input[type="tel"], textarea { display: block; width: 100%; font: inherit; color: inherit; background: #fff; border: 1px solid #555; padding: .5rem .6rem; min-height: 48px; }
textarea { min-height: 8rem; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0 0 1.1rem; min-width: 0; }
.choice { display: flex; align-items: center; gap: .55rem; min-height: 44px; }
.choice input { width: 1.25rem; height: 1.25rem; margin: 0; flex: none; }
.choice label { font-weight: 400; }
.err { font-weight: 700; margin: .2rem 0; }
.err::before { content: "! "; }
[aria-invalid="true"] { border: 3px solid #000 !important; }
.fieldset-invalid { border-left: 4px solid #000; padding-left: .7rem; }
.count { font-size: .88rem; color: #333; margin: .25rem 0 0; }
.summary, .status { border: 3px solid #161616; padding: .9rem 1rem; margin: 0 0 1.2rem; background: #fff; }
.summary ul { margin: .3rem 0 0; padding-left: 1.2rem; }
.summary a { display: inline-block; padding: .2rem 0; }
.status.ok { border-style: double; border-width: 5px; }
.privacy { font-size: .92rem; }
.demo { border: 1px dashed #666; background: #f4f4f4; padding: .4rem .8rem; margin-top: 1.5rem; font-size: .92rem; }
.demo summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 700; }
.demo select { font: inherit; min-height: 44px; max-width: 100%; }

/* Lábléc */
.site-footer { padding: 2rem 0; font-size: .94rem; }
.site-footer ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.2rem; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }

/* Kiválasztott A minta: a B összehasonlító változat marad az eredeti. */
.service-focus .ph { background: #ddd; border: 0; }
@media (max-width: 45.999rem) { .service-focus .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.service-focus .field select { display: block; width: 100%; font: inherit; color: inherit; background: #fff; border: 1px solid #555; padding: .5rem .6rem; min-height: 48px; }

.service-focus .company-details { display: grid; gap: var(--footer-row-gap); margin: 0 0 .7rem; }
.service-focus .company-details > div { display: flex; flex-wrap: wrap; column-gap: .4rem; }
.service-focus .company-details dd { margin: 0; }
.service-focus .footer-layout { --footer-row-gap: .25rem; --footer-heading-gap: .7rem; display: grid; gap: 1rem; }
.service-focus .footer-company > :first-child { margin-bottom: var(--footer-heading-gap); }
.service-focus .footer-company > :last-child, .service-focus .footer-nav ul { margin-bottom: 0; }
.service-focus .footer-nav ul { display: grid; }
@media (min-width: 46rem) {
  .service-focus .footer-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 18rem); gap: 2rem; align-items: start; }
  .service-focus .footer-nav { padding-block-start: calc(1lh + var(--footer-heading-gap)); text-align: right; }
  .service-focus .footer-nav ul { row-gap: var(--footer-row-gap); }
  .service-focus .company-details > div, .service-focus .footer-nav a { min-height: 24px; }
  .service-focus .footer-nav a { display: block; }
}
