/* Stabil Művek – nyilvános oldal.
   Színek és betűk: design/weboldal.dc.html. Felépítés: 2026. októberi átalakítás (CLAUDE.md 3. és 7. pont). */

:root {
  --bg: #F3F3F1;
  --bg-2: #EAE9E5;
  --card: #FFFFFF;
  --text: #121212;
  --text-2: #4A4844;
  --text-3: #5A5853;
  --line: #E0DFDA;
  --field-border: #8F8C85;
  --accent: #FF6A00;
  --accent-hover: #FF7F24;
  --accent-soft: #FFE7D4;
  --accent-ink: #A84500;
  --error: #B42318;
  --error-soft: #FDECEA;
  --dark: #121212;
  --dark-card: #1F1F1D;
  --dark-border: #353533;
  --dark-text: #C9C7C2;
  --dark-muted: #A9A7A2;
  --pad: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --header-h: 76px;
  --font-head: 'Tilt Warp', 'Arial Black', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
  /* A címsor betűje (Tilt Warp) egyetlen súlyú: ne rajzoljon a böngésző álvastagítást. */
  font-synthesis: none;
}

/* A tetején maradó fejléc ne takarja el a horgonnyal elért szakasz címét. */
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

img { max-width: 100%; }
a { color: var(--text); }
a:hover { color: #000; }

:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--accent); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 50;
  background: var(--accent); color: var(--text);
  padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.hl {
  background: var(--accent); color: var(--text);
  padding: 0 0.14em; border-radius: 0.18em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Kis felirat a címek fölött: narancs vonal + nagybetűs szöveg.
   Világos háttéren a szöveg sötét (a narancs szöveg ott nem elég kontrasztos), sötéten narancs. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0;
  font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text);
}
.eyebrow__line { width: 32px; height: 3px; border-radius: 2px; background: var(--accent); flex: 0 0 auto; }
.eyebrow--center::after { content: ''; width: 32px; height: 3px; border-radius: 2px; background: var(--accent); }
.on-dark .eyebrow { color: var(--accent); }

.h2 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(34px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -0.01em; margin: 0;
}

/* ---------- Gombok ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 16px 28px; border-radius: 999px;
  font-family: inherit; font-weight: 700; font-size: 16px; text-decoration: none; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer;
}
.btn svg { flex: 0 0 auto; }
.btn--dark { background: var(--dark); color: #FFF; }
.btn--dark:hover { background: #000; color: #FFF; }
.btn--outline { background: transparent; color: var(--text); border-color: var(--text); }
.btn--outline:hover { background: var(--text); color: #FFF; }
.btn--accent { background: var(--accent); color: var(--text); }
.btn--accent:hover { background: var(--accent-hover); color: var(--text); }
.btn--light { background: #FFF; color: var(--text); }
.btn--light:hover { background: var(--accent); color: var(--text); }
.btn--ghost { background: rgba(18, 18, 18, 0.25); color: #FFF; border-color: rgba(255, 255, 255, 0.7); }
.btn--ghost:hover { background: #FFF; color: var(--text); border-color: #FFF; }
.btn--sm { min-height: 52px; padding: 12px 24px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- Fejléc ---------- */

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(243, 243, 241, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 16px 32px; min-height: var(--header-h); }
.site-header__logo { display: block; margin-right: auto; }
.site-header__logo img { height: 42px; width: auto; display: block; }
.site-nav { display: flex; gap: 8px 28px; font-weight: 700; font-size: 15px; }
.site-nav a { text-decoration: none; padding: 12px 0; }
.site-nav a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.site-header__call { min-height: 48px; padding: 12px 22px; font-size: 15px; }

/* Mobil menü: natív <details>, JS nélkül. */
.mnav { display: none; }
.mnav summary {
  list-style: none; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--text);
  display: flex; align-items: center; justify-content: center;
}
.mnav summary::-webkit-details-marker { display: none; }
.mnav[open] summary { background: var(--text); color: #FFF; }
.mnav__panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg); border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.35);
  display: flex; flex-direction: column; padding: 8px var(--pad) 16px;
}
.mnav__panel a {
  display: flex; align-items: center; min-height: 52px;
  font-weight: 700; font-size: 18px; text-decoration: none; border-bottom: 1px solid var(--line);
}
.mnav__panel a:last-child { border-bottom: 0; }

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .site-header__inner { gap: 10px; }
  .site-header__logo img { height: 34px; }
  .site-nav { display: none; }
  .mnav { display: block; }
  .site-header__call .call-label { display: none; }
  .site-header__call { width: 48px; padding: 0; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(560px, calc(100vh - var(--header-h)), 820px);
  display: flex; align-items: center; color: #FFF; background: var(--dark);
}
.hero picture { position: absolute; inset: 0; z-index: -2; }
.hero__bg { width: 100%; height: 100%; object-fit: cover; object-position: 60% 90%; display: block; }
/* Sötét áttűnés: a fehér szöveg mögött legalább 4,5:1 kontraszt. */
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(18, 18, 18, 0.9) 0%, rgba(18, 18, 18, 0.78) 42%, rgba(18, 18, 18, 0.3) 78%, rgba(18, 18, 18, 0.15) 100%);
}
.hero__content { width: 100%; padding-top: 96px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.hero h1 {
  font-family: var(--font-head); font-weight: 800; max-width: 760px;
  font-size: clamp(40px, 6vw, 84px); line-height: 1.08; letter-spacing: -0.01em; margin: 0;
}
.hero__lead { font-size: 19px; line-height: 1.6; color: #ECEAE5; max-width: 560px; margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* Cím és jobbra a logós doboz; a doboz alja egy vonalban a cím utolsó sorával („precízen.”). */
.hero__title { width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hero__brand {
  flex: 0 0 auto; padding: 22px 26px 18px; border-radius: 24px;
  background: var(--accent); color: var(--text); text-align: center;
}
.hero__brand img { display: block; width: clamp(200px, 20vw, 280px); height: auto; }
.hero__brand p {
  margin: 12px 0 0; padding-top: 10px; border-top: 2px solid rgba(18, 18, 18, 0.85);
  font-family: var(--font-head); font-size: clamp(16px, 1.5vw, 20px); line-height: 1.2;
}
@media (max-width: 1000px) {
  .hero__title { flex-wrap: wrap; }
}

/* Betöltéskor egyszeri, finom beúszás egymás után (csak CSS). Aki kikapcsolta az animációkat, annak nincs mozgás.
   A főcím nem indul láthatatlanul (csak elmozdul), hogy a betöltési mérésben (LCP) ne késsen. */
@media (prefers-reduced-motion: no-preference) {
  .hero__content > .eyebrow,
  .hero__brand,
  .hero__lead,
  .hero__content > .facts,
  .hero__actions { animation: hero-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero h1 { animation: hero-rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero__brand { animation-delay: 0.35s; }
  .hero__lead { animation-delay: 0.3s; }
  .hero__content > .facts { animation-delay: 0.42s; }
  .hero__actions { animation-delay: 0.54s; }
  /* A „precízen.” narancs háttere balról jobbra kitöltődik; addig a szöveg fehér, hogy a sötét háttéren is látsszon. */
  .hero .hl {
    background: linear-gradient(var(--accent), var(--accent)) no-repeat left center / 0% 100%;
    animation: hl-sweep 0.5s 0.4s cubic-bezier(0.6, 0, 0.3, 1) both;
  }
}
@keyframes hero-in { from { opacity: 0; transform: translateY(16px); } }
@keyframes hero-rise { from { transform: translateY(14px); } }
@keyframes hl-sweep {
  from { background-size: 0% 100%; color: #FFF; }
  70% { color: #FFF; }
  to { background-size: 100% 100%; color: var(--text); }
}

@media (max-width: 720px) {
  .hero { min-height: 0; align-items: flex-end; }
  .hero__bg { object-position: center 30%; }
  .hero::after { background: linear-gradient(180deg, rgba(18, 18, 18, 0.15) 0%, rgba(18, 18, 18, 0.55) 22%, rgba(18, 18, 18, 0.88) 42%, rgba(18, 18, 18, 0.94) 100%); }
  .hero__content { padding-top: 180px; padding-bottom: 48px; gap: 20px; }
  .hero__lead { font-size: 17px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__brand { padding: 14px 18px 12px; border-radius: 18px; }
  .hero__brand img { width: 180px; }
  .hero__brand p { margin-top: 8px; padding-top: 6px; font-size: 15px; }
}

/* Pipás tényállítások (csak igaz, Csaba által megerősített állítás kerülhet ide). */
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.facts li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: 16px; }
.facts svg { color: var(--accent-ink); margin-top: 2px; }
.facts--light { flex-direction: row; flex-wrap: wrap; gap: 10px 24px; }
.facts--light li { color: #FFF; font-size: 15px; }
.facts--light svg { color: var(--accent); }

/* ---------- Szolgáltatássáv ---------- */

.ribbon { background: var(--dark); color: #FFF; overflow: hidden; padding: 22px 0; border-top: 1px solid #2A2A28; }
.ribbon__list {
  display: flex; gap: 28px; align-items: center; white-space: nowrap;
  list-style: none; margin: 0; padding: 0 0 0 var(--pad);
  font-family: var(--font-head); font-weight: 700; font-size: 26px; letter-spacing: -0.01em;
}
.ribbon__list li { display: flex; align-items: center; gap: 28px; }
.ribbon__roof { color: var(--accent); flex: 0 0 auto; }
@media (max-width: 720px) {
  .ribbon { padding: 16px 0; }
  .ribbon__list, .ribbon__list li { font-size: 20px; gap: 18px; }
}

/* ---------- Szekciók ---------- */

.section { padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 52px; }
.section__head { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.section__head--center { align-items: center; text-align: center; }
.section__intro { margin: 0; font-size: 18px; line-height: 1.6; color: var(--text-2); max-width: 620px; }
.section__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 48px; }

@media (max-width: 720px) {
  .section { padding-top: 72px; padding-bottom: 72px; gap: 36px; }
  .section__intro { font-size: 17px; }
}

/* Szolgáltatások */
.services {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px;
  list-style: none; margin: 0; padding: 0;
}
.service {
  background: var(--card); border-radius: 24px; padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  border: 1px solid transparent; transition: border-color 0.2s, transform 0.2s;
}
.service:hover { border-color: var(--line); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .service, .service:hover { transition: none; transform: none; } }
.service__icon {
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 6px;
  background: var(--accent-soft); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
}
.service h3 { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 22px; line-height: 1.15; letter-spacing: -0.01em; }
.service p { margin: 0; color: var(--text-2); font-size: 16px; line-height: 1.55; }

/* Rólam */
.about { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 56px; }
.about__photo {
  flex: 1 1 360px; min-width: 0; max-width: 520px; height: 560px;
  object-fit: cover; object-position: 35% center; border-radius: 32px; display: block;
}
.about__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.about__text > p:not(.eyebrow) { margin: 0; font-size: 18px; line-height: 1.65; color: var(--text-2); max-width: 580px; }
@media (max-width: 720px) {
  .about { gap: 32px; }
  .about__photo { flex-basis: 100%; max-width: none; height: 420px; border-radius: 24px; }
  .about__text > p:not(.eyebrow) { font-size: 17px; }
}

/* Így dolgozom */
.process { background: var(--bg-2); }
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
}
.step { position: relative; background: var(--card); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.step__num {
  width: 56px; height: 56px; border-radius: 50%; border: 2.5px solid var(--accent); margin-bottom: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 20px;
}
.step h3 { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 22px; }
.step p { margin: 0; color: var(--text-2); font-size: 16px; line-height: 1.55; }
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step:not(:last-child)::after {
    content: ''; position: absolute; top: 55px; right: -20px; width: 20px;
    border-top: 2.5px dashed var(--accent);
  }
}

/* Galéria */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  border-bottom: 2px solid var(--accent); padding: 10px 0 4px;
}
/* Kategóriaszűrő: rádiógombok gombnak öltöztetve, JS nélkül (:has). Új kategóriához új sor kell lent. */
.gallery-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; padding: 0; border: 0; }
.gallery-filter input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gallery-filter label {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 20px;
  border: 2px solid var(--text); border-radius: 999px; cursor: pointer;
  font-weight: 700; font-size: 15px; color: var(--text);
}
.gallery-filter label:hover { background: var(--card); }
.gallery-filter input:checked + label { background: var(--text); color: #FFF; }
.gallery-filter input:focus-visible + label { outline: 3px solid var(--text); outline-offset: 3px; }
.gallery-filter__count { font-weight: 600; opacity: 0.75; }
.gallery-block:has(#szuro-teto:checked) .gallery > li:not([data-cat="teto"]),
.gallery-block:has(#szuro-ksz:checked) .gallery > li:not([data-cat="ksz"]) { display: none; }

.gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px;
  list-style: none; margin: 0; padding: 0;
}
.gallery__item { display: block; position: relative; margin: 0; border-radius: 24px; text-decoration: none; }
.gallery__item img { width: 100%; height: 340px; object-fit: cover; border-radius: 24px; display: block; background: #E6E5E0; }
.gallery__item:hover img { filter: brightness(1.05); }
.gallery__empty { margin: 0; background: var(--card); border-radius: 24px; padding: 32px; color: var(--text-2); font-size: 17px; }
@media (max-width: 720px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery__item img { height: 260px; }
}

/* Vélemények */
.reviews { padding-bottom: 104px; }
.reviews__card {
  background: var(--card); border-radius: 28px; padding: clamp(28px, 4vw, 48px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
}
.reviews__text { display: flex; flex-direction: column; gap: 12px; flex: 1 1 420px; min-width: 0; }
.reviews__stars { display: flex; gap: 4px; color: var(--accent); }
.reviews__title { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -0.01em; }
.reviews__text p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.reviews__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 720px) { .reviews { padding-bottom: 72px; } }

/* Sötét felhívássáv */
.cta {
  color: #FFF; text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 16px),
    var(--dark);
}
.cta__inner { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta__title {
  margin: 0; max-width: 900px;
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(32px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -0.01em;
}
.cta__inner > p { margin: 0; max-width: 620px; color: var(--dark-text); font-size: 18px; line-height: 1.6; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
@media (max-width: 720px) {
  .cta__inner { padding-top: 72px; padding-bottom: 72px; }
  .cta__actions { width: 100%; }
  .cta__actions .btn { flex: 1 1 100%; }
}

/* ---------- Ajánlatkérés ---------- */

.quote { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 24px; align-items: start; }
@media (max-width: 960px) { .quote { grid-template-columns: 1fr; } }

.quote-card {
  background: var(--card); border-radius: 28px; padding: clamp(22px, 4vw, 40px);
  box-shadow: 0 24px 48px -32px rgba(18, 18, 18, 0.35);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 15px; }
.field__req { color: var(--error); }
.field__opt { font-weight: 500; color: var(--text-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  font: inherit; font-size: 16px; color: var(--text);
  background: #FBFBFA; border: 1.5px solid var(--field-border); border-radius: 14px;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--text); background-color: #FFF;
}
.field input::placeholder, .field textarea::placeholder { color: #77746D; }
.field__hint { margin: 0; font-size: 14px; color: var(--text-3); line-height: 1.45; }
.field__error { margin: 0; font-size: 14px; font-weight: 700; color: var(--error); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--error); background-color: #FFF; }

.form-alert {
  margin: 0 0 22px; padding: 14px 18px; border-radius: 14px;
  background: var(--error-soft); border-left: 4px solid var(--error); color: #7A1A12; font-weight: 700;
}
.quote-card .btn--block { margin-top: 26px; }
.form-note { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: var(--text-2); text-align: center; }

/* Csapdamező: képernyőn kívül, ember nem látja. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.quote-card--sent { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 48px; padding-bottom: 48px; }
.quote-card__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--text); display: flex; align-items: center; justify-content: center; }
.quote-card--sent h3 { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 28px; letter-spacing: -0.01em; }
.quote-card--sent p { margin: 0 0 8px; color: var(--text-2); font-size: 17px; max-width: 460px; }

.contact-cards { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ccard {
  display: flex; align-items: center; gap: 16px;
  background: var(--card); color: var(--text); border: 1px solid var(--line);
  padding: 18px 20px; border-radius: 22px; text-decoration: none; min-height: 84px;
}
a.ccard:hover { border-color: var(--text); }
.ccard__icon {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent-soft); color: var(--text);
  display: flex; align-items: center; justify-content: center;
}
.ccard__body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ccard__label { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.ccard__value { font-weight: 700; font-size: 18px; overflow-wrap: anywhere; }
.ccard--accent { background: var(--accent); border-color: var(--accent); }
a.ccard--accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--text); }
.ccard--accent .ccard__icon { background: var(--dark); color: #FFF; }
.ccard--accent .ccard__label { color: var(--text); }
.ccard--accent .ccard__value { font-family: var(--font-head); font-weight: 800; font-size: 24px; letter-spacing: -0.01em; }

/* ---------- Lábléc ---------- */

.site-footer { background: var(--dark); color: var(--dark-text); padding-top: 72px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 40px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.site-footer__brand img { height: 34px; width: auto; display: block; }
.site-footer__brand p { margin: 0; font-size: 15px; line-height: 1.6; max-width: 320px; }
.site-footer .site-footer__slogan { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: #FFF; }
.site-footer__col { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.site-footer__col h2 {
  margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.site-footer__col a, .site-footer__col span {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px;
  color: #E8E6E1; text-decoration: none; font-size: 15px; overflow-wrap: anywhere;
}
.site-footer__col a:hover { color: #FFF; text-decoration: underline; text-decoration-color: var(--accent); }
.site-footer__col svg { color: var(--accent); }
.site-footer__bottom { margin-top: 56px; padding-bottom: 28px; }
.site-footer__bottom p { margin: 0; padding-top: 22px; border-top: 1px solid #2E2E2C; font-size: 14px; color: var(--dark-muted); }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: 32px; } .site-footer { padding-top: 56px; } }

/* ---------- Jogi oldalak ---------- */

.legal { max-width: 820px; padding-top: 48px; padding-bottom: 96px; }
.legal h1 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(36px, 5vw, 56px); line-height: 1.02; letter-spacing: -0.01em; margin: 0 0 24px;
}
.legal h2 { font-family: var(--font-head); font-weight: 700; font-size: 24px; margin: 48px 0 14px; letter-spacing: -0.01em; }
.legal p, .legal li, .legal dd, .legal td { font-size: 17px; line-height: 1.65; color: var(--text-2); }
.legal p { margin: 0 0 14px; }
.legal ul { padding-left: 22px; margin: 0 0 14px; }
.legal li { margin-bottom: 6px; }
.legal li strong { color: var(--text); }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0 0 14px; }
.legal dt { font-weight: 700; font-size: 17px; line-height: 1.65; }
.legal dd { margin: 0; }
.legal .legal__lead { font-size: 19px; }
.legal__toc { background: var(--card); border-radius: 20px; padding: 20px 24px; margin: 28px 0 8px; }
.legal__toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 32px; }
.legal__toc li { margin: 0 0 4px; break-inside: avoid; }
.table-wrap { overflow-x: auto; margin: 0 0 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.legal table { width: 100%; border-collapse: collapse; min-width: 480px; }
.legal th, .legal td { text-align: left; padding: 12px 16px; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal th { font-size: 14px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: var(--bg-2); }
.legal tr:last-child td { border-bottom: 0; }
.legal .naih { background: var(--card); border-radius: 16px; padding: 18px 22px; }
@media (max-width: 560px) {
  .legal dl { grid-template-columns: 1fr; gap: 0; }
  .legal dd { margin-bottom: 12px; }
  .legal__toc ol { columns: 1; }
}

.notice { background: var(--card); border-radius: 24px; padding: 32px; margin: 40px auto 96px; max-width: 640px; }
.notice h1 { font-family: var(--font-head); font-weight: 800; font-size: 40px; margin: 0 0 12px; letter-spacing: -0.01em; }
.notice p { color: var(--text-2); font-size: 17px; margin: 0 0 24px; }

/* ---------- Lightbox ---------- */

.lightbox {
  width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  margin: 0; padding: 0; border: 0; background: transparent; color: #FFF;
}
.lightbox::backdrop { background: rgba(10, 10, 10, 0.92); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox figure {
  margin: 0; padding: 72px 16px 16px; flex: 1 1 auto; min-height: 0; width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.lightbox img { max-width: min(100%, 1600px); max-height: 100%; object-fit: contain; border-radius: 12px; }
.lightbox__btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, 0.14); color: #FFF; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__btn:hover { background: var(--accent); color: var(--text); }
.lightbox__btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.lightbox__btn[hidden] { display: none; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 720px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; transform: none; }
  .lightbox figure { padding-bottom: 76px; }
}
