/* =========================================================================
   Ing. Kovács Dávid – DESIGN.md filmszerű 3D és hivatalos csempe-stílus
   Sötét mód alapértelmezett, világos mód kapcsolóval.
   Nincs üveghatás, nincs dőlő kártya, nincs ragyogás vagy pulzáló gyűrű.
   ========================================================================= */
html.cinema {
  --tile-bg: #0b2130;
  --tile-bg-2: #0f293b;
  --tile-line: rgba(143, 214, 255, 0.16);
  --tile-accent: #00a6fb;
  --tile-r: 4px;

  --surface: #030c13;
  --white: #0b2130;
  --text: #e9f3f9;
  --muted: #9db4c4;
  --line: rgba(143, 214, 255, 0.16);
  --line-strong: rgba(143, 214, 255, 0.24);
  --tint: rgba(0, 166, 251, 0.12);
  --on-dark-muted: #9db4c4;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
  background: #02080d;
}

html.cinema body {
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 78% -10%, rgba(0, 100, 148, 0.42), transparent 60%),
    radial-gradient(900px 600px at 0% 40%, rgba(0, 53, 84, 0.55), transparent 65%),
    radial-gradient(900px 700px at 100% 100%, rgba(5, 130, 202, 0.16), transparent 60%),
    linear-gradient(180deg, #031019 0%, #02080d 55%, #030c13 100%);
  background-attachment: fixed;
}

/* ---------- 3D vászon, szemcse, vignetta ---------- */
#scene { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; display: block; }
.fx-grain, .fx-vignette { position: fixed; pointer-events: none; }
.fx-vignette { inset: 0; z-index: 2; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0, 0, 0, 0.52) 100%); }
.fx-grain {
  inset: -50%; z-index: 3; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

html.cinema .main, html.cinema .footer { position: relative; z-index: 4; }
html.cinema .sidebar, html.cinema .topbar, html.cinema .mobile-menu, html.cinema .mobile-actions { z-index: 60; }
html.cinema .cookie { z-index: 80; }

/* ---------- Nyitójelenet (egyszer munkamenetenként, mindig sötét) ---------- */
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; pointer-events: none; }
.intro::before { content: ""; position: absolute; inset: 0; background: #010508; transition: opacity 1s var(--ease-out) .1s; }
.intro-bar { position: absolute; left: 0; right: 0; height: 12vh; background: #000; z-index: 2; transition: transform 1.1s var(--ease-out); }
.intro-bar--top { top: 0; }
.intro-bar--bottom { bottom: 0; }
.intro-center { position: relative; z-index: 3; display: grid; justify-items: center; gap: 12px; text-align: center; padding: 0 20px; }
.intro-mark {
  width: 64px; height: 64px; opacity: 0; filter: blur(12px); transform: scale(1.08);
  transition: opacity 1s var(--ease-out), filter 1.1s var(--ease-out), transform 1.4s var(--ease-out);
}
.intro-title {
  margin: 0; font-family: var(--font-display); font-size: clamp(1.35rem, 3vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; color: #f3f9fd;
  opacity: 0; filter: blur(10px); transform: translateY(6px);
  transition: opacity 1s var(--ease-out) .15s, filter 1s var(--ease-out) .15s, transform 1s var(--ease-out) .15s;
}
.intro-sub {
  margin: 0; font-size: .74rem; letter-spacing: .38em; text-transform: uppercase; color: #8fd6ff;
  opacity: 0; transform: translateY(8px); padding-left: .38em;
  transition: opacity .9s var(--ease-out) .3s, transform .9s var(--ease-out) .3s;
}
.intro-line { width: 0; height: 1px; background: linear-gradient(90deg, transparent, #00a6fb, transparent); transition: width 1.1s var(--ease-out) .2s; }
.intro.is-playing .intro-mark, .intro.is-playing .intro-title { opacity: 1; filter: blur(0); transform: none; }
.intro.is-playing .intro-sub { opacity: 1; transform: none; }
.intro.is-playing .intro-line { width: min(320px, 68vw); }
.intro.is-leaving::before { opacity: 0; }
.intro.is-leaving .intro-bar--top { transform: translateY(-100%); }
.intro.is-leaving .intro-bar--bottom { transform: translateY(100%); }
.intro.is-leaving .intro-center { opacity: 0; transform: scale(.96); filter: blur(6px); transition: opacity .65s, transform .85s var(--ease-out), filter .65s; }
html.intro-playing body { overflow: hidden; }

/* ---------- Tipográfia ---------- */
html.cinema h1, html.cinema h2, html.cinema h3, html.cinema h4 { color: #f3f9fd; }
html.cinema .hero h1 { color: #fff; font-size: clamp(2.8rem, 6.2vw, 5.8rem); letter-spacing: -.045em; line-height: .98; max-width: 12ch; }
html.cinema .hero h1 .w:last-child > span,
html.cinema .hero h1 .w:nth-last-child(2) > span { color: #00a6fb; }
html.cinema .lead { color: #cfe2ee; }
html.cinema .split p:not(.kicker):not(.body-lg),
html.cinema .section-intro,
html.cinema .muted { color: var(--muted); }
html.cinema .body-lg { color: #dbeaf3; }
html.cinema .kicker, html.cinema .eyebrow { color: #7fd2ff; }

/* Szavankénti előtűnés */
.w { display: inline-block; vertical-align: baseline; }
.w > span {
  display: inline-block; transform: translateY(.55em) rotate(3deg); opacity: 0; filter: blur(6px);
  transition: transform 1s var(--ease-out), opacity .8s var(--ease-out), filter .9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms + var(--d, 0s));
}
.is-in .w > span, .is-in.w > span, html.no-reveal .w > span { transform: none; opacity: 1; filter: none; }

/* Elemek beúszása */
.reveal { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
html.no-reveal .reveal { opacity: 1; transform: none; }

/* Nagy körvonalas háttérszámok (02–09) */
.sec-num {
  position: absolute; top: clamp(18px, 4vw, 56px); right: clamp(12px, 4vw, 56px); z-index: 0; pointer-events: none;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(6.5rem, 16vw, 15rem); line-height: .8; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(143, 214, 255, 0.14); opacity: .9; font-variant-numeric: tabular-nums;
}
html.cinema .section { position: relative; }
html.cinema .section > .container { position: relative; z-index: 1; }

/* ---------- Szakaszok: átlátszó, 1px elválasztó ---------- */
html.cinema .section--white,
html.cinema .section--dark,
html.cinema .section { background: transparent; }
html.cinema .section + .section { border-top: 1px solid rgba(143, 214, 255, 0.08); }
html.cinema .hero { background: transparent; min-height: 92vh; display: flex; flex-direction: column; justify-content: center; }

/* Portrék: mélységi parallaxis (±40px) */
html.cinema :is(.hero-media, .about-media, .talk-media, .reviews-media, .advisor-media) {
  transform: translate3d(0, var(--py, 0), 0); will-change: transform;
}
html.cinema .reveal:is(.hero-media, .about-media, .talk-media, .reviews-media, .advisor-media):not(.is-in) {
  transform: translate3d(0, 22px, 0);
}
html.cinema :is(.hero-media, .about-media, .talk-media, .reviews-media, .advisor-media) picture {
  border: 1px solid var(--tile-line); border-radius: var(--tile-r);
}
html.cinema .hero-badge { background: var(--tile-bg); border: 1px solid var(--tile-line); border-radius: var(--tile-r); color: var(--text); }
html.cinema .hero-badge strong { color: #f3f9fd; }
html.cinema .hero-badge small { color: var(--muted); }
html.cinema .hero-badge > .ico { background: transparent; border: 1px solid var(--tile-line); color: var(--tile-accent); border-radius: var(--tile-r); }
html.cinema .hero-area .ico { color: var(--tile-accent); }

/* ---------- 3D színpadok ---------- */
.stage { position: relative; pointer-events: none; min-height: 280px; }
.stage::before {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: 4%; height: 18%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 166, 251, 0.22), rgba(0, 166, 251, 0.05) 60%, transparent 100%);
  border: 1px solid rgba(0, 166, 251, 0.16);
}
html:not(.has-scene) .stage { min-height: 0; display: none; }

@media (min-width: 961px) {
  html.cinema .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.hero-visual { position: relative; min-height: min(520px, 66vh); display: grid; align-items: end; }
.hero-visual .stage--hero { position: absolute; left: 0; top: 0; width: 72%; height: 84%; min-height: 0; }
html.cinema .hero-visual .hero-media { position: relative; width: min(46%, 255px); margin-left: auto; z-index: 2; }
html.cinema .hero-visual .hero-badge { left: -64px; bottom: 10px; white-space: nowrap; padding: 9px 14px 9px 10px; }
html:not(.has-scene) .hero-visual .hero-media { width: min(100%, 380px); margin-left: auto; }

.section-head--stage { max-width: none; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px 48px; align-items: center; }
.section-head--stage .section-intro { margin-top: 16px; max-width: 48ch; }
.section-head--stage .stage { min-height: 260px; }
.stage--rings { min-height: 200px; margin-top: 18px; }
.stage--helix { min-height: 270px; }

/* ---------- Hivatalos csempe-stílus (minden tartalmi felület) ---------- */
html.cinema[data-theme] .btn { border-radius: 6px; }
html.cinema[data-theme] .btn-ghost, html.cinema[data-theme] .btn-outline { --_bg: transparent; --_fg: #e9f3f9; --_bd: var(--tile-line); }
html.cinema[data-theme] .btn-ghost:hover, html.cinema[data-theme] .btn-outline:hover { --_bg: var(--tile-bg-2); --_bd: var(--tile-accent); }

/* Trust sáv */
html.cinema[data-theme] .trust { background: var(--tile-bg); border-color: var(--tile-line); border-radius: var(--tile-r); }
html.cinema[data-theme] .trust li + li { border-color: var(--tile-line); }
html.cinema[data-theme] .trust .ico { border-color: var(--tile-line); color: var(--tile-accent); border-radius: var(--tile-r); }
html.cinema[data-theme] .trust strong { color: var(--text); }

/* Célválasztó */
html.cinema[data-theme] .quick-grid {
  gap: 0; background: var(--tile-bg); border: 1px solid var(--tile-line); border-radius: var(--tile-r); overflow: hidden; counter-reset: quick;
}
html.cinema[data-theme] .quick-card {
  background: transparent; border: 0; border-right: 1px solid var(--tile-line); border-radius: 0; counter-increment: quick;
  transition: background-color .2s, box-shadow .2s, opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
html.cinema[data-theme] .quick-card:last-child { border-right: 0; }
html.cinema[data-theme] .quick-card:hover { background: var(--tile-bg-2); box-shadow: inset 0 3px 0 var(--tile-accent); }
html.cinema[data-theme] .quick-card::before {
  content: counter(quick, decimal-leading-zero); position: absolute; top: 22px; right: 22px;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums;
}
html.cinema[data-theme] .quick-icon { border-radius: var(--tile-r); border: 1px solid var(--tile-line); color: var(--tile-accent); }
html.cinema[data-theme] .quick-arrow { color: var(--tile-accent); }

/* Rólam */
html.cinema[data-theme] .pill-list li { background: var(--tile-bg); border-color: var(--tile-line); color: var(--text); border-radius: var(--tile-r); }
html.cinema[data-theme] .pill-list .ico { color: var(--tile-accent); }
html.cinema[data-theme] .stat { background: #003554; border: 1px solid rgba(143, 214, 255, .24); border-radius: var(--tile-r); }

/* Szolgáltatások táblázata */
html.cinema[data-theme] .service-group { background: var(--tile-bg); border-color: var(--tile-line); border-radius: var(--tile-r); }
html.cinema[data-theme] .group-title { background: var(--tile-bg-2); border-bottom-color: var(--tile-line); color: var(--text); }
html.cinema[data-theme] .group-title .ico { border-color: var(--tile-line); color: var(--tile-accent); }
html.cinema[data-theme] .card-grid { counter-reset: svc; }
html.cinema[data-theme] .card { border-color: var(--tile-line); counter-increment: svc; transition: background-color .2s, opacity 1s var(--ease-out), transform 1s var(--ease-out); }
html.cinema[data-theme] .card:hover { background: var(--tile-bg-2); }
html.cinema[data-theme] .card::before {
  content: counter(svc, decimal-leading-zero); position: absolute; top: 22px; right: 22px;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums;
}
html.cinema[data-theme] .card-icon { border-color: var(--tile-line); color: var(--tile-accent); }
html.cinema[data-theme] .card-link { color: var(--tile-accent); }
html.cinema[data-theme] .promise { background: var(--tile-bg); border-color: var(--tile-line); border-radius: var(--tile-r); }
html.cinema[data-theme] .promise-text { color: var(--text); }

/* Konzultáció check-list */
html.cinema[data-theme] .check-list { background: var(--tile-bg); border-color: var(--tile-line); border-radius: var(--tile-r); }
html.cinema[data-theme] .check-list li { border-bottom-color: var(--tile-line); color: var(--text); }
html.cinema[data-theme] .check-list .ico { border-color: var(--tile-accent); color: var(--tile-accent); }

/* Folyamat */
html.cinema[data-theme] .steps::before { background: var(--tile-line); }
html.cinema[data-theme] .step-num { background: var(--tile-bg); color: var(--tile-accent); border-color: var(--tile-accent); box-shadow: 0 0 0 6px var(--surface); }

/* Összes szolgáltatás (15 db) */
html.cinema[data-theme] .filters { background: var(--tile-bg); border-color: var(--tile-line); border-radius: var(--tile-r); }
html.cinema[data-theme] .filters button { color: var(--muted); }
html.cinema[data-theme] .filters button:hover { color: var(--text); }
html.cinema[data-theme] .filters button[aria-pressed="true"] { background: var(--tile-accent); color: #051923; }
html.cinema[data-theme] .topic-grid { counter-reset: topic; }
html.cinema[data-theme] .topic { background: var(--tile-bg); border-color: var(--tile-line); border-radius: var(--tile-r); counter-increment: topic; transition: background-color .2s; }
html.cinema[data-theme] .topic:hover { background: var(--tile-bg-2); }
html.cinema[data-theme] .topic-icon { border-color: var(--tile-line); color: var(--tile-accent); }
html.cinema[data-theme] .disclaimer { background: var(--tile-bg-2); border-color: var(--tile-line); border-left: 3px solid var(--tile-accent); color: var(--muted); border-radius: var(--tile-r); }

/* Kalkulátorok */
html.cinema[data-theme] .tooltabs { background: var(--tile-bg); border-color: var(--tile-line); border-radius: var(--tile-r); }
html.cinema[data-theme] .tooltabs button { color: var(--muted); }
html.cinema[data-theme] .tooltabs button:hover { color: var(--text); }
html.cinema[data-theme] .tooltabs button[aria-selected="true"] { background: var(--tile-accent); color: #051923; }
html.cinema[data-theme] .calc { border-color: var(--tile-line); border-radius: var(--tile-r); }
html.cinema[data-theme] .calc-inputs { background: var(--tile-bg); }
html.cinema[data-theme] .calc-head-box { border-bottom-color: var(--tile-line); }
html.cinema[data-theme] .num-input { background: #04121c; border-color: var(--tile-line); color: var(--text); }
html.cinema[data-theme] .num-input:focus { outline: none; border-color: var(--tile-accent); }
html.cinema[data-theme] input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(90deg, #00a6fb 0 var(--pct), rgba(255, 255, 255, 0.14) var(--pct) 100%); }
html.cinema[data-theme] input[type="range"]::-moz-range-track { background: rgba(255, 255, 255, 0.14); }
html.cinema[data-theme] input[type="range"]::-moz-range-progress { background: #00a6fb; }
html.cinema[data-theme] input[type="range"]::-webkit-slider-thumb { background: #031019; border-color: #00a6fb; }
html.cinema[data-theme] input[type="range"]::-moz-range-thumb { background: #031019; border-color: #00a6fb; }
html.cinema[data-theme] .calc-result { background: #003554; border-left-color: var(--tile-line); }

/* Vélemények */
html.cinema[data-theme] .review-summary,
html.cinema[data-theme] .review-card,
html.cinema[data-theme] .media-caption { background: var(--tile-bg); border-color: var(--tile-line); }
html.cinema[data-theme] .review-summary,
html.cinema[data-theme] .review-card { border-radius: var(--tile-r); }
html.cinema[data-theme] .review-card:hover { background: var(--tile-bg-2); border-color: var(--tile-accent); }
html.cinema[data-theme] .review-card blockquote { border-left-color: var(--tile-accent); }
html.cinema[data-theme] .review-more { color: var(--tile-accent); }
html.cinema[data-theme] .badge { background: rgba(0, 166, 251, 0.16); color: #b9e7ff; border: 1px solid rgba(0, 166, 251, 0.35); }
html.cinema[data-theme] .review-avatar { background: #006494; }

/* GYIK */
html.cinema[data-theme] .faq { background: var(--tile-bg); border-color: var(--tile-line); border-radius: var(--tile-r); }
html.cinema[data-theme] .faq details { border-bottom-color: var(--tile-line); }
html.cinema[data-theme] .faq details[open] { background: var(--tile-bg-2); }
html.cinema[data-theme] .faq summary { color: var(--text); }
html.cinema[data-theme] .faq-icon { border-color: var(--tile-line); }
html.cinema[data-theme] .faq-icon::before, html.cinema[data-theme] .faq-icon::after { background: var(--tile-accent); }
html.cinema[data-theme] .advisor-card { background: var(--tile-bg); border-color: var(--tile-line); border-radius: var(--tile-r); }
html.cinema[data-theme] .advisor-card .advisor-media picture { border-bottom-color: var(--tile-line); }

/* Kapcsolat & Űrlap */
html.cinema[data-theme] .contact-list { background: var(--tile-bg); border-color: var(--tile-line); border-radius: var(--tile-r); }
html.cinema[data-theme] .contact-list li { border-bottom-color: var(--tile-line); }
html.cinema[data-theme] .contact-list a:hover { background: var(--tile-bg-2); }
html.cinema[data-theme] .contact-ico { border-color: var(--tile-line); color: var(--tile-accent); }
html.cinema[data-theme] .hours { background: var(--tile-bg); border-color: var(--tile-line); border-radius: var(--tile-r); }
html.cinema[data-theme] .hours-table th, html.cinema[data-theme] .hours-table td { border-top-color: var(--tile-line); }
html.cinema[data-theme] .map { background: var(--tile-bg); border-color: var(--tile-line); border-radius: var(--tile-r); }
html.cinema.has-scene .map-placeholder > .ico { visibility: hidden; }
html.cinema[data-theme] .contact-form {
  --fp: clamp(22px, 3.5vw, 34px); padding: var(--fp); background: var(--tile-bg); border-color: var(--tile-line); border-radius: var(--tile-r);
}
html.cinema[data-theme] .contact-form h3 {
  margin: calc(var(--fp) * -1) calc(var(--fp) * -1) 20px; padding: 14px var(--fp);
  background: var(--tile-bg-2); border-bottom: 1px solid var(--tile-line);
  font-size: .8rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase;
}
html.cinema[data-theme] .field input:not([type="checkbox"]),
html.cinema[data-theme] .field select,
html.cinema[data-theme] .field textarea {
  background-color: #04121c; border-color: var(--tile-line); color: var(--text);
}
html.cinema[data-theme] .field input:focus,
html.cinema[data-theme] .field select:focus,
html.cinema[data-theme] .field textarea:focus { border-color: var(--tile-accent); background-color: #030e17; }
html.cinema[data-theme] .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%238fd6ff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
html.cinema[data-theme] .field select option { background: #031019; color: #e9f3f9; }
html.cinema[data-theme] .form-privacy { background: var(--tile-bg-2); border-color: var(--tile-line); color: var(--muted); }
html.cinema[data-theme] .form-privacy > .ico, html.cinema[data-theme] .form-privacy a { color: var(--tile-accent); }
html.cinema[data-theme] .form-status.is-ok { background: rgba(19, 138, 82, .18); color: #a8f0c8; border-color: rgba(19, 138, 82, .45); }
html.cinema[data-theme] .form-status.is-error { background: rgba(192, 53, 43, .18); color: #ffc2bd; border-color: rgba(192, 53, 43, .45); }

/* Footer border */
html.cinema .footer { border-top: 1px solid rgba(143, 214, 255, 0.1); }

/* =========================================================================
   Téma-kapcsoló (nap / hold)
   ========================================================================= */
.theme-toggle {
  position: relative; display: inline-grid; place-items: center; width: 40px; height: 36px; border-radius: 4px; cursor: pointer;
  border: 1px solid rgba(143, 214, 255, 0.24); background: rgba(255, 255, 255, 0.06); color: #ffd27a;
  transition: border-color .2s, background-color .2s;
}
.theme-toggle:hover { border-color: #00a6fb; background: rgba(0, 166, 251, .12); }
.theme-toggle .ico { width: 19px; height: 19px; grid-area: 1 / 1; transition: opacity .25s, transform .35s var(--ease-out); }
.theme-toggle .ico-moon { opacity: 0; transform: rotate(-60deg) scale(.6); }
html[data-theme="light"] .theme-toggle .ico-sun { opacity: 0; transform: rotate(60deg) scale(.6); }
html[data-theme="light"] .theme-toggle .ico-moon { opacity: 1; transform: none; }
html[data-theme="light"] .theme-toggle { color: #cfe0ea; }
.topbar .theme-toggle { width: 42px; height: 42px; }

/* =========================================================================
   VILÁGOS MÓD – ugyanez a szerkezet világos felületekkel (DESIGN.md)
   (oldalsáv, mobil sávok, lábléc, kalkulátor eredménypanele, nyitójelenet, sütisáv sötét marad)
   ========================================================================= */
html.cinema[data-theme="light"] {
  --tile-bg: #ffffff;
  --tile-bg-2: #f1f5f8;
  --tile-line: #d3dee6;
  --tile-accent: #0582ca;

  --surface: #eef4f8;
  --white: #ffffff;
  --text: #051923;
  --muted: #4b5f6d;
  --line: #d3dee6;
  --line-strong: #c0cfd9;
  --tint: #e6f5fe;
  --on-dark: #051923;
  --on-dark-muted: #4b5f6d;
  color-scheme: light;
  background: #eef4f8;
}
html.cinema[data-theme="light"] body {
  color: var(--text);
  background: linear-gradient(180deg, #f6fafc 0%, #eef4f8 100%);
  background-attachment: fixed;
}
/* Sötéten maradó területek világos szövegváltozói */
html.cinema[data-theme="light"] :is(.sidebar, .topbar, .mobile-menu, .mobile-actions, .footer, .calc-result, .stat, .cookie, .intro) {
  --on-dark: #e9f3f9; --on-dark-muted: #9db4c4; --text: #e9f3f9; --muted: #9db4c4;
}
html.cinema[data-theme="light"] .fx-vignette { background: radial-gradient(120% 90% at 50% 45%, transparent 62%, rgba(0, 53, 84, 0.08) 100%); }
html.cinema[data-theme="light"] .fx-grain { opacity: .05; mix-blend-mode: multiply; }

html.cinema[data-theme="light"] :is(h1, h2, h3, h4) { color: #051923; }
html.cinema[data-theme="light"] :is(.sidebar, .footer, .calc-result, .stat, .cookie) :is(h2, h3, h4, strong) { color: #f3f9fd; }
html.cinema[data-theme="light"] .hero h1 { color: #051923; }
html.cinema[data-theme="light"] .hero h1 .w:last-child > span,
html.cinema[data-theme="light"] .hero h1 .w:nth-last-child(2) > span { color: #006494; }
html.cinema[data-theme="light"] .lead { color: #233846; }
html.cinema[data-theme="light"] .body-lg { color: #1c3140; }
html.cinema[data-theme="light"] :is(.kicker, .eyebrow) { color: #006494; }
html.cinema[data-theme="light"] .sec-num { -webkit-text-stroke: 1px rgba(0, 53, 84, 0.12); }
html.cinema[data-theme="light"] .section + .section { border-top-color: rgba(0, 53, 84, 0.08); }
html.cinema[data-theme="light"] .stage::before { background: radial-gradient(closest-side, rgba(5, 130, 202, 0.16), rgba(5, 130, 202, 0.04) 60%, transparent 100%); border-color: rgba(5, 130, 202, 0.2); }

html.cinema[data-theme="light"] .btn-ghost, html.cinema[data-theme="light"] .btn-outline { --_bg: #ffffff; --_fg: #003554; --_bd: #c0cfd9; }
html.cinema[data-theme="light"] .btn-ghost:hover, html.cinema[data-theme="light"] .btn-outline:hover { --_bg: #f1f5f8; --_bd: #0582ca; }
html.cinema[data-theme="light"] .map .btn-ghost { --_fg: #003554; --_bd: #c0cfd9; }

html.cinema[data-theme="light"] .filters button[aria-pressed="true"],
html.cinema[data-theme="light"] .tooltabs button[aria-selected="true"] { background: #006494; color: #fff; }
html.cinema[data-theme="light"] .num-input { background: #f6fafc; border-color: #c5d4df; color: #051923; }
html.cinema[data-theme="light"] input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(90deg, #0582ca 0 var(--pct), #dbe6ee var(--pct) 100%); }
html.cinema[data-theme="light"] input[type="range"]::-moz-range-track { background: #dbe6ee; }
html.cinema[data-theme="light"] input[type="range"]::-moz-range-progress { background: #0582ca; }
html.cinema[data-theme="light"] input[type="range"]::-webkit-slider-thumb { background: #fff; border-color: #006494; }
html.cinema[data-theme="light"] input[type="range"]::-moz-range-thumb { background: #fff; border-color: #006494; }

html.cinema[data-theme="light"] .hours-table tr.is-today th,
html.cinema[data-theme="light"] .hours-table tr.is-today td { background: #e6f5fe; color: #051923; }
html.cinema[data-theme="light"] .hours-flex strong { color: #051923; }
html.cinema[data-theme="light"] .hours h3 { color: #051923; }
html.cinema[data-theme="light"] .open-status--pill { background: #f1f5f8; border-color: #d3dee6; color: #4b5f6d; }
html.cinema[data-theme="light"] .open-status--pill.is-open { color: #0d6b3f; }
html.cinema[data-theme="light"] .contact-list strong,
html.cinema[data-theme="light"] .contact-list small { color: #051923; }
html.cinema[data-theme="light"] .contact-list small { color: #4b5f6d; }
html.cinema[data-theme="light"] .badge { background: #e6f5fe; color: #003554; border-color: rgba(5, 130, 202, 0.3); }

html.cinema[data-theme="light"] .field input:not([type="checkbox"]),
html.cinema[data-theme="light"] .field select,
html.cinema[data-theme="light"] .field textarea { background-color: #f6fafc; border-color: #c5d4df; color: #051923; }
html.cinema[data-theme="light"] .field input:focus,
html.cinema[data-theme="light"] .field select:focus,
html.cinema[data-theme="light"] .field textarea:focus { background-color: #fff; border-color: #0582ca; }
html.cinema[data-theme="light"] .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23006494' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
html.cinema[data-theme="light"] .field select option { background: #fff; color: #051923; }
html.cinema[data-theme="light"] .form-status.is-ok { background: #e7f7ef; color: #0d6b3f; border-color: #b7e4cb; }
html.cinema[data-theme="light"] .form-status.is-error { background: #fdeceb; color: #8f2a22; border-color: #f3c3bf; }

/* ---------- Reszponzív finomítások ---------- */
@media (max-width: 1280px) {
  html.cinema[data-theme] .trust li:nth-child(3) { border-left: 0; }
  html.cinema[data-theme] .trust li:nth-child(n+3) { border-top: 1px solid var(--tile-line); }
}
@media (max-width: 960px) {
  html.cinema .hero { min-height: auto; }
  .section-head--stage { grid-template-columns: 1fr; }
  .section-head--stage .stage { min-height: 220px; }
  .hero-visual { min-height: 390px; }
  .sec-num { font-size: clamp(4.8rem, 24vw, 8.5rem); }
  html.cinema[data-theme] .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.cinema[data-theme] .quick-card { border-right: 0; border-bottom: 1px solid var(--tile-line); }
  html.cinema[data-theme] .quick-card:nth-child(odd) { border-right: 1px solid var(--tile-line); }
  html.cinema[data-theme] .quick-card:nth-last-child(-n + 2) { border-bottom: 0; }
}
@media (max-width: 760px) {
  .fx-grain { opacity: .05; }
  html.cinema .hero h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .hero-visual { min-height: 360px; margin-top: 6px; }
  .hero-visual .stage--hero { width: 76%; height: 80%; }
  html.cinema .hero-visual .hero-media { width: 52%; }
  html.cinema .hero-visual .hero-badge { left: auto; right: 6px; bottom: -10px; max-width: 240px; white-space: normal; }
  html.cinema[data-theme] .quick-grid { grid-template-columns: 1fr; }
  html.cinema[data-theme] .quick-card, html.cinema[data-theme] .quick-card:nth-child(odd) { border-right: 0; border-bottom: 1px solid var(--tile-line); }
  html.cinema[data-theme] .quick-card:last-child { border-bottom: 0; }
  html.cinema[data-theme] .quick-card { padding: 18px 50px 18px 18px; }
  html.cinema[data-theme] .quick-card::before { display: none; }
  html.cinema[data-theme] .trust li + li { border-left: 0; border-top: 1px solid var(--tile-line); }
}

@media (prefers-reduced-motion: reduce) {
  .fx-grain { animation: none; }
  .intro { display: none !important; }
  .w > span, .reveal { transform: none !important; opacity: 1 !important; filter: none !important; }
  .stage { display: none !important; }
}
@media print {
  #scene, .fx-grain, .fx-vignette, .intro, .sec-num { display: none !important; }
}
