/* SB Tech – nyilvános oldal. Tervezési jegyzet: /DESIGN.md */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  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: "Archivo";
  src: url("../fonts/archivo-latin-ext-standard-normal.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  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";
  src: url("../fonts/archivo-latin-standard-italic.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap;
  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: "Archivo";
  src: url("../fonts/archivo-latin-ext-standard-italic.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap;
  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;
}

:root {
  --paper: #EEF1F2;
  --paper-tint: #E2E7EA;
  --sheet: #FFFFFF;
  --ink: #14284A;
  --ink-deep: #0D1D38;
  --ink-soft: #4A5870;
  --rule: #C5CDD5;
  --field: #8592A3;
  --signal: #2A63C4;
  --pe-yellow: #F2C200;
  --pe-green: #1E8A4A;
  --error: #B42318;
  --stripe: repeating-linear-gradient(-45deg, var(--pe-green) 0 7px, var(--pe-yellow) 7px 14px);
  --cell: var(--paper);

  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: 1.0625rem;
  --t-md: 1.3125rem;
  --t-lg: 1.625rem;
  --t-xl: clamp(1.875rem, 1.25rem + 2.1vw, 2.75rem);
  --t-hero: clamp(2.625rem, 1.1rem + 5vw, 5rem);

  --gutter: clamp(1rem, 3.5vw, 2.5rem);
  --wrap: 78rem;
  --section: clamp(4rem, 8vw, 7rem);
  --radius-photo: 4px;
  --radius-control: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-base);
  font-stretch: 100%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--signal); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
h1, h2, h3 {
  margin: 0 0 0.5em;
  font-weight: 760;
  font-stretch: 112%;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-md); font-weight: 700; font-stretch: 106%; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 64ch; }
figure { margin: 0; }
figcaption { margin-top: 0.6rem; font-size: var(--t-sm); line-height: 1.4; color: var(--ink-soft); }
strong { font-weight: 680; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 46rem; }
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  padding: 0.7rem 1rem; background: var(--ink); color: #fff; font-weight: 650; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Buttons and strong links */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-border: var(--ink);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 46px; padding: 0.7em 1.25em;
  border: 2px solid var(--btn-border); border-radius: var(--radius-control);
  background: var(--btn-bg); color: var(--btn-fg);
  font: inherit; font-size: var(--t-sm); font-weight: 650; font-stretch: 104%; line-height: 1.2;
  text-decoration: none; cursor: pointer;
}
.btn--primary { --btn-bg: var(--ink); --btn-fg: #fff; overflow: hidden; padding-bottom: calc(0.7em + 4px); }
.btn--primary::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: var(--stripe);
  transition: height 0.15s ease-out;
}
.btn--primary:hover { --btn-bg: var(--ink-deep); }
.btn--primary:hover::after { height: 8px; }
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn--large { min-height: 54px; font-size: var(--t-base); padding: 0.85em 1.5em; }
.btn--large.btn--primary { padding-bottom: calc(0.85em + 4px); }
.btn--small { min-height: 40px; padding: 0.45em 0.95em; }
.btn--small.btn--primary { padding-bottom: calc(0.45em + 4px); }

.link-strong {
  color: var(--ink); font-weight: 650; font-stretch: 104%;
  text-decoration: underline; text-decoration-color: var(--signal);
  text-decoration-thickness: 2px; text-underline-offset: 0.32em;
}
.link-strong:hover { text-decoration-thickness: 3px; }

/* Header */
.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--rule); background: var(--paper); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; padding-block: 0.6rem; }
.brand { display: block; flex: none; margin-right: auto; }
.brand__logo { width: auto; height: 96px; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a:not(.btn) { color: var(--ink); font-size: var(--t-sm); font-weight: 560; text-decoration: none; }
.site-nav a:not(.btn):hover,
.site-nav a[aria-current="page"]:not(.btn) {
  text-decoration: underline; text-decoration-color: var(--signal);
  text-decoration-thickness: 2px; text-underline-offset: 0.45em;
}
.site-nav .site-nav__phone { font-weight: 680; font-stretch: 94%; font-variant-numeric: tabular-nums; }
.nav-toggle {
  display: none; align-items: center; gap: 0.6rem;
  min-height: 44px; padding: 0.5rem 0.9rem;
  border: 2px solid var(--ink); border-radius: var(--radius-control);
  background: transparent; color: var(--ink);
  font: inherit; font-size: var(--t-sm); font-weight: 650; cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 18px; height: 12px; border-block: 2px solid currentColor; }
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 2px; background: currentColor; }
@media (min-width: 981px) {
  .site-nav { flex: none; }
  .site-nav a { white-space: nowrap; }
}

@media (max-width: 980px) {
  .site-nav { flex-wrap: wrap; gap: 0.5rem 1.25rem; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.25rem var(--gutter) 1.5rem;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    box-shadow: 0 18px 30px -24px rgba(13, 29, 56, 0.45);
  }
  .js .site-nav a:not(.btn) { padding: 0.95rem 0; border-bottom: 1px solid var(--rule); font-size: var(--t-base); }
  .js .site-nav .btn { margin-top: 1.1rem; }
  .js .site-header.is-open .site-nav { display: flex; }
}
/* Ha az adminban annyi menüpontot vesznek fel, hogy széles képernyőn sem fér ki egy sorba,
   a site.js „is-compact” osztályt tesz a fejlécre, és ugyanaz a lenyíló menü jelenik meg, mint mobilon. */
.js .site-header.is-compact .nav-toggle { display: inline-flex; }
.js .site-header.is-compact .site-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  flex-direction: column; align-items: stretch; gap: 0;
  padding: 0.25rem var(--gutter) 1.5rem;
  background: var(--paper); border-bottom: 1px solid var(--rule);
  box-shadow: 0 18px 30px -24px rgba(13, 29, 56, 0.45);
}
.js .site-header.is-compact .site-nav a:not(.btn) { padding: 0.95rem 0; border-bottom: 1px solid var(--rule); font-size: var(--t-base); }
.js .site-header.is-compact .site-nav .btn { margin-top: 1.1rem; }
.js .site-header.is-compact.is-open .site-nav { display: flex; }
@media (max-width: 720px) {
  .brand__logo { height: 66px; }
}

/* Hero */
.hero { padding-top: clamp(2.5rem, 6vw, 5rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.hero__title {
  max-width: 12ch; margin-bottom: 0.4em;
  font-size: var(--t-hero); font-weight: 800; font-stretch: 125%;
  line-height: 0.96; letter-spacing: -0.035em;
}
.hero__lead { max-width: 42ch; margin-bottom: 1.75rem; font-size: var(--t-md); line-height: 1.45; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.hero__photo { width: min(340px, 30vw); }
.hero__frame { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-photo); background: var(--paper-tint); }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slide:not(.is-current):not(.is-entering) { visibility: hidden; }
/* Képváltás: az új kép balról jobbra „rajzolódik” elő, a szélén egy vékony jelkék vonallal. */
.hero__slide.is-entering { z-index: 2; animation: hero-wipe 0.9s cubic-bezier(0.65, 0, 0.35, 1) both; }
.hero__frame::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; z-index: 3; width: 2px;
  background: var(--signal); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55);
  opacity: 0; pointer-events: none;
}
.hero__frame.is-wiping::after { animation: hero-wipe-line 0.9s cubic-bezier(0.65, 0, 0.35, 1) both; }
@keyframes hero-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes hero-wipe-line { 0% { left: 0; opacity: 1; } 92% { opacity: 1; } 100% { left: calc(100% - 2px); opacity: 0; } }
.hero__caption { display: flex; align-items: baseline; gap: 0.75rem; font-size: var(--t-xs); }
.hero__caption-text { flex: 1; min-width: 0; }
.hero__count { flex: none; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.hero__toggle {
  flex: none; min-height: 24px; padding: 0; border: 0; background: none;
  color: var(--ink-soft); font: inherit; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer;
}
.hero__toggle:hover { color: var(--ink); }
@media (max-width: 760px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { width: min(100%, 360px); }
}

/* Schematic: one bus, six branches, an open breaker on each */
.schematic { --wire: var(--ink); margin-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.schematic__legend {
  display: flex; align-items: center; gap: 0.6rem;
  max-width: none; margin: 0 0 18px;
  font-size: var(--t-sm); font-weight: 600; font-stretch: 86%; color: var(--ink-soft);
}
.schematic__source { flex: none; width: 28px; height: 28px; fill: none; stroke: var(--wire); stroke-width: 1.8; }
.schematic__bus {
  position: relative;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  margin: 0 0 0 13px; padding: 0; list-style: none;
}
.schematic__bus::before {
  content: ""; position: absolute; left: 0; top: -18px; width: 2px; height: 20px;
  background: var(--wire); transform-origin: top;
}
.schematic__branch { position: relative; }
.schematic__branch::before,
.schematic__branch::after {
  content: ""; position: absolute; top: 0; height: 2px; width: 50%;
  background: var(--wire); transform-origin: left;
  transition: background-color 0.15s;
}
.schematic__branch::before { left: 0; }
.schematic__branch::after { left: 50%; }
.schematic__branch:last-child::after { display: none; }
.schematic__link {
  display: flex; flex-direction: column; align-items: center;
  padding-bottom: 0.25rem;
  color: var(--wire); text-decoration: none;
}
.schematic__wire { display: block; }
.breaker { display: block; overflow: visible; }
.breaker--v { width: 40px; height: 96px; }
.breaker--h { display: none; width: 84px; height: 32px; }
.breaker .wire, .breaker .blade { fill: none; stroke: currentColor; stroke-width: 2px; vector-effect: non-scaling-stroke; }
.breaker .contact { fill: var(--paper); stroke: currentColor; stroke-width: 1.6px; vector-effect: non-scaling-stroke; }
.breaker .blade {
  transform-box: view-box;
  transform: rotate(-30deg);
  transition: transform 0.24s cubic-bezier(0.3, 1.5, 0.55, 1);
}
.breaker--v .blade { transform-origin: 20px 34px; }
.breaker--h .blade { transform-origin: 28px 16px; }
.schematic__symbol { width: 54px; height: 54px; margin-top: -1px; }
.schematic__label {
  max-width: 13ch; margin-top: 0.8rem;
  font-size: clamp(0.8125rem, 0.5rem + 0.45vw, 0.90625rem); font-weight: 620; font-stretch: 84%; line-height: 1.25;
  text-align: center; color: var(--ink);
}
.schematic .sym .lead-v { display: inline; }

.schematic__link:hover, .schematic__link:focus-visible, .schematic__branch.is-active .schematic__link { color: var(--signal); }
.schematic__link:hover .blade, .schematic__link:focus-visible .blade, .schematic__branch.is-active .blade { transform: rotate(0deg); }
.schematic__link:hover .schematic__label, .schematic__link:focus-visible .schematic__label {
  text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 0.3em;
}
.schematic__link:focus-visible { outline-offset: 6px; }
.schematic__bus.is-lit::before,
.schematic__branch.is-lit::before,
.schematic__branch.is-lit::after,
.schematic__branch.is-active::before { background: var(--signal); }

/* Táblagép, kis laptop: két sor, a sorokat bal oldalon felszálló vezeték köti össze. */
@media (min-width: 720px) and (max-width: 1179px) {
  .schematic { --row: 232px; --row-gap: 24px; }
  .schematic__bus { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: var(--row); row-gap: var(--row-gap); }
  .schematic__branch:nth-child(5n)::after { display: none; }
  .schematic__branch:nth-child(5n + 1):not(:first-child) .schematic__link::before {
    content: ""; position: absolute; left: 0; width: 2px;
    top: calc(-1 * (var(--row) + var(--row-gap))); height: calc(var(--row) + var(--row-gap));
    background: var(--wire); transform-origin: top; transition: background-color 0.15s;
  }
  .schematic__branch.is-riser-lit .schematic__link::before { background: var(--signal); }
  .schematic__label { font-size: var(--t-sm); }
}

@media (max-width: 719px) {
  .schematic__bus { grid-auto-flow: row; grid-auto-columns: auto; }
  .schematic__branch::before,
  .schematic__branch::after { left: 0; width: 2px; height: 50%; transform-origin: top; }
  .schematic__branch::before { top: 0; }
  .schematic__branch::after { top: 50%; }
  .schematic__link { flex-direction: row; align-items: center; min-height: 66px; padding: 0; }
  .breaker--v { display: none; }
  .breaker--h { display: block; width: 64px; height: 32px; }
  .schematic__symbol { width: 46px; height: 46px; margin: 0 0 0 -1px; flex: none; }
  .schematic .sym .lead-v, .schematic .sym .earth-v { display: none; }
  .schematic .sym .lead-h, .schematic .sym .earth-h { display: inline; }
  .schematic__label { max-width: none; margin: 0 0 0 0.9rem; font-size: var(--t-base); text-align: left; }
}

/* One orchestrated moment: the bus draws itself once, left to right, when the page opens. */
.schematic__branch:nth-child(1) { --i: 0; }
.schematic__branch:nth-child(2) { --i: 1; }
.schematic__branch:nth-child(3) { --i: 2; }
.schematic__branch:nth-child(4) { --i: 3; }
.schematic__branch:nth-child(5) { --i: 4; }
.schematic__branch:nth-child(6) { --i: 5; }
.schematic__branch:nth-child(7) { --i: 6; }
.schematic__branch:nth-child(8) { --i: 7; }
.schematic__branch:nth-child(9) { --i: 8; }
.schematic__branch:nth-child(10) { --i: 9; }

@media (prefers-reduced-motion: no-preference) {
  .schematic--draw { --step: 0.13s; --t0: 0.35s; }
  .schematic--draw .schematic__bus::before { animation: draw-y 0.18s 0.2s linear both; }
  .schematic--draw .schematic__branch::before { animation: draw-x var(--step) calc(var(--t0) + var(--i) * var(--step) * 2) linear both; }
  .schematic--draw .schematic__branch::after { animation: draw-x var(--step) calc(var(--t0) + (var(--i) * 2 + 1) * var(--step)) linear both; }
  .schematic--draw .breaker .wire { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .schematic--draw .breaker .wire--in { animation: draw-stroke 0.22s calc(var(--t0) + (var(--i) * 2 + 1) * var(--step)) ease-out forwards; }
  .schematic--draw .breaker .contact,
  .schematic--draw .breaker .blade { animation: appear 0.2s calc(var(--t0) + (var(--i) * 2 + 1) * var(--step) + 0.2s) both; }
  .schematic--draw .breaker .wire--out { animation: draw-stroke 0.22s calc(var(--t0) + (var(--i) * 2 + 1) * var(--step) + 0.32s) ease-out forwards; }
  .schematic--draw .schematic__symbol { animation: reveal-down 0.4s calc(var(--t0) + (var(--i) * 2 + 1) * var(--step) + 0.5s) ease-out both; }
  .schematic--draw .schematic__label { animation: appear 0.4s calc(var(--t0) + (var(--i) * 2 + 1) * var(--step) + 0.62s) both; }
  @media (min-width: 720px) and (max-width: 1179px) {
    .schematic--draw .schematic__branch:nth-child(5n + 1):not(:first-child) .schematic__link::before {
      animation: draw-y var(--step) calc(var(--t0) + var(--i) * var(--step) * 2 - var(--step)) linear both;
    }
    .schematic--draw.is-waiting .schematic__link::before { animation-play-state: paused; }
  }
  .schematic--draw.is-waiting .schematic__bus::before,
  .schematic--draw.is-waiting .schematic__branch::before,
  .schematic--draw.is-waiting .schematic__branch::after,
  .schematic--draw.is-waiting .breaker *,
  .schematic--draw.is-waiting .schematic__symbol,
  .schematic--draw.is-waiting .schematic__label { animation-play-state: paused; }
  @media (max-width: 719px) {
    .schematic--draw { --step: 0.09s; }
    .schematic--draw .schematic__branch::before,
    .schematic--draw .schematic__branch::after { animation-name: draw-y; }
    .schematic--draw .schematic__symbol { animation-name: reveal-right; }
  }
}
@keyframes draw-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes draw-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes draw-stroke { to { stroke-dashoffset: 0; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes reveal-down { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes reveal-right { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Symbols */
.sym { fill: none; stroke: currentColor; stroke-width: 2px; stroke-linejoin: miter; overflow: visible; }
.sym * { vector-effect: non-scaling-stroke; }
.sym .fill { fill: currentColor; stroke: none; }
.sym .sym-text { fill: currentColor; stroke: none; font-family: var(--font); font-size: 13px; font-weight: 700; font-stretch: 100%; }
.sym .sym-text--small { font-size: 6.5px; font-weight: 600; }
.sym .lead-v, .sym .lead-h, .sym .earth-h { display: none; }
.sym--large { width: 128px; height: 128px; stroke-width: 2.5px; }

/* Sections */
.section { padding-block: var(--section); }
.section--tint { --cell: var(--paper-tint); background: var(--paper-tint); }
.section--rule { padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--rule); }
.section--flush-top { padding-top: 0; }
.section--page-top { padding-top: clamp(3rem, 7vw, 5.5rem); }
.section--ink { --cell: var(--ink); background: var(--ink); color: #E9EEF5; }
.section--ink h1, .section--ink h2 { color: #fff; }
.section--ink a { color: #fff; }
#szolgaltatasok { border-top: 1px solid var(--rule); }
.section-head { max-width: 48rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2.5rem; max-width: none; }
.section-head--split > div { max-width: 48rem; }
.section-head__lead { max-width: 54ch; margin: 0; font-size: var(--t-md); line-height: 1.45; color: var(--ink-soft); }
.h-small { font-size: var(--t-md); }

.dash-list { margin: 0 0 1em; padding: 0; list-style: none; }
.dash-list li { position: relative; margin-bottom: 0.45em; padding-left: 1.45em; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 0.8em; height: 2px; background: currentColor; opacity: 0.5; }

/* Services list */
.service-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.service-row {
  position: relative;
  display: grid; grid-template-columns: 56px minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 1rem 2.75rem; align-items: start;
  padding-block: 1.9rem; border-bottom: 1px solid var(--rule);
}
.service-row__sym { width: 50px; height: 50px; margin-top: -0.2rem; color: var(--ink); transition: color 0.15s; }
.service-row__title { margin-bottom: 0.45rem; font-size: var(--t-lg); }
.service-row__title a { color: inherit; text-decoration: none; }
.service-row__title a::after { content: ""; position: absolute; inset: 0; }
.service-row:hover .service-row__title a,
.service-row__title a:focus-visible { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.service-row__title a:focus-visible { outline: none; }
.service-row:has(a:focus-visible) { outline: 3px solid var(--signal); outline-offset: 4px; }
.service-row:hover .service-row__sym { color: var(--signal); }
.service-row__main p { margin: 0; color: var(--ink-soft); }
.service-row__features { margin: 0; padding-top: 0.35rem; font-size: var(--t-sm); }
@media (max-width: 860px) {
  .service-row { grid-template-columns: 46px minmax(0, 1fr); column-gap: 1.25rem; }
  .service-row__sym { width: 42px; height: 42px; }
  .service-row__features { grid-column: 2; }
}

/* Audiences */
.audiences { display: grid; grid-template-columns: 1fr 1fr; }
.audience { padding-right: clamp(1.5rem, 4vw, 3.5rem); }
.audience + .audience { padding: 0 0 0 clamp(1.5rem, 4vw, 3.5rem); border-left: 1px solid var(--rule); padding-right: 0; }
.audience__text { font-size: var(--t-md); line-height: 1.45; color: var(--ink-soft); }
.audience .btn { margin-top: 0.75rem; }
@media (max-width: 760px) {
  .audiences { grid-template-columns: 1fr; }
  .audience { padding: 0; }
  .audience + .audience { margin-top: 3rem; padding: 3rem 0 0; border-left: 0; border-top: 1px solid var(--rule); }
}

/* Photos: real ratios, like a contact sheet from the van */
.photo-grid { columns: 4 230px; column-gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.photo-grid__item { break-inside: avoid; margin-bottom: 1.75rem; }
.photo-grid__item[hidden] { display: none; }
.photo-grid__link { display: block; overflow: hidden; border-radius: var(--radius-photo); background: var(--paper-tint); }
.photo-grid__link img { width: 100%; }
.photo-grid figcaption { font-size: var(--t-xs); }
.zoom { cursor: zoom-in; }

.filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.25rem; }
.filter__btn,
.choice__item span {
  display: inline-flex; align-items: center;
  min-height: 42px; padding: 0.45rem 0.9rem;
  border: 1.5px solid var(--field); border-radius: var(--radius-control);
  background: transparent; color: var(--ink);
  font: inherit; font-size: var(--t-sm); font-weight: 560; line-height: 1.2;
  cursor: pointer; user-select: none;
}
.filter__btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter__count { margin-left: 0.4em; font-size: var(--t-xs); font-variant-numeric: tabular-nums; opacity: 0.7; }

/* Case studies */
.case-list { display: grid; gap: clamp(2.75rem, 5vw, 4.25rem); }
.case-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.case-card:not(:has(.case-card__media)) { grid-template-columns: minmax(0, 1fr); }
.case-card__media { display: block; overflow: hidden; border-radius: var(--radius-photo); }
.case-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.case-card__title { margin-bottom: 0.5rem; font-size: var(--t-lg); }
.case-card__title a { color: inherit; text-decoration: none; }
.case-card__title a:hover { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 0.22em; }
.case-card__lead { font-size: var(--t-md); line-height: 1.45; color: var(--ink-soft); }
@media (max-width: 760px) { .case-card { grid-template-columns: 1fr; } }

/* Videos: cover from our own media library, the YouTube player loads only on click */
.video-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr));
  gap: clamp(2rem, 3.5vw, 2.75rem) clamp(1.25rem, 2.5vw, 2rem); margin: 0; padding: 0; list-style: none;
}
.video-card[hidden] { display: none; }
.video-card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-photo); background: var(--ink); }
.video-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
.video-card:hover .video-card__media img { transform: scale(1.035); }
.video-card__play {
  position: absolute; left: 0.75rem; bottom: 0.75rem; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: var(--radius-control); background: var(--ink); color: #fff;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.5);
}
.video-card__play::before { content: ""; margin-left: 3px; border-left: 12px solid currentColor; border-block: 7.5px solid transparent; }
.video-card:hover .video-card__play { background: var(--signal); }
.video-card__title { margin: 0.95rem 0 0.3rem; font-size: var(--t-md); line-height: 1.25; }
.video-card__title a { color: inherit; text-decoration: none; }
.video-card__title a:hover { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.video-card__meta { margin: 0 0 0.45rem; font-size: var(--t-xs); font-weight: 560; color: var(--ink-soft); }
.video-card__lead { margin: 0; font-size: var(--t-sm); line-height: 1.5; color: var(--ink-soft); }

.video-meta { margin: 0.75rem 0 0; font-size: var(--t-sm); font-weight: 560; color: var(--ink-soft); }
.video-player { position: relative; max-width: 960px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-photo); background: var(--ink-deep); }
.video-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-player__start { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; }
.video-player__start img { width: 100%; height: 100%; object-fit: cover; }
.video-player__start::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 29, 56, 0.6), rgba(13, 29, 56, 0) 50%); }
.video-player__button {
  position: absolute; z-index: 1; left: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem);
  display: inline-flex; align-items: center; gap: 0.8rem; min-height: 52px; padding: 0.7rem 1.25rem 0.7rem 1.1rem;
  border-radius: var(--radius-control); background: var(--ink); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.55);
  font-size: var(--t-base); font-weight: 680; font-stretch: 104%;
}
.video-player__button::before { content: ""; border-left: 14px solid currentColor; border-block: 9px solid transparent; }
.video-player__start:hover .video-player__button,
.video-player__start:focus-visible .video-player__button { background: var(--signal); }
.video-player__start:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.video-player__note { max-width: 960px; margin: 0.7rem 0 0; font-size: var(--t-xs); color: var(--ink-soft); }
.video-body { margin-top: clamp(1.75rem, 4vw, 2.5rem); }

/* Title block (rajzfejléc): real data in a drawing frame */
.title-block {
  display: flex; flex-wrap: wrap; gap: 1px;
  max-width: 46rem; margin: 1.5rem 0 0;
  border: 1.5px solid var(--ink); background: var(--ink);
}
.title-block > div { flex: 1 1 9.5rem; padding: 0.55rem 0.8rem 0.65rem; background: var(--cell); }
.title-block dt { margin-bottom: 0.15rem; font-size: var(--t-xs); font-weight: 600; font-stretch: 80%; line-height: 1.2; color: var(--ink-soft); }
.title-block dd { margin: 0; font-weight: 620; font-stretch: 96%; line-height: 1.3; }
.title-block--facts { margin-block: 2rem; }
.title-block > div.is-wide { flex: 2 1 20rem; }
.title-block--footer { max-width: none; margin: 0; }
.title-block__cells { display: contents; margin: 0; }
.title-block--footer .title-block__cells > div { flex: 1 1 13rem; padding: 0.8rem 1rem 0.9rem; background: var(--cell); }
.title-block--footer .title-block__wide { flex-basis: 20rem; }
.title-block--footer .title-block__logo { display: grid; place-items: center; flex: 0 0 auto; padding: 0.9rem 1.4rem; background: var(--cell); }
.title-block--footer .title-block__logo img { width: auto; height: 104px; }
.title-block--footer dd { font-size: var(--t-base); }
.title-block a { color: var(--ink); }

/* Process: terminals on a wire */
.process { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem; margin: 0; padding: 0; list-style: none; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: var(--ink); }
.process__step { position: relative; }
.process__terminal {
  position: relative; display: grid; place-items: center;
  width: 40px; height: 40px; margin-bottom: 1.15rem;
  border: 2px solid var(--ink); border-radius: 2px; background: var(--paper);
  font-weight: 720; font-stretch: 92%; font-variant-numeric: tabular-nums;
}
.process__title { margin-bottom: 0.4rem; }
.process p { margin: 0; color: var(--ink-soft); }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; gap: 2rem; }
  .process::before { left: 19px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .process__step { padding-left: 64px; }
  .process__terminal { position: absolute; left: 0; top: -0.3rem; }
}

/* About */
.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.about__photo img { width: 100%; border-radius: var(--radius-photo); }
.prose p { max-width: 64ch; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* Testimonials: compact cards, three at a time; when there are more, they page themselves.
   The thin wire under the cards fills up like a timer, then the row moves on by one card. */
.section--quotes { padding-block: clamp(3rem, 6vw, 4.75rem); }
.quotes-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.quotes-head h2 { margin: 0; font-size: var(--t-lg); font-stretch: 112%; }
.quotes-nav { display: flex; align-items: center; gap: 0.5rem; }
.quotes-nav[hidden] { display: none; }
.quotes-nav__btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1.5px solid var(--ink); border-radius: var(--radius-control);
  background: transparent; color: var(--ink); cursor: pointer;
}
.quotes-nav__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; }
.quotes-nav__btn:hover { background: var(--ink); color: #fff; }
.quotes-nav__toggle {
  min-height: 44px; margin-left: 0.5rem; padding: 0 0.25rem; border: 0; background: none;
  color: var(--ink-soft); font: inherit; font-size: var(--t-xs);
  text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer;
}
.quotes-nav__toggle:hover { color: var(--ink); }

.quotes { --per: 3; --gap: clamp(1.25rem, 2.6vw, 2.5rem); }
.quotes__track {
  position: relative;
  display: grid; grid-auto-flow: column; gap: var(--gap);
  grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  margin: 0; padding: 0; list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
}
.js .quotes__track { scrollbar-width: none; }
.js .quotes__track::-webkit-scrollbar { display: none; }
.quote { min-width: 0; scroll-snap-align: start; padding-top: 1rem; border-top: 2px solid var(--ink); }
.quote figure { display: flex; flex-direction: column; height: 100%; margin: 0; }
.quote__text { margin: 0 0 0.9rem; }
.quote__text p { margin: 0; font-size: var(--t-sm); line-height: 1.55; }
.js .quote__text:not(.is-open) p {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7; overflow: hidden;
}
.quote__more {
  align-self: flex-start; min-height: 32px; margin: -0.5rem 0 0.75rem; padding: 0; border: 0; background: none;
  color: var(--signal); font: inherit; font-size: var(--t-xs); font-weight: 620;
  text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer;
}
.quote__more[hidden] { display: none; }
.quote figcaption { margin-top: auto; font-size: var(--t-sm); line-height: 1.35; color: var(--ink); }
.quote figcaption strong { display: block; font-weight: 680; }
.quote figcaption span { font-size: var(--t-xs); color: var(--ink-soft); }

.quotes__wire { position: relative; height: 2px; margin-top: 1.75rem; background: var(--rule); overflow: hidden; }
.quotes:not(.is-rotating) .quotes__wire { display: none; }
.quotes__current { position: absolute; inset: 0; background: var(--signal); transform: scaleX(0); transform-origin: left center; }
.quotes.is-running .quotes__current { animation: quotes-timer var(--interval, 7000ms) linear forwards; }
.quotes.is-paused .quotes__current { animation-play-state: paused; }
@keyframes quotes-timer { to { transform: scaleX(1); } }

@media (max-width: 980px) { .quotes { --per: 2; } }
@media (max-width: 620px) {
  .quotes__track { grid-auto-columns: 86%; }
}

/* Contact + form */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact__title { font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4rem); font-weight: 800; font-stretch: 120%; letter-spacing: -0.03em; line-height: 1; }
.contact__lead { font-size: var(--t-md); line-height: 1.45; color: #C6D1E1; }
.contact__details { display: grid; gap: 1.1rem; margin: 2.25rem 0 0; }
.contact__details dt { font-size: var(--t-xs); font-weight: 600; font-stretch: 82%; color: #9EB0CA; }
.contact__details dd { margin: 0; font-size: var(--t-md); font-weight: 650; font-stretch: 104%; }
.contact__details a { text-decoration-color: rgba(255, 255, 255, 0.45); }
.contact__form { padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: var(--radius-photo); background: var(--sheet); color: var(--ink); }
.contact__form a { color: var(--signal); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.quote-form { display: grid; gap: 1.35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field__label { display: block; margin-bottom: 0.4rem; padding: 0; font-size: var(--t-sm); font-weight: 640; }
.field__optional { font-weight: 400; color: var(--ink-soft); }
.field__input {
  width: 100%; min-height: 48px; padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--field); border-radius: var(--radius-control);
  background: #fff; color: var(--ink);
  font: inherit; font-size: var(--t-base);
}
.field__input::placeholder { color: #8390A2; }
.field__input:focus { border-color: var(--signal); outline: 3px solid rgba(42, 99, 196, 0.3); outline-offset: 0; }
.field__input[aria-invalid="true"] { border-color: var(--error); }
.field__input--area { min-height: 140px; line-height: 1.5; resize: vertical; }
.field__error { margin: 0.4rem 0 0; font-size: var(--t-sm); font-weight: 560; color: var(--error); }
.choice { min-width: 0; margin: 0; padding: 0; border: 0; }
.choice__items { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice__item { position: relative; }
.choice__item input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice__item input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice--chips .choice__item input:checked + span::before {
  content: ""; width: 0.6em; height: 0.32em; margin-right: 0.55em;
  border-left: 2px solid; border-bottom: 2px solid;
  transform: translateY(-0.12em) rotate(-45deg);
}
.choice__item input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }
.field__hint { max-width: 60ch; margin: 0 0 0.6rem; font-size: var(--t-sm); line-height: 1.45; color: var(--ink-soft); }
.captcha__row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.captcha__img { width: 220px; height: 70px; border: 1.5px solid var(--field); border-radius: var(--radius-control); background: #F4F6F7; }
.captcha__input { width: 12rem; font-weight: 650; font-stretch: 110%; letter-spacing: 0.18em; text-transform: uppercase; }
.captcha__refresh {
  display: none; min-height: 44px; padding: 0.4rem 0.2rem;
  border: 0; background: none; color: var(--signal);
  font: inherit; font-size: var(--t-sm); font-weight: 600;
  text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer;
}
.js .captcha__refresh { display: inline-flex; align-items: center; }
.captcha__refresh:hover { text-decoration-thickness: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.check { display: flex; align-items: flex-start; gap: 0.75rem; font-size: var(--t-sm); line-height: 1.45; }
.check input { flex: none; width: 20px; height: 20px; margin: 0.1rem 0 0; accent-color: var(--ink); }
.quote-form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 0.9rem 1rem; border-left: 4px solid var(--error); border-radius: 2px; background: #FDF0EF; }
.form-alert p { margin: 0; }
.form-alert p + p { margin-top: 0.25rem; }
@media (max-width: 560px) { .quote-form__submit .btn { width: 100%; } }

/* Inner page heads */
.page-head { margin-bottom: clamp(2.25rem, 5vw, 3.5rem); padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--rule); }
.page-head__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; }
.page-head__title { max-width: 18ch; font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4rem); font-weight: 800; font-stretch: 120%; letter-spacing: -0.03em; line-height: 1; }
.page-head__title--article { max-width: 24ch; font-size: clamp(2rem, 1.2rem + 2.8vw, 3.4rem); }
.page-head__lead { max-width: 56ch; font-size: var(--t-md); line-height: 1.45; color: var(--ink-soft); }
.page-head .btn { margin-top: 0.5rem; }
.page-head__symbol { color: var(--ink); }
.crumbs { margin-bottom: 1.1rem; font-size: var(--t-sm); color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }
@media (max-width: 760px) { .page-head__symbol { display: none; } .page-head__grid { grid-template-columns: 1fr; } }

/* Articles */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: clamp(2rem, 6vw, 5rem); align-items: start; padding-bottom: var(--section); }
.article-aside { position: sticky; top: 2rem; padding-top: 1rem; border-top: 2px solid var(--ink); font-size: var(--t-sm); }
.article-aside__title { font-size: var(--t-base); font-stretch: 104%; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } }
.prose { max-width: 42rem; }
.article-body p, .article-body li { font-size: 1.125rem; line-height: 1.68; }
.article-body > :first-child { margin-top: 0; }
.article-body h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2rem); }
.article-body h3 { margin-top: 1.8em; }
.article-body--case { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.fig { margin-block: 2.25rem; }
.fig img, .fig-pair img, .fig-grid img { border-radius: var(--radius-photo); }
.fig--wide, .fig-pair, .fig-grid { width: min(60rem, calc(100vw - 2 * var(--gutter))); max-width: none; }
.fig--cover { max-width: 60rem; margin: 0 0 clamp(2.5rem, 5vw, 3.5rem); }
.fig--cover img { width: 100%; }
.fig-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-block: 2.25rem; }
.fig-pair img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.fig-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 1.25rem; margin-block: 2.25rem; }
.fig-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 560px) { .fig-pair { grid-template-columns: 1fr; } }
.pull { margin: 2.5rem 0; padding-left: 1.4rem; border-left: 3px solid var(--ink); }
.pull p { margin: 0; font-size: var(--t-lg); font-weight: 600; font-stretch: 104%; line-height: 1.35; }
.pull footer { margin-top: 0.6rem; font-size: var(--t-sm); color: var(--ink-soft); }
.callout { position: relative; margin: 2rem 0; padding: 1rem 1.25rem 1rem 1.7rem; border: 1.5px solid var(--ink); border-radius: 2px; background: var(--sheet); }
.callout::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--stripe); }
.callout p { margin: 0; font-size: var(--t-base); }
.case-cta { padding-bottom: var(--section); }
.case-cta__inner { max-width: 42rem; padding-top: 2rem; border-top: 2px solid var(--ink); }
.case-cta__title { font-size: var(--t-lg); }
.preview-bar { padding: 0.65rem 0; background: var(--pe-yellow); color: var(--ink); font-weight: 600; }
.preview-bar a { margin-left: 1rem; color: var(--ink); }

.service-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 0.75rem 2rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.service-links a { display: flex; align-items: center; gap: 0.8rem; color: var(--ink); font-weight: 620; text-decoration: none; }
.service-links a:hover span { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; }
.service-links .sym { flex: none; width: 34px; height: 34px; }

.thanks__sym { width: 84px; height: 84px; margin-bottom: 1.5rem; color: var(--ink); }
.thanks__phone { margin-block: 1.5rem; font-size: var(--t-lg); }

/* Footer */
.site-footer { padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.site-footer__call { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; margin-bottom: 2rem; }
.site-footer__ask { max-width: none; margin: 0; font-size: var(--t-md); }
.site-footer__phone {
  color: var(--ink); text-decoration: none;
  font-size: clamp(1.75rem, 1rem + 3vw, 3rem); font-weight: 800; font-stretch: 118%;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.site-footer__phone:hover { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 3px; text-underline-offset: 0.15em; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2.5rem; margin-top: 2rem; font-size: var(--t-sm); color: var(--ink-soft); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin: 0; padding: 0; list-style: none; }
.site-footer__links a { color: var(--ink-soft); }

/* Hozzájárulási sáv (csak ha be van állítva Google-címke) */
.consent {
  position: fixed; right: var(--gutter); bottom: var(--gutter); z-index: 40;
  width: min(26rem, calc(100vw - 2 * var(--gutter)));
  padding: 1rem 1.1rem 1.1rem;
  border: 1.5px solid var(--ink); border-radius: 2px; background: var(--sheet);
  box-shadow: 0 18px 40px -22px rgba(13, 29, 56, 0.55);
}
.consent[hidden] { display: none; }
.consent__title { margin: 0 0 0.35rem; font-size: var(--t-base); font-stretch: 104%; }
.consent__text { margin: 0 0 0.9rem; font-size: var(--t-sm); line-height: 1.45; color: var(--ink-soft); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.consent__actions .btn { flex: 1 1 9rem; }
.linklike { padding: 0; border: 0; background: none; color: var(--ink-soft); font: inherit; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.linklike:hover { text-decoration-thickness: 2px; }

/* Lightbox */
.lightbox { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; margin: 0; padding: 1rem; border: 0; background: transparent; color: #fff; }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
.lightbox::backdrop { background: rgba(9, 19, 36, 0.93); }
.lightbox__figure { display: flex; flex-direction: column; align-items: center; min-height: 0; }
.lightbox__img { width: auto; max-width: min(100%, 1400px); max-height: calc(100vh - 9rem); border-radius: 3px; }
.lightbox__caption { max-width: 60ch; margin-top: 0.75rem; font-size: var(--t-sm); text-align: center; color: #D2DBE7; }
.lightbox__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem; }
.lightbox__btn {
  min-height: 44px; padding: 0.5rem 1rem;
  border: 1.5px solid rgba(255, 255, 255, 0.6); border-radius: var(--radius-control);
  background: transparent; color: #fff;
  font: inherit; font-size: var(--t-sm); font-weight: 600; cursor: pointer;
}
.lightbox__btn:hover { background: #fff; color: var(--ink); }
.lightbox__count { padding-inline: 0.5rem; font-size: var(--t-sm); font-variant-numeric: tabular-nums; color: #B4C1D3; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-delay: 0s !important; }
}
