/* ==========================================================================
   BetonMasterz – landing oldal stíluslap
   Tartalom:
   00. Design tokenek (CSS változók)
   01. Reset & alapok
   02. Tipográfia & segédosztályok
   03. Gombok
   04. Layout: container, szekciók, szekcióelválasztók (szalag, vonalzó, ferde él)
   05. Fejléc, navigáció, folyamatjelző, szekció-sáv
   06. Hero + szállítási adatlap kártya
   07. Kártyák (kurzorkövető fénnyel)
   08. Szolgáltatás sorok
   09. Folyamat lépések
   10. Showcase
   11. Betonmennyiség kalkulátor
   12. Referencia galéria + nagyító
   13. Ajánlatkérő + űrlap
   14. Footer
   15. Scroll animációk
   16. Reszponzív töréspontok
   ========================================================================== */

/* ==========================================================================
   BETŰTÍPUSOK – helyben tárolva (assets/fonts), nincs külső kérés.
   Archivo: változó szélességű/vastagságú display és szöveg betű.
   IBM Plex Mono: technikai címkék, számok, mértékegységek.
   ========================================================================== */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url('assets/fonts/archivo-400-900-latin-ext.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: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url('assets/fonts/archivo-400-900-latin.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;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-mono-400-latin-ext.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-mono-400-latin.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;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-mono-500-latin-ext.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-mono-500-latin.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;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-mono-600-latin-ext.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-mono-600-latin.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;
}

/* ==========================================================================
   00. DESIGN TOKENEK – itt módosítható az egész oldal színvilága
   ========================================================================== */
:root {
  /* Fő színek */
  --orange: #ff6a1a;
  --orange-deep: #d9500a;
  --orange-soft: rgba(255, 106, 26, 0.12);
  --black: #08090a;
  --dark-gray: #101215;   /* grafit felület */
  --slate: #171a1f;       /* kártya felület */
  --concrete: #2b2f36;    /* betonszürke vonalak */
  --light: #f2f0ec;       /* törtfehér */
  --muted: #8e939c;

  /* Vonalak, felületek */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Tipográfia */
  --font-sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Méretek */
  --container: 1280px;
  --gutter: 32px;
  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 80px;

  /* Mozgás */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --speed: 0.35s;
}

/* ==========================================================================
   01. RESET & ALAPOK
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--black);
  color: var(--light);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Finom betonszemcse az egész oldalon (dekoráció, kattintást nem fog el) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  opacity: 0.05;
  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.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: none; }
input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 400;
  background: var(--orange);
  color: #fff;
  padding: 12px 18px;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

section[id],
footer[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ==========================================================================
   02. TIPOGRÁFIA & SEGÉDOSZTÁLYOK
   ========================================================================== */
h1, h2, h3 {
  margin: 0;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.035em;
  font-variation-settings: "wdth" 115;
  text-wrap: balance;
}

p { margin: 0; }

.text-orange { color: var(--orange); }

/* Mono technikai címke: "01 · SZOLGÁLTATÁSOK" */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.eyebrow__num {
  color: var(--orange);
  padding-right: 12px;
  border-right: 1px solid var(--concrete);
}

.section__title {
  font-size: clamp(1.9rem, 3.9vw, 3.2rem);
  text-transform: uppercase;
}

.section__lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  max-width: 56ch;
  margin-top: 22px;
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: var(--light);
  background: rgba(255, 255, 255, 0.07);
  padding: 2px 7px;
  border-radius: 5px;
}

/* ==========================================================================
   03. GOMBOK
   ========================================================================== */
.btn {
  --btn-bg: var(--orange);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--speed) var(--ease),
              background-color var(--speed) var(--ease),
              border-color var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease);
}

.btn__arrow {
  display: inline-block;
  transition: transform var(--speed) var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary { box-shadow: 0 12px 30px rgba(255, 106, 26, 0.26); }
.btn--primary:hover {
  --btn-bg: var(--orange-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(255, 106, 26, 0.34);
}

.btn--ghost {
  --btn-bg: transparent;
  color: var(--light);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  --btn-bg: rgba(255, 255, 255, 0.05);
  border-color: var(--light);
  transform: translateY(-2px);
}

.btn--lg { padding: 18px 32px; font-size: 13px; }
.btn--block { width: 100%; }

/* ==========================================================================
   04. LAYOUT & SZEKCIÓELVÁLASZTÓK
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  position: relative;
  padding: clamp(80px, 10vw, 148px) 0;
  overflow: hidden;
}
.section--graphite { background: var(--dark-gray); }

/* Ferde felső él – lágy váltás két szekció között */
.section--angled {
  margin-top: -2.6vw;
  clip-path: polygon(0 2.6vw, 100% 0, 100% 100%, 0 100%);
  padding-top: calc(clamp(80px, 10vw, 148px) + 2.6vw);
}

.section__head { margin-bottom: clamp(48px, 6vw, 80px); }

/* Aszimmetrikus szekciófejléc: cím balra, leírás jobb oldalon lejjebb */
.section__head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}
.section__head--split .section__lead { margin-top: 0; }

/* Nagy, halvány háttérfelirat */
.section__bgword {
  position: absolute;
  right: -2%;
  bottom: -5%;
  font-size: clamp(6rem, 17vw, 15rem);
  font-weight: 900;
  font-variation-settings: "wdth" 120;
  letter-spacing: -0.05em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.022);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* Vékony függőleges grid vonalak */
.grid-lines {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  pointer-events: none;
}
.grid-lines span { border-left: 1px solid var(--line); }
.grid-lines span:first-child { border-left: none; }

/* --- Elválasztó 1: futó ipari szalag ------------------------------------ */
.ticker {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--black);
  padding: 16px 0;
}
.ticker--accent {
  background: var(--orange);
  border-color: rgba(0, 0, 0, 0.2);
  color: #140b05;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-move 44s linear infinite;
}
.ticker__track--reverse { animation-duration: 52s; animation-direction: reverse; }
.ticker:hover .ticker__track { animation-play-state: paused; }

.ticker__group {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__group i {
  width: 6px;
  height: 6px;
  background: var(--orange);
  transform: rotate(45deg);
  flex: none;
}
.ticker--accent .ticker__group i { background: #140b05; }

@keyframes ticker-move {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- Elválasztó 2: technikai vonalzó ------------------------------------ */
.rule {
  background: var(--dark-gray);
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.rule__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.rule__label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.rule__label--accent { color: var(--orange); }

/* Osztásvonalak, mint egy mérőszalagon */
.rule__ticks {
  flex: 1;
  height: 14px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--concrete) 0 1px,
    transparent 1px 16px
  );
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

/* ==========================================================================
   05. FEJLÉC, NAVIGÁCIÓ, FOLYAMATJELZŐ, SZEKCIÓ-SÁV
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(8, 9, 10, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--speed) var(--ease),
              border-color var(--speed) var(--ease);
}
.header.is-scrolled {
  background: rgba(8, 9, 10, 0.96);
  border-bottom-color: var(--line-strong);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

/* Görgetési folyamatjelző */
.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
}
.progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--orange-deep), var(--orange));
}

/* Logó */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__img {
  height: 40px;
  width: auto;
  flex: none;
  transition: transform var(--speed) var(--ease);
}
.logo:hover .logo__img { transform: translateY(-1px) scale(1.03); }
.logo__text {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
  font-variation-settings: "wdth" 112;
}
.logo__accent { color: var(--orange); }

/* Menü */
.nav__list { display: flex; align-items: center; gap: 26px; }
.nav__link {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 0;
  transition: color var(--speed) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--speed) var(--ease);
}
.nav__link:hover,
.nav__link.is-active { color: var(--light); }
.nav__link:hover::after,
.nav__link.is-active::after { width: 100%; }

.nav__cta-mobile { display: none; }

/* Hamburger */
.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.burger__bar {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 2px;
  background: var(--light);
  transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
}
.burger__bar:nth-child(1) { top: 16px; }
.burger__bar:nth-child(2) { top: 22px; }
.burger__bar:nth-child(3) { top: 28px; }
.burger.is-open .burger__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open .burger__bar:nth-child(2) { opacity: 0; }
.burger.is-open .burger__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
}

/* Szekció-sáv a képernyő jobb szélén */
.rail {
  position: fixed;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 120;
}
.rail ul { display: grid; gap: 14px; }
.rail a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  opacity: 0.45;
  transition: opacity var(--speed) var(--ease), color var(--speed) var(--ease);
}
.rail a::after {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: width var(--speed) var(--ease);
}
/* A sorszám is csak hoverre / aktív állapotban jelenik meg */
.rail__num {
  opacity: 0;
  transition: opacity var(--speed) var(--ease);
}
.rail a:hover .rail__num,
.rail a.is-active .rail__num { opacity: 1; }
.rail a:hover { opacity: 1; }
.rail a.is-active {
  opacity: 1;
  color: var(--orange);
}
.rail a.is-active::after { width: 34px; }

/* A szekció neve csak hoverre / aktív állapotban jelenik meg */
.rail a::before {
  content: attr(data-rail-label);
  font-size: 10.5px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.rail a:hover::before { opacity: 1; transform: none; }

/* ==========================================================================
   06. HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(72px, 9vw, 120px) 0 clamp(80px, 9vw, 128px);
  background:
    radial-gradient(1100px 680px at 76% 8%, rgba(255, 106, 26, 0.15), transparent 62%),
    linear-gradient(180deg, #0d0e11 0%, var(--black) 100%);
  overflow: hidden;
}

.hero__bgword {
  position: absolute;
  left: 50%;
  bottom: -0.14em;
  transform: translateX(-50%);
  font-size: clamp(4.5rem, 15vw, 15rem);
  font-weight: 900;
  font-variation-settings: "wdth" 120;
  letter-spacing: -0.05em;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

.hero__title {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  text-transform: uppercase;
  font-variation-settings: "wdth" 116;
}

.hero__lead {
  margin-top: 28px;
  max-width: 44ch;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 32px;
  margin-top: 54px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  justify-content: start;
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong {
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.hero__stats > li > span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* Hero kép + rárakódó adatlap */
.hero__media { position: relative; }

.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--slate);
}
.media-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 5px;
  background: var(--orange);
  z-index: 2;
}
.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.media-frame__tag {
  position: absolute;
  right: 18px;
  top: 18px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(8, 9, 10, 0.78);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(6px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Szállítási adatlap kártya */
.spec-card {
  position: absolute;
  left: -42px;
  bottom: 42px;
  width: min(300px, 78%);
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: rgba(16, 18, 21, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.spec-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec-card__status { display: inline-flex; align-items: center; gap: 7px; color: var(--light); }
.spec-card__status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 106, 26, 0.6);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 106, 26, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(255, 106, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 106, 26, 0); }
}

.spec-card__list { display: grid; gap: 10px; margin: 0; }
.spec-card__list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.spec-card__list dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec-card__list dd {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   07. KÁRTYÁK – kurzorkövető fénnyel
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  padding: 34px 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--slate);
  overflow: hidden;
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease);
}

/* A kurzor pozícióját a script.js írja a --mx / --my változókba */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 106, 26, 0.14), transparent 62%);
  opacity: 0;
  transition: opacity var(--speed) var(--ease);
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:hover { transform: translateY(-5px); border-color: var(--line-strong); }

.card__num {
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.24);
}

.card__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--orange-soft);
  color: var(--orange);
  margin-bottom: 24px;
}
.card__icon svg { width: 24px; height: 24px; }

.card__title {
  position: relative;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
  font-variation-settings: "wdth" 108;
  margin-bottom: 12px;
}
.card__text { position: relative; color: var(--muted); font-size: 14.5px; }

/* ==========================================================================
   08. SZOLGÁLTATÁS SOROK
   ========================================================================== */
.rows { border-top: 1px solid var(--line); }

.row {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(190px, 1fr) minmax(0, 2fr) 110px 32px;
  align-items: center;
  gap: 24px;
  padding: 26px 8px;
  border-bottom: 1px solid var(--line);
  transition: padding var(--speed) var(--ease), background-color var(--speed) var(--ease);
}
/* Narancs sáv csúszik be balról hoverre */
.row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--ease);
}
.row:hover {
  background: rgba(255, 255, 255, 0.022);
  padding-left: 22px;
}
.row:hover::before { transform: scaleY(1); }

.row__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
  transition: color var(--speed) var(--ease);
}
.row:hover .row__num { color: var(--orange); }

.row__title {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  letter-spacing: -0.02em;
  font-variation-settings: "wdth" 110;
}
.row__text { color: var(--muted); font-size: 14.5px; }

.row__meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.row__arrow {
  color: var(--orange);
  font-size: 18px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.row:hover .row__arrow { opacity: 1; transform: none; }

/* ==========================================================================
   09. FOLYAMAT LÉPÉSEK
   ========================================================================== */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
/* Összekötő szaggatott vonal a lépések között */
.steps::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 76px;
  height: 1px;
  background-image: repeating-linear-gradient(90deg, var(--concrete) 0 8px, transparent 8px 18px);
}

.step {
  position: relative;
  padding: 38px 30px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 9, 10, 0.72);
  backdrop-filter: blur(4px);
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.step:hover { transform: translateY(-5px); border-color: var(--orange); }

/* Kontúros nagy szám, hoverre kitöltve */
.step__num {
  display: block;
  font-size: clamp(3.4rem, 7vw, 5.2rem);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.05em;
  font-variation-settings: "wdth" 120;
  margin-bottom: 24px;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--orange);
  transition: color 0.45s var(--ease);
}
.step:hover .step__num { color: var(--orange); }

.step__title {
  font-size: 1.2rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-variation-settings: "wdth" 112;
}
.step__text { color: var(--muted); font-size: 15px; }

/* ==========================================================================
   10. SHOWCASE – szöveg + álló videó
   ========================================================================== */
.showcase {
  position: relative;
  padding: clamp(72px, 9vw, 130px) 0;
  overflow: hidden;
  background:
    radial-gradient(900px 620px at 82% 20%, rgba(255, 106, 26, 0.13), transparent 62%),
    linear-gradient(180deg, var(--black) 0%, #0c0d10 100%);
}

.showcase__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.showcase__box {
  max-width: 620px;
  padding-left: 30px;
  border-left: 3px solid var(--orange);
}
.showcase__title {
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  text-transform: uppercase;
}
.showcase__text {
  margin: 24px 0 32px;
  color: rgba(242, 240, 236, 0.76);
  font-size: clamp(1rem, 1.5vw, 1.08rem);
}

/* --- Videó ------------------------------------------------------------- */
.video {
  justify-self: end;
  width: 100%;
  max-width: 380px;
}

.video__frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--slate);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.video__frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 110px;
  height: 5px;
  background: var(--orange);
  z-index: 3;
}

.video__el {
  display: block;
  width: 100%;
  /* height: auto kell, különben a height attribútum felülírja az aspect-ratiót */
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--black);
}

.video__fallback {
  padding: 24px;
  color: var(--muted);
  font-size: 14px;
}
.video__fallback a { color: var(--orange); text-decoration: underline; }

/* Lebegő vezérlők a videó alján */
.video__controls {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.video__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  width: 42px;
  flex: none;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 9, 10, 0.72);
  backdrop-filter: blur(8px);
  color: var(--light);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--speed) var(--ease),
              border-color var(--speed) var(--ease),
              color var(--speed) var(--ease);
}
.video__btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.video__btn--wide { width: auto; padding: 0 16px; }
.video__btn[aria-pressed="true"] {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

/* Lejátszás / szünet ikon tiszta CSS-ből */
.video__icon {
  display: block;
  transition: all var(--speed) var(--ease);
}
.video__icon--play {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-left: 11px solid currentColor;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}
.video__icon--pause {
  width: 11px;
  height: 13px;
  border-left: 3.5px solid currentColor;
  border-right: 3.5px solid currentColor;
}

.video__caption {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}
.video__caption-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
}

/* ==========================================================================
   10/B. NYITVATARTÁS – rendelésre nyitó telep
   ========================================================================== */
.section--hours {
  background:
    radial-gradient(820px 520px at 8% 10%, rgba(255, 106, 26, 0.1), transparent 62%),
    var(--dark-gray);
}

.hours {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 44px);
  align-items: start;
}

/* Állapotpanel */
.hours__panel {
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 106, 26, 0.09), rgba(255, 106, 26, 0.02)), var(--slate);
}

.hours__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(8, 9, 10, 0.4);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hours__dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--concrete);
}
.hours__status.is-open { color: var(--light); border-color: rgba(74, 222, 128, 0.35); }
.hours__status.is-open .hours__dot {
  background: #4ade80;
  animation: pulse-open 2.6s var(--ease) infinite;
}

.hours__window {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 26px;
}
.hours__window-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.hours__window-value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variation-settings: "wdth" 116;
  font-variant-numeric: tabular-nums;
  color: var(--orange);
}

.hours__note {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14.5px;
}
.hours__note strong { color: var(--light); font-weight: 700; }

.hours__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

/* A hét napjai */
.week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-top: 28px;
}
.week__day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(8, 9, 10, 0.35);
  font-family: var(--font-mono);
  text-align: center;
}
.week__name {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.week__time {
  font-size: 10.5px;
  color: rgba(242, 240, 236, 0.55);
  font-variant-numeric: tabular-nums;
}
.week__day.is-today {
  border-color: var(--orange);
  background: rgba(255, 106, 26, 0.14);
}
.week__day.is-today .week__name { color: var(--orange); }
.week__day.is-today .week__time { color: var(--light); }

.week__legend {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Magyarázó pontok */
.hours__list { display: grid; gap: 12px; }

.hours__item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--slate);
  transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.hours__item:hover { border-color: var(--line-strong); transform: translateX(4px); }

.hours__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
}

.hours__title {
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.hours__text { color: var(--muted); font-size: 14.5px; }

.hours__item--urgent {
  border-color: rgba(255, 106, 26, 0.45);
  background: linear-gradient(180deg, rgba(255, 106, 26, 0.1), rgba(255, 106, 26, 0.02)), var(--slate);
}
.hours__item--urgent .hours__num {
  background: var(--orange);
  color: #fff;
  font-size: 18px;
}

/* ==========================================================================
   11. BETONMENNYISÉG KALKULÁTOR
   ========================================================================== */
.section--calc {
  background:
    radial-gradient(760px 520px at 88% 12%, rgba(255, 106, 26, 0.1), transparent 62%),
    var(--dark-gray);
}

.calc {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.calc__inputs {
  min-width: 0;
  padding: clamp(26px, 3.4vw, 42px);
  background: var(--slate);
}

.calc__label,
.calc__result-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

/* Munkatípus chipek */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--speed) var(--ease),
              border-color var(--speed) var(--ease),
              background-color var(--speed) var(--ease);
}
.chip:hover { color: var(--light); border-color: var(--light); }
.chip.is-active {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
}

.calc__fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.calc__hint {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}

/* Eredmény panel */
.calc__result {
  min-width: 0;
  padding: clamp(26px, 3.4vw, 42px);
  background: linear-gradient(180deg, rgba(255, 106, 26, 0.08), rgba(255, 106, 26, 0.02));
  display: flex;
  flex-direction: column;
}

.calc__value {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: clamp(3.2rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variation-settings: "wdth" 118;
  font-variant-numeric: tabular-nums;
  color: var(--orange);
}
.calc__unit {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.calc__meta {
  display: grid;
  gap: 12px;
  margin: 28px 0 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.calc__meta li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}
.calc__meta span { color: var(--muted); }
.calc__meta em { font-style: normal; opacity: 0.7; }
.calc__meta strong {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Fordulónkénti kitöltöttség sáv */
.calc__bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 26px;
}
.calc__bar-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange-deep), var(--orange));
  transition: width 0.5s var(--ease);
}

.calc__result .btn { margin-top: auto; }

/* Kompakt mezők (kalkulátor) */
.field--compact label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.field--compact .unit {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--orange);
  letter-spacing: 0.1em;
}
.field--compact input { font-variant-numeric: tabular-nums; }

/* Natív számléptető nyilak elrejtése – a chipek és a beírás elég */
.field input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.field input[type="number"]::-webkit-outer-spin-button,
.field input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ==========================================================================
   12. REFERENCIA GALÉRIA + NAGYÍTÓ
   ========================================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(220px, 20vw, 300px);
  gap: 18px;
}
/* Váltakozó ritmus: 4+2 / 2+4 / 3+3 – minden sor kiadja a 6 oszlopot */
.gallery__item { grid-column: span 2; }
.gallery__item:nth-child(1),
.gallery__item:nth-child(4) { grid-column: span 4; }
.gallery__item:nth-child(5),
.gallery__item:nth-child(6) { grid-column: span 3; }

.gallery__btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--slate);
  cursor: pointer;
  text-align: left;
}
.gallery__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
}
.gallery__btn:hover img { transform: scale(1.05); filter: brightness(0.68); }

.gallery__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px 22px 20px;
  background: linear-gradient(180deg, transparent, rgba(8, 9, 10, 0.94));
  transform: translateY(6px);
  transition: transform var(--speed) var(--ease);
}
.gallery__btn:hover .gallery__cap { transform: none; }

.gallery__cat {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
}
.gallery__name { font-size: 15.5px; font-weight: 700; }

/* Nagyítás jelző */
.gallery__zoom {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(8, 9, 10, 0.7);
  backdrop-filter: blur(6px);
  font-size: 20px;
  line-height: 1;
  color: var(--light);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.gallery__btn:hover .gallery__zoom { opacity: 1; transform: none; }

/* „Hamarosan érkeznek a képek” felirat a helyőrző képeken */
.gallery__soon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 80%;
  padding: 10px 18px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light);
  background: rgba(8, 9, 10, 0.72);
  border: 1px solid var(--orange);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

/* Nagyító réteg */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: rgba(5, 5, 6, 0.94);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.28s var(--ease);
}
.lightbox.is-open { opacity: 1; }
/* A display:flex felülírná a hidden attribútum alapértelmezését, ezért kell külön */
.lightbox[hidden] { display: none; }

.lightbox__figure {
  max-width: min(1000px, 88vw);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lightbox__figure img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
}
.lightbox__figure figcaption {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.lightbox__close,
.lightbox__nav {
  width: 48px;
  height: 48px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--light);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--orange); border-color: var(--orange); }
.lightbox__close {
  position: absolute;
  top: 22px;
  right: 22px;
}

/* ==========================================================================
   13. AJÁNLATKÉRŐ + ŰRLAP
   ========================================================================== */
.section--quote {
  background:
    radial-gradient(780px 520px at 10% 0%, rgba(255, 106, 26, 0.12), transparent 60%),
    var(--dark-gray);
}

.quote__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.quote__points { display: grid; gap: 12px; margin-top: 34px; }
.quote__points li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
}
.quote__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}

.quote__contact {
  display: grid;
  gap: 12px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.quote__contact p { display: flex; flex-direction: column; }
.quote__contact span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.quote__contact a {
  font-size: 1.12rem;
  font-weight: 800;
  transition: color var(--speed) var(--ease);
}
.quote__contact a:hover { color: var(--orange); }

.form {
  padding: clamp(26px, 3.4vw, 42px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(8, 9, 10, 0.66);
  backdrop-filter: blur(10px);
}

/* Kitöltöttség jelző */
.form__progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.form__progress-track {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.form__progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--orange);
  transition: width 0.4s var(--ease);
}
.form__progress-text {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.field label span { color: var(--orange); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
  color: var(--light);
  font-size: 15.5px;
  transition: border-color var(--speed) var(--ease), background-color var(--speed) var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(142, 147, 156, 0.65); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.06);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--orange) 50%),
                    linear-gradient(135deg, var(--orange) 50%, transparent 50%);
  background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}
.field select option { background: var(--dark-gray); color: var(--light); }

.field__error {
  display: none;
  margin-top: 7px;
  font-size: 13px;
  color: #ff8a4c;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #ff5b3b; }
.field.has-error .field__error { display: block; }

/* Kalkulátorból átvett érték kiemelése */
.field.is-filled input { border-color: var(--orange); background: rgba(255, 106, 26, 0.08); }

.form__note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.form__note span { color: var(--orange); }

.form__status {
  display: none;
  margin-top: 18px;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
}
.form__status.is-visible { display: block; }
.form__status.is-success {
  background: rgba(255, 106, 26, 0.14);
  border: 1px solid var(--orange);
}
.form__status.is-error {
  background: rgba(255, 91, 59, 0.12);
  border: 1px solid #ff5b3b;
  color: #ffb8a3;
}

/* ==========================================================================
   14. FOOTER
   ========================================================================== */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(255, 106, 26, 0.07), transparent 62%),
    var(--black);
  overflow: hidden;
}

.rule--footer { background: transparent; border-top: none; }

.footer__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.9fr 1.25fr;
  gap: clamp(28px, 4vw, 56px);
  padding-top: clamp(44px, 5vw, 72px);
  padding-bottom: clamp(36px, 4vw, 56px);
}

.footer__logo { display: block; width: 230px; max-width: 100%; }
.footer__logo img { width: 100%; height: auto; }

.footer__text {
  color: var(--muted);
  font-size: 14.5px;
  margin: 14px 0 22px;
  max-width: 38ch;
}

/* Élő nyitvatartás-státusz */
.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 14px;
  margin-bottom: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer__status-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--muted);
}
.footer__status.is-open { color: var(--light); border-color: rgba(74, 222, 128, 0.35); }
.footer__status.is-open .footer__status-dot {
  background: #4ade80;
  animation: pulse-open 2.6s var(--ease) infinite;
}
.footer__status.is-closed .footer__status-dot { background: var(--concrete); }

@keyframes pulse-open {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.footer__title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 22px;
}

.footer__links { display: grid; gap: 10px; }
.footer__links a {
  position: relative;
  display: inline-block;
  color: var(--muted);
  font-size: 14.5px;
  transition: color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.footer__links a::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  width: 6px;
  height: 1px;
  background: var(--orange);
  opacity: 0;
  transition: opacity var(--speed) var(--ease);
}
.footer__links a:hover {
  color: var(--light);
  transform: translateX(6px);
}
.footer__links a:hover::before { opacity: 1; }

/* Kapcsolati kártyák */
.footer__col--contact { display: flex; flex-direction: column; }

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--slate);
  transition: border-color var(--speed) var(--ease),
              background-color var(--speed) var(--ease),
              transform var(--speed) var(--ease);
}
a.contact-card:hover {
  border-color: var(--orange);
  background: rgba(255, 106, 26, 0.07);
  transform: translateY(-2px);
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 10px;
  background: var(--orange-soft);
  color: var(--orange);
}
.contact-card__icon svg { width: 19px; height: 19px; }

.contact-card__body { display: flex; flex-direction: column; min-width: 0; }
.contact-card__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.contact-card__value {
  font-size: 14.5px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-card__arrow {
  margin-left: auto;
  color: var(--orange);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease);
}
a.contact-card:hover .contact-card__arrow { opacity: 1; transform: none; }

/* Ellátási terület */
.footer__areas {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.footer__areas-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 6px;
}
.footer__areas ul { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__areas li {
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  transition: border-color var(--speed) var(--ease), color var(--speed) var(--ease);
}
.footer__areas li:hover { border-color: var(--orange); color: var(--light); }

/* Alsó sáv */
.footer__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.footer__meta { text-transform: uppercase; letter-spacing: 0.16em; }

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color var(--speed) var(--ease),
              border-color var(--speed) var(--ease),
              background-color var(--speed) var(--ease);
}
.to-top:hover {
  color: #fff;
  border-color: var(--orange);
  background: var(--orange);
}
.to-top span { transition: transform var(--speed) var(--ease); }
.to-top:hover span { transform: translateY(-3px); }

/* Nagy márkafelirat, alul levágva */
.footer__wordmark {
  position: relative;
  z-index: 1;
  margin: 0 auto -0.26em;
  padding: 0 12px;
  /* 9,3vw: a felirat tényleges ink-szélessége ~10,14em, így 94vw alatt marad */
  font-size: clamp(1.9rem, 9.3vw, 12rem);
  font-weight: 900;
  font-variation-settings: "wdth" 118;
  letter-spacing: -0.045em;
  line-height: 0.9;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
  user-select: none;
  pointer-events: none;
}

/* ==========================================================================
   15. SCROLL ANIMÁCIÓK
   ========================================================================== */
/* A .js osztályt a script.js teszi a <html> elemre: JS nélkül minden látszik. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal--delay { transition-delay: 0.12s; }

/* Sorok és kártyák lépcsőzetes megjelenése */
.js .cards .reveal:nth-child(2) { transition-delay: 0.06s; }
.js .cards .reveal:nth-child(3) { transition-delay: 0.12s; }
.js .cards .reveal:nth-child(4) { transition-delay: 0.18s; }
.js .rows .reveal:nth-child(even) { transition-delay: 0.05s; }
.js .steps .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .steps .reveal:nth-child(3) { transition-delay: 0.16s; }

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

/* ==========================================================================
   16. RESZPONZÍV TÖRÉSPONTOK
   ========================================================================== */

/* --- Nagy tablet / kisebb desktop --- */
@media (max-width: 1200px) {
  .rail { display: none; }
}

@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery__item,
  .gallery__item:nth-child(1),
  .gallery__item:nth-child(4),
  .gallery__item:nth-child(5),
  .gallery__item:nth-child(6) { grid-column: span 3; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col--contact { grid-column: 1 / -1; }
  .calc { grid-template-columns: 1fr; }
  .row { grid-template-columns: 52px minmax(0, 1fr) 100px 24px; }
  .row__text { display: none; }
}

/* --- Tablet: mobil navigáció bekapcsol --- */
@media (max-width: 900px) {
  :root { --header-h: 70px; --gutter: 24px; }

  .header__cta { display: none; }
  .burger { display: block; }

  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    z-index: 195;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px var(--gutter) 34px;
    background: var(--dark-gray);
    border-bottom: 1px solid var(--line-strong);
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__link { display: block; padding: 15px 0; font-size: 17px; font-weight: 600; }
  .nav__link::after { display: none; }
  .nav__cta-mobile { display: inline-flex; margin-top: 22px; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .media-frame img { aspect-ratio: 16 / 10; }
  .spec-card { left: auto; right: 16px; bottom: 16px; width: min(280px, 70%); }

  .section__head--split { grid-template-columns: 1fr; align-items: start; }
  .section__head--split .section__lead { margin-top: 18px; }

  .quote__inner { grid-template-columns: 1fr; }
  .hours { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }

  /* Videó a szöveg alá kerül, középre igazítva */
  .showcase__inner { grid-template-columns: 1fr; }
  .video { justify-self: start; max-width: 340px; }
}

/* --- Mobil --- */
@media (max-width: 640px) {
  body { font-size: 16px; }

  /* A hosszú, nagybetűs szavak (BETONMASTERZ) ne lógjanak ki keskeny kijelzőn */
  .section__title { font-size: clamp(1.5rem, 6.8vw, 2rem); }
  .hero__title { font-size: clamp(1.85rem, 8.2vw, 2.5rem); }
  .showcase__title { font-size: clamp(1.45rem, 6.4vw, 1.9rem); }

  .grid-lines { grid-template-columns: repeat(2, 1fr); }

  .hero__stats { grid-template-columns: 1fr; gap: 18px; margin-top: 40px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .spec-card {
    position: static;
    width: 100%;
    margin-top: 14px;
    backdrop-filter: none;
    box-shadow: none;
  }

  .cards,
  .gallery { grid-template-columns: 1fr; }
  .gallery__item,
  .gallery__item:nth-child(1),
  .gallery__item:nth-child(4),
  .gallery__item:nth-child(5),
  .gallery__item:nth-child(6) { grid-column: auto; }

  .row {
    grid-template-columns: 44px minmax(0, 1fr) 24px;
    gap: 14px;
    padding: 20px 4px;
  }
  .row__meta { display: none; }

  .calc__fields { grid-template-columns: 1fr; gap: 0; }
  .logo__img { height: 34px; }
  .week { grid-template-columns: repeat(4, 1fr); }
  .hours__item { grid-template-columns: 38px 1fr; gap: 12px; padding: 18px 18px; }
  .hours__num { width: 38px; height: 38px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 24px 20px; }

  .media-frame__tag { font-size: 9.5px; padding: 7px 12px; letter-spacing: 0.1em; }

  .rule__inner { gap: 14px; }
  .rule__label:last-child { display: none; }

  .showcase__box { padding-left: 20px; }
  .video { max-width: 100%; }
  .video__controls { left: 10px; right: 10px; bottom: 10px; }

  .footer__inner { grid-template-columns: 1fr; gap: 34px; }
  .footer__brand,
  .footer__col--contact { grid-column: auto; }
  .footer__areas { padding-top: 20px; padding-bottom: 20px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer__wordmark { -webkit-text-stroke-width: 0.7px; }

  .lightbox { padding: 16px; gap: 8px; }
  .lightbox__nav { width: 40px; height: 40px; font-size: 18px; }
}

/* ========================================================================
   SIKERES BEKÜLDÉS OVERLAY + ANIMÁCIÓ
   ===================================================================== */
.success {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 9, 10, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.success[hidden] { display: none; }
.success.is-open { opacity: 1; }

.success__card {
  position: relative;
  width: min(520px, 100%);
  background: var(--slate);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 48px 40px 40px;
  text-align: center;
  overflow: hidden;
  transform: translateY(24px) scale(0.96);
  opacity: 0;
}
.success.is-open .success__card {
  animation: successCardIn 0.6s var(--ease) 0.05s forwards;
}
.success__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--orange-deep));
}
@keyframes successCardIn {
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.success__eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.success__check { display: grid; place-items: center; margin-bottom: 8px; }
.success__check svg { overflow: visible; }
.success__check-ring {
  fill: none;
  stroke: var(--orange);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  transform: rotate(-90deg);
  transform-origin: center;
}
.success__check-mark {
  fill: none;
  stroke: var(--light);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
}
.success.is-open .success__check-ring {
  animation: successDraw 0.7s var(--ease) 0.25s forwards;
}
.success.is-open .success__check-mark {
  animation: successDraw 0.4s var(--ease) 0.85s forwards;
}
@keyframes successDraw { to { stroke-dashoffset: 0; } }

.success__stamp {
  display: inline-block;
  margin: 18px 0 4px;
  padding: 6px 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--orange);
  border: 2px solid var(--orange);
  border-radius: 6px;
  transform: rotate(-6deg) scale(1.6);
  opacity: 0;
}
.success.is-open .success__stamp {
  animation: successStamp 0.45s var(--ease) 1.15s forwards;
}
@keyframes successStamp {
  0% { transform: rotate(-6deg) scale(1.6); opacity: 0; }
  60% { transform: rotate(-6deg) scale(0.92); opacity: 1; }
  100% { transform: rotate(-6deg) scale(1); opacity: 1; }
}

.success__title {
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 16px 0 12px;
}
.success__text {
  color: var(--muted);
  max-width: 40ch;
  margin: 0 auto 28px;
  line-height: 1.55;
}
.success__close { margin: 0 auto; }

/* Konfetti */
.success__confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.success__confetti span {
  position: absolute;
  top: -12px;
  width: 9px;
  height: 14px;
  opacity: 0;
  will-change: transform, opacity;
}
.success.is-open .success__confetti span {
  animation: successConfetti 1.9s ease-in forwards;
}
@keyframes successConfetti {
  0% { transform: translateY(-20px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(102vh) rotate(680deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .success, .success__card { transition: none; }
  .success.is-open .success__card,
  .success.is-open .success__check-ring,
  .success.is-open .success__check-mark,
  .success.is-open .success__stamp,
  .success.is-open .success__confetti span { animation: none; }
  .success__card { transform: none; opacity: 1; }
  .success__check-ring, .success__check-mark { stroke-dashoffset: 0; }
  .success__stamp { opacity: 1; transform: rotate(-6deg); }
}

/* ==========================================================================
   17. SÜTI SÁV (cookie consent)
   ========================================================================== */
.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 400;
  padding: 18px var(--gutter);
  background: rgba(16, 18, 21, 0.92);
  border-top: 1px solid var(--line-strong);
  backdrop-filter: blur(14px);
  transform: translateY(120%);
  transition: transform 0.45s var(--ease);
}
.cookie.is-open { transform: translateY(0); }
.cookie[hidden] { display: block; }

.cookie__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.cookie__text { flex: 1 1 420px; min-width: 260px; }
.cookie__title { font-size: 16px; font-weight: 800; margin: 0 0 4px; }
.cookie__desc { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.55; }
.cookie__desc a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
.cookie__actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie__actions .btn { padding: 12px 22px; }

@media (max-width: 620px) {
  .cookie__inner { flex-direction: column; align-items: stretch; }
  .cookie__actions { width: 100%; }
  .cookie__actions .btn { flex: 1; justify-content: center; }
}

/* ==========================================================================
   18. JOGI OLDAL (Adatvédelmi tájékoztató)
   ========================================================================== */
.footer--slim { padding-top: 0; }
.footer__legal-link { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; margin-right: 4px; }

.legal { padding-top: calc(var(--header-h) + 48px); padding-bottom: 80px; }
.legal__container { max-width: 860px; }

.legal__head { margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.legal__title { font-size: clamp(34px, 6vw, 56px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.02; margin: 12px 0 18px; }
.legal__lead { font-size: 16px; color: var(--muted); max-width: 60ch; line-height: 1.6; }

.legal__toc {
  margin-bottom: 56px;
  padding: 24px 26px;
  background: var(--slate);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.legal__toc ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.legal__toc a { color: var(--light); font-size: 14px; text-decoration: none; transition: color var(--speed) var(--ease); }
.legal__toc a:hover { color: var(--orange); }

.legal__section { margin-bottom: 44px; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal__section h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}
.legal__section h3 { font-size: 17px; font-weight: 700; margin: 26px 0 10px; color: var(--light); }
.legal__section p { font-size: 15px; line-height: 1.7; color: #cfd2d7; margin: 0 0 14px; }
.legal__section ul, .legal__section ol { margin: 0 0 16px; padding-left: 22px; }
.legal__section li { font-size: 15px; line-height: 1.7; color: #cfd2d7; margin-bottom: 6px; }
.legal__muted { color: var(--muted); font-size: 13.5px; font-style: italic; }

.legal__data { display: grid; gap: 0; margin: 0 0 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.legal__data > div { display: flex; gap: 16px; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.legal__data > div:last-child { border-bottom: none; }
.legal__data dt { flex: 0 0 170px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.legal__data dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--light); }
.legal__data a { color: var(--orange); }

.legal__terms dt { font-weight: 800; color: var(--orange); font-size: 15px; margin-top: 16px; }
.legal__terms dd { margin: 4px 0 0; font-size: 14.5px; line-height: 1.65; color: #cfd2d7; }

.legal__table-wrap { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.legal__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal__table th { text-align: left; padding: 12px 16px; background: var(--slate); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.legal__table td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--light); vertical-align: top; }
.legal__table tr:last-child td { border-bottom: none; }

.legal__rights li { margin-bottom: 12px; }
.legal__rights strong { color: var(--light); }

.legal__back { margin-top: 48px; }

@media (max-width: 620px) {
  .legal__toc ul { grid-template-columns: 1fr; }
  .legal__data > div { flex-direction: column; gap: 4px; }
  .legal__data dt { flex: none; }
}

