/* ==========================================================================
   Motor Classic – base: tokens, typography, layout, header, footer, buttons
   Light is default; dark = html[data-mc-dark]
   ========================================================================== */

:root {
  --bg: #F8F6F3;
  --ink-rgb: 21, 17, 13;
  --ink: rgb(var(--ink-rgb));
  --ink-body: rgba(var(--ink-rgb), .72);
  --ink-soft: rgba(var(--ink-rgb), .52);
  --accent: #AA8A53;
  --accent-strong: #7E6233;
  --stroke: rgba(170, 138, 83, .24);
  --warm: 198, 138, 74;
  --vignette: 1;
  --maxw: 1220px;
  --padx: 48px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --serif: 'Libre Caslon Display', 'Times New Roman', Georgia, serif;
  --serif-text: 'Libre Caslon Text', Georgia, serif;
  --sans: Manrope, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --ui: Geist, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --paper: linear-gradient(176deg, #F7F3E9 0%, #F1ECDF 60%, #EAE3D2 100%);
  --card-bg: linear-gradient(180deg, #FFFFFF 0%, #FBF9F6 100%);
  --card-shadow: 0 40px 70px -34px rgba(58, 44, 32, .42), 0 12px 26px -16px rgba(58, 44, 32, .22), inset 0 1px 0 rgba(255, 255, 255, .9);
  --panel-bg: linear-gradient(90deg, #E3DCD1 0%, #FAF8F5 100%);
  --img-bg: rgba(170, 138, 83, .08);
  --sb-thumb: rgba(170, 138, 83, .34);
  --sb-track: rgba(170, 138, 83, .08);
}

html[data-mc-dark] {
  --bg: #100407;
  --ink-rgb: 244, 238, 232;
  --accent: #C9A063;
  --accent-strong: #D6B074;
  --stroke: rgba(236, 230, 222, .20);
  --vignette: 0;
  --card-bg: linear-gradient(180deg, #F4F1EC 0%, #E9E4DC 100%);
  --card-shadow: 0 40px 70px -34px rgba(0, 0, 0, .85), 0 12px 26px -16px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
  --panel-bg: linear-gradient(90deg, #1E1216 0%, #120708 100%);
  --img-bg: rgba(236, 230, 222, .08);
  --sb-thumb: rgba(236, 230, 222, .34);
  --sb-track: rgba(236, 230, 222, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); }
body {
  min-height: 100vh; color: var(--ink); overflow-x: hidden;
  font-family: var(--sans); -webkit-font-smoothing: antialiased;
  transition: background-color .28s var(--ease), color .28s var(--ease);
}
img { max-width: 100%; }
a { color: var(--accent-strong); }
a:hover { color: var(--accent-strong); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid #B4741E; outline-offset: 4px;
}
.screen-reader-text, .mc-sr {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: 0; padding: 0; border: 0;
}
.mc-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--bg); color: var(--ink); padding: 10px 16px; }
.mc-skip:focus { left: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media (max-width: 759px) { :root { --padx: 20px; } }

/* ---------- Scroll reveal ---------- */
.mc-js [data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity .86s var(--ease) calc(var(--d, 0) * 1ms), transform .86s var(--ease) calc(var(--d, 0) * 1ms);
}
.mc-js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .mc-js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Type ---------- */
.mc-eyebrow {
  margin: 0 0 26px; font-family: var(--ui); font-size: 11px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent-strong);
}
.mc-center .mc-eyebrow, .mc-eyebrow--c { text-indent: .22em; }
.mc-h1 {
  margin: 0 0 28px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 4.1vw, 62px); line-height: 1.16; letter-spacing: -.002em; color: var(--ink);
}
.mc-h2 {
  margin: 0 0 22px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 3.3vw, 50px); line-height: 1.18; letter-spacing: -.002em; color: var(--ink);
}
.mc-lead {
  margin: 0 auto; max-width: 48ch; font-family: var(--sans); font-size: 15.5px; line-height: 1.74;
  color: var(--ink-body); text-wrap: pretty;
}
.mc-body { margin: 0; font-family: var(--sans); font-size: 15.5px; line-height: 1.78; color: var(--ink-body); text-wrap: pretty; }

/* ---------- Layout ---------- */
.mc-page { position: relative; min-height: 100vh; background: var(--bg); color: var(--ink); overflow-x: hidden; }
.mc-section { position: relative; z-index: 2; padding: 104px var(--padx) 112px; }
@media (max-width: 759px) { .mc-section { padding: 64px var(--padx) 72px; } }
.mc-container { width: 100%; max-width: var(--maxw); margin: 0 auto; }
.mc-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.mc-divider-wrap {
  position: relative; z-index: 3; width: 100%; max-width: calc(var(--maxw) + 96px);
  margin: 0 auto; padding: 0 var(--padx); display: flex; align-items: center; height: 24px;
}
.mc-divider {
  display: block; width: 100%; height: 1px; flex: 1 1 auto;
  background: linear-gradient(90deg, transparent 0%, var(--stroke) 14%, var(--stroke) 86%, transparent 100%);
}
.mc-vignette {
  display: none; /* a felső átmenetet az .mc-page::before adja, hogy a fejléc és a tartalom között ne legyen törés */
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: var(--vignette);
  background-size: 100% 826px; background-repeat: no-repeat; background-position: 0 -96px;
  background-image:
    linear-gradient(180deg, rgba(74, 58, 40, .085) 0%, rgba(74, 58, 40, .045) 22%, rgba(74, 58, 40, 0) 46%),
    radial-gradient(60% 52% at 0% 0%, rgba(74, 58, 40, .10) 0%, rgba(74, 58, 40, 0) 72%),
    radial-gradient(60% 52% at 100% 0%, rgba(74, 58, 40, .10) 0%, rgba(74, 58, 40, 0) 72%);
  transition: opacity .28s var(--ease);
}

/* Page header (sub pages) */
.mc-ph { position: relative; z-index: 2; width: 100%; padding: 108px var(--padx) 120px; }
.mc-ph__art-clip { position: absolute; inset: 0; overflow: hidden; z-index: 1; pointer-events: none; user-select: none; }
.mc-ph__art {
  position: absolute; top: calc(50% + 20px); right: calc(max(var(--padx), 50% - 610px) - 60px);
  width: 720px; height: auto; transform: translateY(-50%); transform-origin: 100% 50%; opacity: .15;
  filter: grayscale(1) sepia(1) saturate(45%) hue-rotate(-10deg);
}
html[data-mc-dark] .mc-ph__art { opacity: .06; filter: grayscale(1) sepia(1) saturate(45%) hue-rotate(-10deg) brightness(1.3); }
@media (max-width: 759px) { .mc-ph__art-clip { display: none; } }
@media (max-width: 1099px) and (min-width: 760px) { .mc-ph__art { transform: translateY(-50%) scale(.62); } }
@media (max-width: 1279px) and (min-width: 1100px) { .mc-ph__art { transform: translateY(-50%) scale(.8); } }
.mc-ph__copy { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; width: 100%; }
.mc-ph__inner { width: 100%; max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 2; }
.mc-ph__h1 {
  margin: 0 0 26px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 3.9vw, 58px); line-height: 1.14; letter-spacing: -.002em; color: var(--ink);
}
.mc-ph__body { margin: 0; font-size: 18px; line-height: 1.65; max-width: 620px; text-wrap: pretty; color: rgba(var(--ink-rgb), .78); }
.mc-ph .mc-vignette { z-index: 1; }
@media (max-width: 759px) { .mc-ph { padding: 56px var(--padx) 64px; } .mc-ph__body { font-size: 16px; } }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.mc-header { position: relative; z-index: 60; width: 100%; padding: 0 48px; }

/* Egyetlen, a fejlécen és a hero-n átnyúló átmenet (nincs varrat), a téma-váltással együtt halványul */
.mc-page::before, .mc-menu::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 826px; z-index: 0; pointer-events: none; opacity: var(--vignette);
  background-image:
    linear-gradient(180deg, rgba(74, 58, 40, .085) 0%, rgba(74, 58, 40, .045) 22%, rgba(74, 58, 40, 0) 46%),
    radial-gradient(60% 52% at 0% 0%, rgba(74, 58, 40, .10) 0%, rgba(74, 58, 40, 0) 72%),
    radial-gradient(60% 52% at 100% 0%, rgba(74, 58, 40, .10) 0%, rgba(74, 58, 40, 0) 72%);
}
.mc-menu::before { position: fixed; }
.mc-header__in { display: flex; align-items: center; max-width: var(--maxw); margin: 0 auto; height: 96px; }
.mc-logo { display: inline-flex; align-items: center; min-height: 44px; padding: 2px; text-decoration: none; border-radius: 3px; transition: opacity .2s var(--ease); }
.mc-logo:hover { opacity: .78; }
.mc-logo img { height: 58px; width: auto; display: block; filter: brightness(.8); }
html[data-mc-dark] .mc-logo img { filter: none; }
.mc-logo__compact { display: none !important; }
.mc-logo__dark { display: none !important; }
html[data-mc-dark] .mc-logo__light { display: none !important; }
html[data-mc-dark] .mc-logo__full.mc-logo__dark { display: block !important; }
html[data-mc-dark] .mc-logo__compact.mc-logo__dark { display: none !important; }

.mc-nav { margin-left: auto; }
.mc-nav ul { display: flex; align-items: center; gap: 40px; margin: 0; padding: 0; list-style: none; }
.mc-nav li { display: flex; margin: 0; padding: 0; list-style: none; }
.mc-nav a {
  position: relative; display: inline-flex; align-items: center; height: 44px; padding: 0 2px; text-decoration: none; border-radius: 3px;
  color: rgba(var(--ink-rgb), .70); transition: color .22s var(--ease);
}
html[data-mc-dark] .mc-nav a { color: rgba(var(--ink-rgb), .72); }
.mc-nav a span {
  font-family: var(--ui); font-size: 11px; font-weight: 400; line-height: 1; letter-spacing: .18em; text-indent: .18em;
  text-transform: uppercase; white-space: nowrap;
}
.mc-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 11px; height: 1px; background: #AA8A53;
  transform: scaleX(0); opacity: 0; transition: transform .22s var(--ease), opacity .22s var(--ease);
}
html[data-mc-dark] .mc-nav a::after { background: rgba(var(--ink-rgb), .45); }
.mc-nav a:hover, .mc-nav a:focus-visible, .mc-nav a[aria-current] { color: var(--ink); }
.mc-nav a:hover::after, .mc-nav a:focus-visible::after, .mc-nav a[aria-current]::after { transform: scaleX(1); opacity: 1; }
.mc-nav a[aria-current] span { font-weight: 500; }
.mc-nav a[aria-current]::after { transform-origin: left center; }
html[data-mc-dark] .mc-nav a[aria-current]::after { background: rgba(var(--warm), .85); }

.mc-utils { display: flex; align-items: center; gap: 14px; margin-left: 64px; }
.mc-burger {
  display: none; position: relative; width: 52px; height: 52px; align-items: center; justify-content: center;
  border: 0; background: transparent; cursor: pointer; padding: 0; appearance: none; -webkit-tap-highlight-color: transparent;
}
.mc-burger span { position: absolute; width: 22px; height: 2px; background: var(--ink); border-radius: 1px; transition: transform .32s var(--ease), opacity .2s var(--ease); }
.mc-burger span:nth-child(1) { transform: translateY(-6px); }
.mc-burger span:nth-child(3) { transform: translateY(6px); }
.mc-burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.mc-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mc-burger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

/* tight / compact / collapsed */
@media (max-width: 1199px) {
  .mc-header { padding: 0 32px; }
  .mc-nav ul { gap: 26px; }
  .mc-utils { margin-left: 38px; }
}
@media (max-width: 1019px) {
  .mc-logo__full, html[data-mc-dark] .mc-logo__full.mc-logo__dark { display: none !important; }
  .mc-logo__compact.mc-logo__light { display: block !important; height: 34px; }
  html[data-mc-dark] .mc-logo__compact.mc-logo__dark { display: block !important; height: 34px; }
  html[data-mc-dark] .mc-logo__compact.mc-logo__light { display: none !important; }
}
@media (max-width: 879px) {
  .mc-header { padding: 0 22px; }
  .mc-header__in { height: 72px; }
  .mc-nav { display: none; }
  .mc-utils { margin-left: auto; }
  .mc-burger { display: flex; }
  .mc-logo__compact.mc-logo__light, html[data-mc-dark] .mc-logo__compact.mc-logo__dark { height: 38px; }
}

/* overlay menu */
.mc-menu {
  position: fixed; inset: 0; height: 100dvh; z-index: 50; background: var(--bg); padding: 0 22px; overflow-y: auto;
  display: none;
}
.mc-menu.is-open { display: block; }
.mc-menu__in { position: relative; z-index: 1; }
.mc-menu__in { max-width: var(--maxw); margin: 0 auto; min-height: 100%; display: flex; flex-direction: column; padding: 72px 0 26px; }
.mc-menu ul { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid rgba(var(--ink-rgb), .12); }
.mc-menu li { margin: 0; padding: 0; border-top: 1px solid rgba(var(--ink-rgb), .12); }
.mc-menu a { display: flex; align-items: baseline; gap: 20px; position: relative; padding: 22px 2px; text-decoration: none; border-radius: 4px; color: rgba(var(--ink-rgb), .72); }
.mc-menu a[aria-current] { color: var(--ink); }
.mc-menu__num { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: rgba(var(--ink-rgb), .4); }
.mc-menu__label { font-family: var(--ui); font-size: 26px; font-weight: 300; letter-spacing: -.005em; line-height: 1; }
.mc-menu a[aria-current] .mc-menu__label { font-weight: 500; }
body.mc-menu-open { overflow: hidden; }

/* ==========================================================================
   Chrome buttons (.mc-btn) and theme switch
   ========================================================================== */
.mc-btn {
  --chrome:
    linear-gradient(90deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 7%, rgba(255,255,255,.16) 26%, rgba(255,255,255,0) 45%, rgba(0,0,0,0) 92%, rgba(0,0,0,.28) 100%),
    radial-gradient(140% 220% at 18% -80%, rgba(255,255,255,.85), rgba(255,255,255,0) 45%),
    conic-gradient(from 92deg at 50% 50%, rgba(255,255,255,.30), rgba(0,0,0,.18) 14%, rgba(255,255,255,.34) 30%, rgba(0,0,0,.16) 48%, rgba(255,255,255,.26) 63%, rgba(0,0,0,.18) 80%, rgba(255,255,255,.30) 100%),
    linear-gradient(180deg,#fdfdfe 0%,#eaecef 9%,#b6b9bf 25%,#5f6166 43%,#333438 50%,#74777d 55%,#c7cacf 68%,#fafbfc 81%,#c9ccd1 91%,#8c8f95 100%);
  --face: radial-gradient(130% 190% at 50% -35%, #fffdf9 0%, #f7f2ea 45%, #eae2d5 100%);
  --face-ink: #15110D;
  --face-inset: inset 0 2px 3px rgba(74,58,40,.18), inset 0 -1px 0 rgba(255,255,255,.85);
  --face-ring: rgba(255,255,255,.55);
  --drop: 0 14px 26px -14px rgba(58,44,32,.5), 0 3px 8px -4px rgba(58,44,32,.32);
  --rim: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(0,0,0,.42);
  --txt-shadow: 0 1px 0 rgba(255,255,255,.7);
  --h: 46px; --px: 28px; --fs: 12px; --ls: .18em; --pad: 2.5px; --gap: 16px;
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  border: 0; margin: 0; padding: var(--pad); min-height: 44px; min-width: 44px; border-radius: 999px; background: var(--chrome);
  cursor: pointer; isolation: isolate; -webkit-tap-highlight-color: transparent; overflow: hidden; text-decoration: none;
  box-shadow: var(--drop), var(--rim); appearance: none; font: inherit;
  transition: transform .2s var(--ease), box-shadow .24s var(--ease), filter .24s ease;
}
html[data-mc-dark] .mc-btn {
  --chrome:
    linear-gradient(90deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 7%, rgba(255,255,255,.16) 26%, rgba(255,255,255,0) 45%, rgba(0,0,0,0) 92%, rgba(0,0,0,.28) 100%),
    radial-gradient(140% 220% at 18% -80%, rgba(255,255,255,.55), rgba(255,255,255,0) 45%),
    radial-gradient(120% 170% at 50% 150%, rgba(198,138,74,.26), rgba(198,138,74,0) 62%),
    conic-gradient(from 92deg at 50% 50%, rgba(255,255,255,.26), rgba(0,0,0,.30) 14%, rgba(255,255,255,.30) 30%, rgba(0,0,0,.26) 48%, rgba(255,255,255,.22) 63%, rgba(0,0,0,.28) 80%, rgba(255,255,255,.26) 100%),
    linear-gradient(180deg,#f0f1f3 0%,#c6c9ce 9%,#84878d 25%,#3c3e42 43%,#1b1c1f 50%,#4e5055 55%,#9ea1a7 68%,#dfe1e4 81%,#93969b 91%,#5a5c61 100%);
  --face: radial-gradient(130% 190% at 50% -35%, #291d1c 0%, #180e11 48%, #0d0407 100%), radial-gradient(90% 120% at 50% 130%, rgba(198,138,74,.16), rgba(198,138,74,0) 70%);
  --face-ink: #F4EEE8;
  --face-inset: inset 0 2px 4px rgba(0,0,0,.75), inset 0 -1px 0 rgba(255,255,255,.10);
  --face-ring: rgba(255,255,255,.10);
  --drop: 0 14px 26px -14px rgba(0,0,0,.95), 0 3px 9px -4px rgba(0,0,0,.7);
  --rim: inset 0 1px 0 rgba(255,255,255,.8), inset 0 -1px 0 rgba(0,0,0,.42);
  --txt-shadow: 0 1px 0 rgba(0,0,0,.55);
}
.mc-btn--lg { --h: 56px; --px: 36px; --fs: 13.5px; --ls: .20em; --pad: 3px; --gap: 20px; }
.mc-btn--sm { --h: 36px; --px: 20px; --fs: 10.5px; --ls: .16em; --pad: 2px; --gap: 12px; min-height: 40px; }
.mc-btn__face {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: var(--gap);
  height: var(--h); padding: 0 var(--px); border-radius: 999px; background: var(--face); overflow: hidden;
  box-shadow: var(--face-inset), 0 0 0 1px var(--face-ring);
  transition: box-shadow .22s var(--ease), transform .2s var(--ease);
}
.mc-btn__face::before { /* noise */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}
html[data-mc-dark] .mc-btn__face::before { opacity: .05; mix-blend-mode: overlay; }
.mc-btn__label {
  position: relative; z-index: 1; font-family: var(--ui); font-weight: 500; line-height: 1; font-size: var(--fs);
  letter-spacing: var(--ls); text-indent: var(--ls); text-transform: uppercase; color: var(--face-ink); white-space: nowrap; text-shadow: var(--txt-shadow);
}
.mc-btn__arrow {
  position: relative; z-index: 1; display: block; font-size: calc(var(--fs) + 4px); line-height: 1; color: var(--face-ink);
  text-shadow: var(--txt-shadow); transition: transform .26s var(--ease);
}
.mc-btn::after { /* sheen */
  content: ""; position: absolute; inset: 0; border-radius: 999px; pointer-events: none; z-index: 3; opacity: 0; mix-blend-mode: screen;
  background: linear-gradient(100deg, rgba(255,255,255,0) 34%, rgba(255,255,255,.50) 48%, rgba(255,255,255,.14) 58%, rgba(255,255,255,0) 70%);
  transform: translateX(-22%); transition: opacity .26s ease, transform .44s cubic-bezier(.3,.7,.3,1);
}
html[data-mc-dark] .mc-btn::after { background: linear-gradient(180deg, rgba(255,240,222,.34) 0%, rgba(255,240,222,.12) 26%, rgba(255,240,222,0) 58%); transform: none; }
.mc-btn:hover { filter: brightness(1.045) contrast(1.03); }
.mc-btn:hover::after { opacity: .42; transform: translateX(16%); }
html[data-mc-dark] .mc-btn:hover::after { opacity: .36; transform: none; }
.mc-btn:hover .mc-btn__arrow { transform: translateX(3px); }
.mc-btn:active { transform: translateY(1px); box-shadow: 0 2px 6px -3px rgba(58,44,32,.42), var(--rim); }
.mc-btn:active .mc-btn__face { box-shadow: inset 0 3px 5px rgba(74,58,40,.30), inset 0 1px 1px rgba(74,58,40,.24), inset 0 -1px 0 rgba(255,255,255,.7), 0 0 0 1px var(--face-ring); }
html[data-mc-dark] .mc-btn:active .mc-btn__face { box-shadow: inset 0 3px 6px rgba(0,0,0,.85), inset 0 1px 1px rgba(0,0,0,.9), inset 0 -1px 0 rgba(255,255,255,.06), 0 0 0 1px var(--face-ring); }
.mc-btn:focus-visible { outline: 0; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px #B4741E, var(--drop), var(--rim); }
.mc-btn--secondary { --pad: 1.5px; --face: linear-gradient(180deg,#f0ebe3 0%,#e5ded2 100%); --face-ink: #3A342C; }
html[data-mc-dark] .mc-btn--secondary { --face: linear-gradient(180deg,#191114 0%,#120a0d 100%); --face-ink: #CFC5BC; }
.mc-btn--secondary.mc-btn--lg { --pad: 2px; }
.mc-btn[disabled], .mc-btn[aria-disabled="true"] { cursor: not-allowed; filter: none; opacity: .55; }
.mc-btn-link { text-decoration: none; display: inline-flex; }

/* Theme switch */
.mc-switch {
  --w: 80px; --hh: 44px; --pw: 37px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; border: 0; margin: 0; padding: 2.5px;
  width: var(--w); height: var(--hh); min-height: 44px; border-radius: 999px; cursor: pointer; overflow: hidden; isolation: isolate; appearance: none;
  -webkit-tap-highlight-color: transparent;
  background:
    linear-gradient(90deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 7%, rgba(255,255,255,.16) 26%, rgba(255,255,255,0) 45%, rgba(0,0,0,0) 92%, rgba(0,0,0,.28) 100%),
    radial-gradient(140% 220% at 18% -80%, rgba(255,255,255,.85), rgba(255,255,255,0) 45%),
    conic-gradient(from 92deg at 50% 50%, rgba(255,255,255,.30), rgba(0,0,0,.18) 14%, rgba(255,255,255,.34) 30%, rgba(0,0,0,.16) 48%, rgba(255,255,255,.26) 63%, rgba(0,0,0,.18) 80%, rgba(255,255,255,.30) 100%),
    linear-gradient(180deg,#fdfdfe 0%,#eaecef 9%,#b6b9bf 25%,#5f6166 43%,#333438 50%,#74777d 55%,#c7cacf 68%,#fafbfc 81%,#c9ccd1 91%,#8c8f95 100%);
  box-shadow: 0 11px 20px -11px rgba(58,44,32,.5), 0 3px 7px -4px rgba(58,44,32,.32), inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(0,0,0,.42);
  transition: transform .2s var(--ease), filter .24s ease;
}
html[data-mc-dark] .mc-switch {
  background:
    linear-gradient(90deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 7%, rgba(255,255,255,.16) 26%, rgba(255,255,255,0) 45%, rgba(0,0,0,0) 92%, rgba(0,0,0,.28) 100%),
    radial-gradient(140% 220% at 18% -80%, rgba(255,255,255,.55), rgba(255,255,255,0) 45%),
    radial-gradient(120% 170% at 50% 150%, rgba(198,138,74,.26), rgba(198,138,74,0) 62%),
    conic-gradient(from 92deg at 50% 50%, rgba(255,255,255,.26), rgba(0,0,0,.30) 14%, rgba(255,255,255,.30) 30%, rgba(0,0,0,.26) 48%, rgba(255,255,255,.22) 63%, rgba(0,0,0,.28) 80%, rgba(255,255,255,.26) 100%),
    linear-gradient(180deg,#f0f1f3 0%,#c6c9ce 9%,#84878d 25%,#3c3e42 43%,#1b1c1f 50%,#4e5055 55%,#9ea1a7 68%,#dfe1e4 81%,#93969b 91%,#5a5c61 100%);
  box-shadow: 0 11px 20px -11px rgba(0,0,0,.95), 0 3px 8px -4px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.8), inset 0 -1px 0 rgba(0,0,0,.42);
}
.mc-switch:hover { filter: brightness(1.04) contrast(1.02); }
.mc-switch:active { transform: translateY(1px); }
.mc-switch:focus-visible { outline: 0; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px #B4741E; }
.mc-switch__recess {
  position: relative; z-index: 2; display: block; width: 100%; height: 100%; border-radius: 999px; overflow: hidden;
  background: radial-gradient(130% 190% at 50% -35%, #fffdf9 0%, #f7f2ea 45%, #eae2d5 100%);
  box-shadow: inset 0 2px 4px rgba(74,58,40,.22), inset 0 -1px 0 rgba(255,255,255,.85), 0 0 0 1px rgba(255,255,255,.55);
}
html[data-mc-dark] .mc-switch__recess {
  background: radial-gradient(130% 190% at 50% -35%, #291d1c 0%, #180e11 48%, #0d0407 100%);
  box-shadow: inset 0 2px 5px rgba(0,0,0,.85), inset 0 -1px 0 rgba(255,255,255,.10), 0 0 0 1px rgba(255,255,255,.10);
}
.mc-sun { position: absolute; top: 50%; width: 13px; height: 13px; margin-top: -6.5px; color: rgba(21,17,13,.34); }
html[data-mc-dark] .mc-sun { color: rgba(244,238,232,.42); }
.mc-sun::before { /* rays */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: repeating-conic-gradient(from 22.5deg, currentColor 0deg 4.4deg, transparent 4.4deg 45deg);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 0 3.9px, #000 4.2px 6.4px, transparent 6.6px);
  mask-image: radial-gradient(circle at 50% 50%, transparent 0 3.9px, #000 4.2px 6.4px, transparent 6.6px);
}
.mc-sun::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6.4px; height: 6.4px; margin: -3.2px 0 0 -3.2px; border-radius: 50%; background: currentColor; }
.mc-moon { position: absolute; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; box-shadow: inset -3.4px 0 0 0 rgba(21,17,13,.34); }
html[data-mc-dark] .mc-moon { box-shadow: inset -3.4px 0 0 0 rgba(244,238,232,.42); }
.mc-switch__rest-sun { left: 10px; display: none; }
.mc-switch__rest-moon { right: 11px; }
html[data-mc-dark] .mc-switch__rest-sun { display: block; }
html[data-mc-dark] .mc-switch__rest-moon { display: none; }
.mc-switch__paddle {
  position: absolute; top: 1px; left: 1px; width: var(--pw); height: calc(var(--hh) - 7px); border-radius: 999px; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg,#ffffff 0%,#e6e8eb 16%,#b0b3b9 44%,#55575c 52%,#8a8d93 61%,#dadde0 82%,#a1a4aa 100%);
  box-shadow: 0 3px 7px -2px rgba(58,44,32,.5), inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(0,0,0,.42);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
html[data-mc-dark] .mc-switch__paddle {
  transform: translateX(calc(var(--w) - 5px - var(--pw) - 1px));
  background: linear-gradient(180deg,#eceef0 0%,#b9bcc1 18%,#6c6f74 48%,#2f3134 54%,#7f8288 66%,#cfd2d6 84%,#8e9197 100%);
  box-shadow: 0 3px 7px -2px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(0,0,0,.5), 0 0 9px -2px rgba(198,138,74,.30);
}
.mc-switch__paddle .mc-sun, .mc-switch__paddle .mc-moon { position: relative; top: auto; margin: 0; color: rgba(28,29,32,.86); }
.mc-switch__paddle .mc-moon { box-shadow: inset -3.4px 0 0 0 rgba(28,29,32,.86); display: none; }
html[data-mc-dark] .mc-switch__paddle .mc-sun { display: none; }
html[data-mc-dark] .mc-switch__paddle .mc-moon { display: block; box-shadow: inset -3.4px 0 0 0 rgba(28,29,32,.86); }

/* ==========================================================================
   Footer
   ========================================================================== */
.mc-footer { --ft-accent: #7E6233; position: relative; z-index: 2; padding: 40px var(--padx) 32px; overflow: hidden; }
html[data-mc-dark] .mc-footer { --ft-accent: #E2A862; }
.mc-footer__vignette {
  position: absolute; left: 0; right: 0; bottom: 0; height: 826px; z-index: 0; pointer-events: none; opacity: var(--vignette);
  background:
    linear-gradient(0deg, rgba(74,58,40,.085) 0%, rgba(74,58,40,.045) 22%, rgba(74,58,40,0) 46%),
    radial-gradient(60% 52% at 0% 100%, rgba(74,58,40,.10) 0%, rgba(74,58,40,0) 72%),
    radial-gradient(60% 52% at 100% 100%, rgba(74,58,40,.10) 0%, rgba(74,58,40,0) 72%);
}
.mc-footer__mark {
  position: absolute; right: max(48px, calc(50% - 610px)); top: 8px; transform: translateX(27%); width: 936px; max-width: 76%; height: auto;
  opacity: .28; filter: grayscale(1) sepia(1) saturate(45%) hue-rotate(-10deg) brightness(1.02); pointer-events: none; z-index: 0; user-select: none;
}
html[data-mc-dark] .mc-footer__mark { opacity: .15; filter: grayscale(1) sepia(1) saturate(45%) hue-rotate(-10deg) brightness(.82); }
.mc-footer__grid {
  position: relative; z-index: 1; width: 100%; max-width: var(--maxw); margin: 0 auto 56px;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px;
}
.mc-footer__logo { display: flex; flex-direction: column; align-items: center; }
.mc-footer__logo img { height: 72px; width: auto; }
.mc-flogo--dark { display: none; }
html[data-mc-dark] .mc-flogo--dark { display: block; }
html[data-mc-dark] .mc-flogo--light { display: none; }
.mc-footer__social { display: flex; gap: 20px; margin-top: 40px; }
.mc-footer__social a {
  color: var(--ink-body); display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--stroke);
  transition: color .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
}
.mc-footer__social a:hover { color: var(--ft-accent); border-color: var(--ft-accent); background: rgba(170,138,83,.08); }
.mc-footer__social svg { stroke-width: 1.6; }
.mc-footer__col { display: flex; flex-direction: column; align-items: flex-start; }
.mc-footer__head { margin: 0 0 20px; font-family: var(--ui); font-size: 11px; font-weight: 500; letter-spacing: .18em; text-indent: .18em; text-transform: uppercase; color: rgba(var(--ink-rgb), .78); }
.mc-footer__text { margin: 0 0 8px; font-size: 14px; line-height: 1.6; color: var(--ink-body); }
.mc-footer__nav { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.mc-footer a.mc-flink, .mc-footer__text a { font-size: 14px; color: var(--ink-body); text-decoration: none; transition: color .22s var(--ease), opacity .22s var(--ease); width: fit-content; }
.mc-footer a.mc-flink:hover, .mc-footer__text a:hover { color: var(--ft-accent); text-decoration: underline; text-underline-offset: 3px; }
.mc-footer__text a span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.mc-footer__bottom {
  position: relative; z-index: 1; width: 100%; max-width: var(--maxw); margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--stroke);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; align-items: center; text-align: center;
}
.mc-footer__bottom p { margin: 0; font-family: var(--ui); font-size: 12px; color: rgba(var(--ink-rgb), .75); }
.mc-footer__bottom a { font-family: var(--ui); font-size: 12px; color: inherit; text-decoration: none; border-bottom: 1px solid rgba(var(--ink-rgb), .75); transition: color .2s ease, border-color .2s ease; }
.mc-footer__bottom a:hover { color: #AA8A53; border-bottom-color: #AA8A53; }
.mc-footer__bottom a.mc-pixink { display: inline-flex; align-items: center; gap: 6px; vertical-align: -2px; border-bottom: 0; }
.mc-pixink > span { border-bottom: 1px solid rgba(var(--ink-rgb), .75); transition: border-color .2s ease; }
.mc-pixink:hover > span { border-bottom-color: #AA8A53; }
.mc-pixink-ico { flex: none; width: auto; height: 13px; }
@media (max-width: 1023px) { .mc-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 759px) {
  .mc-footer__grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .mc-footer__col, .mc-footer__nav { align-items: center; }
  .mc-footer__mark { right: 18%; top: auto; bottom: 104px; transform: none; max-width: 100%; }
  .mc-footer__bottom { justify-content: center; flex-direction: column; gap: 8px; }
}

/* scrollbars */
.mc-scroll { scrollbar-width: thin; scrollbar-color: var(--sb-thumb) transparent; }
.mc-scroll::-webkit-scrollbar { width: 3px; height: 3px; }
.mc-scroll::-webkit-scrollbar-track { background: var(--sb-track); }
.mc-scroll::-webkit-scrollbar-thumb { background: var(--sb-thumb); border-radius: 0; }

/* image placeholders (replace with real <img> when available) */
.mc-slot { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--img-bg); color: rgba(var(--ink-rgb), .7); text-align: center; font-family: var(--ui); font-size: 11px; letter-spacing: .08em; padding: 12px; }
.mc-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.mc-slot--img { background: transparent; padding: 0; }

/* ---------- Téma-váltás: az egész oldal egyszerre halványul át ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .55s; animation-timing-function: cubic-bezier(.22, .61, .36, 1); }
html.mc-theming *:not(.hm-car--v2 img), html.mc-theming *::before, html.mc-theming *::after {
  transition: background-color .55s ease, color .55s ease, border-color .55s ease, box-shadow .55s ease, opacity .55s ease, fill .55s ease, stroke .55s ease !important;
}
/* View Transition közben nincs saját elemanimáció (különben a hero autó "villog": a pillanatkép + az elem átmenete duplán halványul) */
html.mc-vt *:not(.mc-switch):not(.mc-switch *):not(.hm-car--v2 img), html.mc-vt *:not(.mc-switch *)::before, html.mc-vt *:not(.mc-switch *)::after { transition: none !important; }
/* A hero autó (v2) saját, lépcsőzött átmenete (előbb sötétedik, aztán gyullad a lámpa) fut a váltás közben is */
/* A téma-kapcsoló külön réteg: élőben csúszik a kapcsoló, nem a pillanatkép halványul át */
html.mc-vt .mc-switch { view-transition-name: mc-switch; }
::view-transition-group(mc-switch) { animation: none; }
::view-transition-old(mc-switch) { display: none; }
::view-transition-new(mc-switch) { animation: none; }

/* Mobil: a gombok a képernyő szélességéhez igazodnak, a felirat soha nem tör két sorba */
@media (max-width: 759px) {
  .mc-btn { max-width: 100%; }
  .mc-btn--lg { --fs: clamp(10.5px, 3.45vw, 13.5px); --ls: clamp(.09em, .8vw + .02em, .2em); --px: clamp(16px, 5.4vw, 36px); --gap: clamp(10px, 3vw, 20px); }
  .mc-btn__face { min-width: 0; max-width: 100%; }
}

/* Teljes szélességű gombnál az arc (face) is kitölti a króm keretet, így a keret mindenhol egyforma vastag */
.mc-btn__face { flex: 1 1 auto; }

/* Tablet álló: a logó + social középen, alatta 3 oszlop; az emblem jobb alul a háttérben */
@media (min-width: 760px) and (max-width: 1023px) {
  .mc-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
  .mc-footer__logo { grid-column: 1 / -1; align-items: center; }
  .mc-footer__social { margin-top: 28px; }
  .mc-footer__mark { top: auto; bottom: -4%; right: -6%; transform: none; width: 640px; max-width: 86%; }
}

/* ---------- jogi oldal (Cookie policy) ---------- */
.mc-legal h2 { margin: 36px 0 12px; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.25; color: var(--ink); }
.mc-legal__scroll { overflow-x: auto; margin: 16px 0; border: 1px solid rgba(var(--ink-rgb), .16); border-radius: 8px; }
.mc-legal table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; line-height: 1.5; color: var(--ink-body); }
.mc-legal th, .mc-legal td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(var(--ink-rgb), .12); }
.mc-legal thead th { font-family: var(--ui); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(var(--ink-rgb), .78); }
.mc-legal tbody th[colspan] { background: rgba(var(--ink-rgb), .05); font-weight: 600; color: var(--ink); }
.mc-legal tr:last-child td { border-bottom: 0; }
.mc-legal code { font-size: 13px; overflow-wrap: anywhere; }
.mc-legal .mc-cookie-link { font: inherit; color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; }
