/* ==========================================================================
   Cawyl DC KFT. – landing oldal
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Színvilág: éjkék #091C29 (szöveg, ikonok, sötét felületek) + arany #E7B92E (gombok, kiemelések).
     Az arany fehér alapon szövegként nem olvasható (1,85:1), ezért csak kitöltésként/díszítésként szerepel. */
  --primary: #091C29;
  --primary-700: #16364D;
  --primary-50: #EDF0F3;
  --accent: #E7B92E;
  --accent-600: #D4A21C;
  --accent-50: #FBF3DB;
  --ink: #091C29;
  --muted: #536170;
  --tint: #F4F5F7;
  --line: #E1E5EA;
  --white: #FFFFFF;
  --danger: #B42318;
  --success: #157347;

  --font: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(9, 28, 41, .06), 0 2px 8px rgba(9, 28, 41, .04);
  --shadow: 0 2px 4px rgba(9, 28, 41, .04), 0 12px 32px rgba(9, 28, 41, .08);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Alapok ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-700); }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.025em; font-weight: 800; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.2vw, 4.1rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.3; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: var(--white); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 920px; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tint { background: var(--tint); }

/* Szekciócímke: kék pont + citromsárga vonal (áramköri utalás) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 14px; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary);
}
.eyebrow::before {
  content: ""; width: 28px; height: 8px; flex: none;
  background:
    radial-gradient(circle at 4px 4px, var(--primary) 3.2px, transparent 3.6px),
    linear-gradient(var(--accent), var(--accent)) 8px 50% / 20px 3px no-repeat;
}

.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head > p:last-child { color: var(--muted); font-size: 1.0625rem; margin-bottom: 0; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--row { max-width: none; display: grid; gap: 12px 48px; align-items: end; }
@media (min-width: 900px) { .section-head--row { grid-template-columns: 1fr 1fr; } .section-head--row h2 { margin-bottom: 0; } }

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 1.5px solid transparent;
  font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-lg { min-height: 56px; padding: 15px 26px; font-size: 1.0625rem; }
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: 0 6px 16px -6px rgba(231, 185, 46, .75); }
.btn-primary:hover { background: var(--accent-600); color: var(--ink); transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(212, 162, 28, .8); }
.btn-secondary { background: var(--white); color: var(--primary); border-color: rgba(9, 28, 41, .35); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary-700); background: var(--primary-50); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform .2s var(--ease); }
.btn-primary:hover > .icon:last-child { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-link {
  padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--primary);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}

/* ---------- Fejléc ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -14px rgba(9, 28, 41, .25); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); }
.logo-img { display: block; height: 48px; width: auto; }
@media (max-width: 900px) { .logo-img { height: 38px; } }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; }
.main-nav a:not(.btn) {
  display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .975rem;
  transition: color .2s, background-color .2s;
}
.main-nav a:not(.btn):hover { color: var(--primary); background: var(--tint); }
.nav-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--primary); }
.header-phone:hover { color: var(--primary); }

.nav-toggle {
  display: none; width: 48px; height: 48px; align-items: center; justify-content: center;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1080px) {
  .header-phone span { display: none; }
  .header-phone { width: 48px; height: 48px; justify-content: center; border: 1.5px solid var(--line); border-radius: 12px; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .header-actions { margin-left: auto; gap: 8px; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; padding: 12px 20px 24px;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(9, 28, 41, .3);
    display: none;
  }
  .main-nav.is-open { display: block; animation: drop .2s var(--ease); }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a:not(.btn) { padding: 14px 12px; font-size: 1.0625rem; border-bottom: 1px solid var(--tint); border-radius: 0; }
  .nav-cta { display: flex; margin-top: 16px; width: 100%; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 88px); }
.hero-grid { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 64px; } }
.hero-copy h1 { margin-bottom: 22px; }
.mark { position: relative; white-space: nowrap; z-index: 0; }
.mark::after {
  content: ""; position: absolute; z-index: -1; left: -2px; right: -2px; bottom: .06em; height: .32em;
  background: var(--accent); border-radius: 3px;
  transform-origin: left; animation: mark-in .7s .25s var(--ease) both;
}
@keyframes mark-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; }
.hero-points .icon { color: var(--primary); width: 18px; height: 18px; stroke-width: 2.2; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 960 / 1080; object-fit: cover; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--tint);
}
@media (max-width: 959px) { .hero-media img { aspect-ratio: 4 / 3; } }
.hero-media::before {
  content: ""; position: absolute; top: -14px; right: -14px; width: 96px; height: 96px; z-index: -1;
  border-top: 3px solid var(--accent); border-right: 3px solid var(--accent); border-radius: 0 28px 0 0;
}
.hero-badge {
  position: absolute; left: -20px; bottom: 32px; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  font-size: .95rem;
}
.hero-badge-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(231, 185, 46, .3); }
@media (max-width: 600px) { .hero-badge { left: 12px; bottom: 12px; } .hero-media::before { display: none; } }

/* ---------- Űrlapok ---------- */
.quote { padding-top: 0; }
.form-card {
  position: relative; padding: clamp(24px, 4vw, 48px);
  background: linear-gradient(180deg, #FCFCFB, var(--white));
  border: 1.5px solid rgba(9, 28, 41, .3); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.form-card::before {
  content: ""; position: absolute; top: -1.5px; left: clamp(24px, 4vw, 48px); width: 64px; height: 4px; border-radius: 0 0 4px 4px; background: var(--accent);
}
.form-card-head { max-width: 640px; margin-bottom: 28px; }
.form-card-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); margin-bottom: 10px; }
.form-card-head p { color: var(--muted); margin: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 5px 12px 5px 10px;
  font-size: .8125rem; font-weight: 700; color: var(--ink); background: var(--tint); border-radius: 999px;
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(231, 185, 46, .3); }

.form-grid { display: grid; gap: 4px 18px; }
@media (min-width: 640px) { .form-grid--2, .form-grid--4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .form-grid--4 { grid-template-columns: 1fr 1fr 1fr 1.35fr; } }
.field--full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field label { font-weight: 700; font-size: .9375rem; margin-bottom: 7px; }
.optional { font-weight: 500; color: var(--muted); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 15px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid #C8CFD7; border-radius: 12px; appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field select {
  padding-right: 44px; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23091C29' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px;
}
.field input::placeholder, .field textarea::placeholder { color: #8C97A3; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #A3ADB8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(9, 28, 41, .15); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
.field.is-invalid input:focus, .field.is-invalid select:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .14); }
.field.is-valid input:not([type="checkbox"]), .field.is-valid select { border-color: #9AA6B2; }
.field-error { min-height: 1.5em; margin: 5px 0 6px; font-size: .875rem; font-weight: 600; color: var(--danger); line-height: 1.4; }
.field-error:empty::before { content: "\00a0"; }

.form-foot { display: grid; gap: 12px 32px; align-items: start; margin-top: 4px; }
@media (min-width: 800px) { .form-foot { grid-template-columns: 1fr auto; } }
.field--check { display: grid; grid-template-columns: 24px 1fr; column-gap: 12px; align-items: start; }
.field--check input {
  width: 24px; height: 24px; margin: 1px 0 0; appearance: none; cursor: pointer;
  border: 1.5px solid #A3ADB8; border-radius: 7px; background: var(--white);
  display: grid; place-content: center; transition: background-color .15s, border-color .15s;
}
.field--check input::after {
  content: ""; width: 12px; height: 7px; border: solid var(--white); border-width: 0 0 2.5px 2.5px;
  transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .15s var(--ease);
}
.field--check input:checked { background: var(--primary); border-color: var(--primary); }
.field--check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.field--check input:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.field--check.is-invalid input { border-color: var(--danger); }
.field--check label { font-weight: 500; font-size: .9375rem; color: var(--muted); margin: 0; cursor: pointer; }
.field--check .field-error { grid-column: 2; }
.btn-submit { width: 100%; }
@media (min-width: 800px) { .btn-submit { width: auto; } }
.btn-submit[aria-busy="true"] { pointer-events: none; opacity: .85; }
.btn-submit[aria-busy="true"] .icon { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status {
  margin: 16px 0 0; padding: 14px 16px; border-radius: 12px; font-weight: 600;
  background: #FEF3F2; color: var(--danger); border: 1px solid #F5C2BC;
}
.form-noscript { margin-top: 16px; font-weight: 600; }

.form-success {
  display: flex; gap: 18px; align-items: flex-start; padding: 24px; margin-top: 4px;
  border-radius: var(--radius); background: var(--tint); border: 1px solid var(--line);
  animation: rise .4s var(--ease);
}
.form-success:focus { outline: none; }
.form-success[hidden] { display: none; }
.form-success h3 { margin-bottom: 6px; font-size: 1.25rem; }
.form-success p { color: var(--muted); }
.form-success-icon {
  flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-content: center;
  background: var(--accent); color: var(--ink);
}
.form-success-icon .icon { width: 26px; height: 26px; stroke-width: 2.5; }
.form-demo-note { padding: 10px 12px; border-radius: 10px; background: #FBF1D3; color: var(--ink) !important; font-size: .9rem; font-weight: 600; }
@media (max-width: 560px) { .form-success { flex-direction: column; gap: 14px; padding: 20px; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Többlépéses kérdőív ---------- */
.quiz-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 22px; }
.quiz-top .pill { margin: 0; }
.quiz-progress { display: flex; align-items: center; gap: 12px; flex: 1 1 220px; max-width: 360px; }
.quiz-count { font-size: .875rem; font-weight: 700; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.quiz-count b { color: var(--ink); }
.quiz-bar { position: relative; flex: 1; height: 8px; border-radius: 999px; background: var(--tint); overflow: hidden; }
.quiz-bar > span { position: absolute; inset: 0 auto 0 0; width: 20%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--primary) calc(100% - 10px), var(--accent) calc(100% - 10px)); transition: width .35s var(--ease); }
.quiz-step { margin: 0; padding: 0; border: 0; min-width: 0; }
.quiz-step:not([hidden]) { animation: rise .35s var(--ease); }
.quiz-q { float: none; display: block; width: 100%; padding: 0; margin: 0 0 8px; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; line-height: 1.2; letter-spacing: -.025em; color: var(--ink); }
.quiz-q:focus { outline: none; }
.quiz-q:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
.quiz-hint { color: var(--muted); margin: 0 0 20px; max-width: 62ch; }
.quiz-q + .tiles, .quiz-q + .chips { margin-top: 18px; }

.tiles { display: grid; gap: 12px; }
.tiles--short { grid-template-columns: 1fr 1fr; }
@media (min-width: 560px) { .tiles--choice, .tiles--wide { grid-template-columns: 1fr 1fr; } .tiles--choice > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 960px) {
  .tiles--choice { grid-template-columns: repeat(3, 1fr); }
  .tiles--choice > :last-child:nth-child(odd) { grid-column: auto; }
  .tiles--choice > :last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  .tiles--short { grid-template-columns: repeat(4, 1fr); }
}
.tile {
  position: relative; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 44px 14px 16px;
  background: var(--white); border: 1.5px solid #C8CFD7; border-radius: 14px; cursor: pointer;
  transition: border-color .15s, background-color .15s, box-shadow .15s, transform .15s var(--ease);
}
.tile:hover { border-color: #9AA6B2; transform: translateY(-1px); }
.tile input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tile::after {
  content: ""; position: absolute; right: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
  border: 1.5px solid #A3ADB8; border-radius: 50%; background: var(--white); transition: all .15s;
}
.tile:has(input:checked) { border-color: var(--primary); background: var(--primary-50); box-shadow: 0 0 0 3px rgba(9, 28, 41, .12); }
.tile:has(input:checked)::after {
  border-color: var(--primary); background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.tile:has(input:focus-visible) { outline: 3px solid var(--primary); outline-offset: 2px; }
.tile-icon { display: grid; place-content: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--primary-50); color: var(--primary); }
.tile:has(input:checked) .tile-icon { background: var(--white); }
.tile-icon .icon { width: 22px; height: 22px; }
.tile-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.tile-text strong { font-size: 1rem; }
.tile-text small { font-size: .875rem; color: var(--muted); margin-top: 2px; }
.tiles--short .tile { justify-content: center; text-align: center; padding: 14px 40px 14px 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.chip-opt { position: relative; cursor: pointer; }
.chip-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-opt span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px;
  border: 1.5px solid #C8CFD7; border-radius: 999px; background: var(--white); font-weight: 600; font-size: .95rem;
  transition: border-color .15s, background-color .15s;
}
.chip-opt span::before {
  content: ""; width: 16px; height: 16px; flex: none; border: 1.5px solid #A3ADB8; border-radius: 5px; background: var(--white);
}
.chip-opt:hover span { border-color: #9AA6B2; }
.chip-opt input:checked + span { border-color: var(--primary); background: var(--primary-50); color: var(--primary-700); }
.chip-opt input:checked + span::before {
  border-color: var(--primary); background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.chip-opt input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: 2px; }

.safety-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin: 0 0 18px; border-radius: 12px; background: #FEF3F2; border: 1px solid #F5C2BC; }
.safety-note .icon { color: var(--danger); margin-top: 2px; }
.safety-note p { margin: 0; font-size: .95rem; color: var(--ink); }
.safety-note--info { background: var(--tint); border-color: var(--line); }
.safety-note--info .icon { color: var(--primary); }
.safety-note[hidden] { display: none; }

.group-error { margin-top: 10px; }
.quiz-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.btn-back { padding: 12px 4px; border: 0; background: none; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; }
.btn-back:hover { color: var(--primary); }
.quiz .field--check { margin-top: 4px; }
@media (max-width: 559px) { .quiz-nav .btn-submit { flex: 1; } }
.form-urgent-note { padding: 10px 12px; border-radius: 10px; background: #FEF3F2; color: var(--ink) !important; font-weight: 600; font-size: .95rem; }

/* ---------- Szolgáltatások ---------- */
.service-grid { list-style: none; display: grid; gap: 20px; }
@media (min-width: 640px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .service-grid { grid-template-columns: repeat(6, 1fr); }
  .service-card { grid-column: span 2; }
  .service-card:nth-last-child(-n+2):nth-child(3n+1), .service-card:nth-last-child(-n+2):nth-child(3n+1) ~ .service-card { grid-column: span 3; }
}
@media (min-width: 640px) and (max-width: 999px) { .service-card:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.section-cta { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }
.service-card {
  position: relative; display: flex; flex-direction: column; padding: 28px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #CBD2DA; }
.service-card h3 { margin: 20px 0 8px; }
.service-card p { color: var(--muted); font-size: 1rem; flex: 1; }
.icon-tile {
  position: relative; display: grid; place-content: center; width: 52px; height: 52px; flex: none;
  border-radius: 14px; background: var(--primary-50); color: var(--primary);
}
.icon-tile .icon { width: 26px; height: 26px; }
.icon-tile::after {
  content: ""; position: absolute; right: -3px; top: -3px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--white);
}

/* ---------- Kéthasábos szekciók (Felújítás előtt, Rólunk) ---------- */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--tint); }
.split-media::after {
  content: ""; position: absolute; left: -14px; bottom: -14px; width: 96px; height: 96px; z-index: -1;
  border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); border-radius: 0 0 0 28px;
}
@media (max-width: 600px) { .split-media::after { display: none; } }
.split-copy { min-width: 0; }
.split-copy > p { color: var(--muted); max-width: 60ch; }
.split-copy .btn { margin-top: 12px; }
@media (min-width: 960px) { .split--about { grid-template-columns: 1.15fr .85fr; } }

.explain-card {
  position: relative; padding: clamp(24px, 3.5vw, 40px); border-radius: var(--radius-lg);
  background: var(--tint); border: 1px solid var(--line);
}
.explain-card::before {
  content: ""; position: absolute; top: -1px; left: clamp(24px, 3.5vw, 40px); width: 56px; height: 4px; border-radius: 0 0 4px 4px; background: var(--accent);
}
.explain-title { margin: 0 0 20px; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.explain-list { list-style: none; display: grid; gap: 14px; }
.explain-list li {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; font-weight: 700; font-size: 1.0625rem;
}
.explain-list .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--primary-50); color: var(--primary); }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; margin: 0 0 28px; }
.facts li { padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; }
.facts strong { display: block; font-size: 1.4rem; }

/* ---------- Folyamat ---------- */
.steps { list-style: none; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
  .steps::before {
    content: ""; position: absolute; top: 47px; left: 12%; right: 12%; height: 0;
    border-top: 2px dashed rgba(9, 28, 41, .25);
  }
}
.step { position: relative; padding: 28px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step-num {
  position: absolute; top: 18px; right: 18px; display: grid; place-content: center; width: 36px; height: 36px;
  border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 800; font-size: 1rem;
}
.step-icon { position: relative; z-index: 1; display: grid; place-content: center; width: 40px; height: 40px; margin-bottom: 18px; color: var(--primary); background: var(--white); }
.step-icon .icon { width: 32px; height: 32px; stroke-width: 1.6; }
.step h3 { margin-bottom: 8px; padding-right: 36px; }
.step p { color: var(--muted); font-size: 1rem; margin: 0; }

/* ---------- GYIK ---------- */
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } .faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 32px); } }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: #CBD2DA; box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px;
  font-weight: 700; font-size: 1.0625rem; line-height: 1.4; cursor: pointer; list-style: none; border-radius: var(--radius);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary); }
.faq-item summary .icon {
  width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--primary-50); color: var(--primary);
  transition: transform .25s var(--ease), background-color .25s;
}
.faq-item[open] summary .icon { transform: rotate(45deg); background: var(--accent); color: var(--ink); }
.faq-body { padding: 0 22px 20px; color: var(--muted); }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body ul { padding-left: 1.2em; margin: 0 0 1em; }
.faq-body li { margin-bottom: 4px; }
.faq-item[open] .faq-body { animation: rise .3s var(--ease); }

/* ---------- Kapcsolat és záró űrlap ---------- */
.contact-grid { display: grid; gap: 32px; }
.contact-info { min-width: 0; display: grid; gap: 0 48px; align-items: end; }
.contact-info > p { color: var(--muted); max-width: 56ch; }
.contact-list { list-style: none; display: grid; gap: 12px; margin: 20px 0 8px; }
@media (min-width: 720px) { .contact-list { grid-template-columns: repeat(3, 1fr); } }
.contact-list li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); min-width: 0; }
.contact-list li > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.contact-label { font-size: .875rem; font-weight: 600; color: var(--muted); }
.contact-value { font-weight: 800; font-size: 1.125rem; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
a.contact-value { color: var(--primary); }
a.contact-value:hover { text-decoration: underline; }
.contact-company { font-weight: 800; color: var(--ink) !important; margin: 0; }
.form-foot--stack { grid-template-columns: 1fr !important; }
.form-foot--stack .btn-submit { width: 100%; }

/* ---------- Lábléc ---------- */
.site-footer { position: relative; padding: 64px 0 24px; background: var(--tint); border-top: 1px solid var(--line); }
.site-footer::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary) 0 72%, var(--accent) 72% 100%);
}
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand p { color: var(--muted); margin-top: 14px; font-size: .95rem; }
.footer-title { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-list { list-style: none; display: grid; gap: 8px; font-size: .95rem; }
.footer-list a { color: var(--ink); text-decoration: none; }
.footer-list a:hover { color: var(--primary); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--muted); }

/* ---------- Mobilos gyorsgombok ---------- */
.mobile-bar { display: none; }
@media (max-width: 900px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(9, 28, 41, .3);
    transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar .btn { min-height: 50px; padding: 12px 14px; }
  .site-footer { padding-bottom: 96px; }
}

/* ---------- Megjelenési animáció ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-bar, .quote, .hero-media { display: none !important; }
}

/* ---------- Jogi aloldalak ---------- */
.legal { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 96px); }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 12px; }
.legal h2 { font-size: 1.35rem; margin-top: 40px; }
.legal p, .legal li { color: #34414E; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0 0 1em; }
.legal dt { font-weight: 700; }
.legal dd { margin: 0; color: #34414E; }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 10px; } }
.draft-note { padding: 14px 16px; margin: 0 0 32px; border-radius: 12px; background: #FBF1D3; border: 1px solid #E7B92E; font-weight: 600; color: var(--ink) !important; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px; font-weight: 700; text-decoration: none; }
html:not(.js) .quiz-nav, html:not(.js) .quiz-progress { display: none; }
@media (max-width: 559px) { .quiz-progress { flex-basis: 100%; max-width: none; } }

/* ---------- „Szikrázó” űrlapkeret: áramként körbefutó fényes pont a kártya szélén ----------
   Szerkezet (a szkript szúrja be): <span class="spark"><span></span></span>
   A külső elem adja a fényt (filter), a belső a maszkolt, körbefutó csíkot. */
@property --spark-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.spark {
  position: absolute; inset: -1.5px; z-index: 1; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .4s var(--ease);
  filter: drop-shadow(0 0 4px rgba(231, 185, 46, .95)) drop-shadow(0 0 10px rgba(231, 185, 46, .6));
}
.spark > span {
  position: absolute; inset: 0; border-radius: inherit; padding: 2.5px;
  background: conic-gradient(from var(--spark-angle),
    transparent 0deg 280deg,
    rgba(9, 28, 41, .55) 318deg,
    var(--accent) 346deg,
    #FFFFFF 356deg,
    transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.form-card.is-sparking .spark { opacity: 1; animation: spark-flicker 1.3s steps(1, end) infinite; }
.form-card.is-sparking .spark > span { animation: spark-run 2.6s linear 3; }
@keyframes spark-run { to { --spark-angle: 360deg; } }
@keyframes spark-flicker {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(231, 185, 46, .95)) drop-shadow(0 0 10px rgba(231, 185, 46, .6)); }
  23% { filter: drop-shadow(0 0 2px rgba(231, 185, 46, .7)) drop-shadow(0 0 5px rgba(231, 185, 46, .35)); }
  31% { filter: drop-shadow(0 0 6px #F6DD8C) drop-shadow(0 0 16px rgba(231, 185, 46, .8)); }
  64% { filter: drop-shadow(0 0 3px rgba(231, 185, 46, .8)) drop-shadow(0 0 8px rgba(231, 185, 46, .45)); }
  71% { filter: drop-shadow(0 0 7px #FBEFC4) drop-shadow(0 0 18px rgba(231, 185, 46, .85)); }
}
@media (prefers-reduced-motion: reduce) { .spark { display: none; } }

/* ---------- Köszönőoldal ---------- */
.thanks { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); }
.thanks-inner { max-width: 760px; }
.thanks-card {
  position: relative; display: grid; gap: 0; padding: clamp(28px, 5vw, 56px);
  background: linear-gradient(180deg, #FCFCFB, var(--white)); border: 1.5px solid rgba(9, 28, 41, .3);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.thanks-card::before { content: ""; position: absolute; top: -1.5px; left: clamp(28px, 5vw, 56px); width: 64px; height: 4px; border-radius: 0 0 4px 4px; background: var(--accent); }
.thanks-icon { display: grid; place-content: center; width: 64px; height: 64px; margin-bottom: 22px; border-radius: 50%; background: var(--accent); color: var(--ink); box-shadow: 0 0 0 8px rgba(231, 185, 46, .22); animation: rise .5s var(--ease); }
.thanks-icon .icon { width: 32px; height: 32px; stroke-width: 2.6; }
.thanks h1 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); margin-bottom: 14px; }
.thanks-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); margin-bottom: 24px; max-width: 56ch; }
.thanks-alert { display: grid; gap: 12px; justify-items: start; padding: 18px 20px; margin-bottom: 18px; border-radius: 14px; background: #FEF3F2; border: 1px solid #F5C2BC; }
.thanks-alert p { margin: 0; }
.thanks-alert[hidden] { display: none; }
.thanks .form-demo-note { margin-bottom: 18px; }
.thanks-subtitle { font-size: 1.2rem; margin: 14px 0 14px; }
.thanks-steps { list-style: none; display: grid; gap: 12px; margin: 0 0 30px; }
.thanks-steps li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.thanks-steps strong { color: var(--ink); }
.thanks-steps .step-num { position: static; flex: none; width: 30px; height: 30px; font-size: .9rem; }
.thanks-actions .btn { flex: 1 1 200px; }
.header-phone--text { display: inline-flex; }
@media (max-width: 1080px) { .header-phone--text span { display: inline; } .header-phone--text { width: auto; height: auto; border: 0; } }
@media (max-width: 420px) { .header-phone--text span { display: none; } .header-phone--text { width: 48px; height: 48px; border: 1.5px solid var(--line); } }

/* ---------- Süti-hozzájárulási ablak (kategóriánként) ---------- */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  pointer-events: none;
}
.consent[hidden] { display: none; }
.consent-inner {
  pointer-events: auto; max-width: 1040px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px;
  max-height: calc(100vh - 24px); overflow-y: auto;
  padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 18px 48px -16px rgba(9, 28, 41, .35); animation: rise .35s var(--ease);
}
.consent-main { flex: 1 1 420px; min-width: 0; }
.consent-text { margin: 0; font-size: .95rem; color: var(--muted); }
.consent-text strong { color: var(--ink); }
.consent-settings { margin-top: 14px; }
.consent-settings[hidden] { display: none; }
.consent-cats { list-style: none; display: grid; gap: 8px; }
.consent-cat { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--tint); }
.consent-cat > div { display: flex; flex-direction: column; min-width: 0; }
.consent-cat strong { font-size: .95rem; }
.consent-cat span { font-size: .85rem; color: var(--muted); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 300px; justify-content: flex-end; }
.consent-actions .btn { flex: 1 1 140px; min-height: 46px; padding: 10px 16px; }
.consent-actions .btn[hidden] { display: none; }
.switch { position: relative; display: inline-flex; flex: none; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch > span[aria-hidden] { width: 46px; height: 26px; border-radius: 999px; background: #C8CFD7; transition: background-color .2s; position: relative; }
.switch > span[aria-hidden]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(9, 28, 41, .25); transition: transform .2s var(--ease); }
.switch input:checked + span[aria-hidden] { background: var(--primary); }
.switch input:checked + span[aria-hidden]::after { transform: translateX(20px); }
.switch input:focus-visible + span[aria-hidden] { outline: 3px solid var(--primary); outline-offset: 2px; }
.switch.is-locked { cursor: not-allowed; opacity: .6; }
@media (max-width: 900px) { .has-consent-banner .mobile-bar { display: none; } }
.footer-consent { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Adatkezelési tájékoztató ---------- */
.legal .container { max-width: 900px; }
.legal-sub { font-size: 1.1rem; color: var(--muted); margin-bottom: 4px; }
.legal-meta { font-size: .9rem; font-weight: 600; color: var(--muted); margin-bottom: 28px; font-variant-numeric: tabular-nums; }
.legal h2[id] { scroll-margin-top: calc(var(--header-h) + 16px); padding-top: 8px; border-top: 1px solid var(--line); margin-top: 48px; }
.legal-h3 { font-size: 1.1rem; margin: 28px 0 10px; }
.legal-callout { position: relative; margin: 20px 0; padding: 18px 20px 18px 24px; border-radius: 14px; background: var(--tint); border: 1px solid var(--line); }
.legal-callout::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px; border-radius: 0 4px 4px 0; background: var(--accent); }
.legal-callout p:last-child { margin-bottom: 0; }
.legal-callout-title { font-size: 1rem !important; margin: 0 0 6px !important; padding: 0 !important; border: 0 !important; }
.legal-callout--lead { background: var(--white); border: 1.5px solid rgba(9, 28, 41, .3); }
.legal-contact { font-weight: 700; color: var(--ink) !important; }
.legal-toc { margin: 8px 0 8px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; }
.legal-toc-title { margin: 0 0 8px; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.legal-toc ol { margin: 0; padding-left: 1.4em; columns: 2; column-gap: 32px; }
.legal-toc li { margin-bottom: 4px; break-inside: avoid; }
@media (max-width: 640px) { .legal-toc ol { columns: 1; } }
.legal-cards { display: grid; gap: 12px; margin: 16px 0 8px; }
@media (min-width: 640px) { .legal-cards { grid-template-columns: 1fr 1fr; } }
.legal-card { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.legal-card h3 { font-size: 1rem; margin: 0 0 6px; color: var(--primary); }
.legal-card p { margin: 0; font-size: .95rem; }
.table-wrap { overflow-x: auto; margin: 12px 0 8px; border: 1px solid var(--line); border-radius: 14px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.legal-table th, .legal-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-table tr:last-child th, .legal-table tr:last-child td { border-bottom: 0; }
.legal-table thead th { background: var(--tint); font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.legal-table tbody th { width: 30%; font-weight: 700; color: var(--ink); }
.legal-table td { color: #34414E; }
.legal-table--4 { min-width: 640px; }
.legal-table--4 tbody th { width: auto; }
.legal-note { font-size: .875rem; color: var(--muted) !important; }
.legal code { font-size: .9em; padding: 1px 5px; border-radius: 5px; background: var(--tint); }
.legal .footer-consent { color: var(--primary); }
.form-legal { margin: 4px 0 14px; font-size: .9rem; color: var(--muted); max-width: 70ch; }
.legal .back-link { display: flex; width: max-content; }

/* ---------- Lábléc: háttérben a cégnév (logó-felirat) ---------- */
.site-footer { overflow: hidden; --wm-w: min(1160px, calc(100vw - 32px)); padding-bottom: calc(var(--wm-w) * .1347 + 28px) !important; }
.site-footer > .container { position: relative; z-index: 1; }
.footer-watermark {
  position: absolute; z-index: 0; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: var(--wm-w); height: auto; max-width: none; opacity: .13; pointer-events: none; user-select: none;
}
.footer-list .footer-consent { text-decoration: none; color: var(--ink); text-align: left; }
.footer-list .footer-consent:hover { color: var(--primary); text-decoration: underline; }

/* ---------- Sötét lábléc (éjkék + arany) ---------- */
.site-footer { background: var(--ink); color: #D5DBE1; border-top: 0; }
.site-footer::before { height: 4px; background: var(--accent); }
.site-footer .footer-brand p, .site-footer .footer-title { color: #A8B2BC; }
.site-footer .footer-list li { color: #D5DBE1; }
.site-footer .footer-list a, .site-footer .footer-list .footer-consent { color: #FFFFFF; }
.site-footer .footer-list a:hover, .site-footer .footer-list .footer-consent:hover { color: var(--accent); }
.site-footer .footer-bottom { border-top-color: rgba(255, 255, 255, .12); color: #A8B2BC; }
.site-footer .footer-bottom a, .site-footer .footer-bottom .footer-consent { color: #D5DBE1; }
.site-footer .footer-bottom a:hover, .site-footer .footer-bottom .footer-consent:hover { color: var(--accent); }
.site-footer :focus-visible { outline-color: var(--accent); }
.site-footer .footer-watermark { opacity: .16; }
