/*
  Pretanet.tv – vizuális megújítás
  Az _astro/Layout.*.css után töltődik be, és felülírja annak szabályait.
  1) Globális szabályok  2) Nyitóképernyő  3) Szolgáltatások  4) Folyamat
*/

/* ---------- 1. Globális szabályok ---------- */
:root {
  --navy: #253746;
  --navy-2: #2c4254;
  --navy-3: #1f2f3c;
  --mint: #da291c;
  --mint-hover: #e8473b;
  --offwhite: #f0eee9;
  --tally-red: #da291c;
  --text-dark: #253746;
  --text-dark-soft: #3a4d5e;
  --line-dark: #3d5266;
  --font: "Barlow Condensed", system-ui, sans-serif;
  --tech: "Barlow Condensed", "Barlow Condensed", sans-serif;
  --hand: "Barlow Condensed", sans-serif;
  --heading: var(--font);
  --body: var(--font);
}

body {
  font-family: var(--font);
  font-size: 20px;
  line-height: 1.5;
}
h1, h2, h3 {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -.02em;
}
h2 { font-size: 48px; line-height: 1.12; }
.header nav { font-size: 16px; }

/* Betűkeverés: Orbitron a technikai szavakhoz, Amatic SC a kiemelésekhez */
.tech {
  font-family: var(--tech);
  font-size: .86em;
  font-weight: 600;
  letter-spacing: .02em;
}
.handwritten {
  padding: 0 .04em;
  font-family: var(--hand);
  font-size: 1.32em;
  font-weight: 700;
  line-height: .8;
  letter-spacing: .01em;
}
.section-light .handwritten {
  color: var(--navy);
  background: linear-gradient(transparent 52%, var(--mint) 52% 86%, transparent 86%);
}
.section-label { font-size: 16px; }

/* Kiegészítő információ se legyen 16 px-nél kisebb */
.signal-top, .film-meta, .film-watch, .summary-title,
.steps li, .check-options label, .field, .field small, .field-help,
.config-main legend small, .config-summary dt, .config-summary > p, .config-summary > a,
.consent-field, .preview-notice, .attached, .form-status, .field-error,
.text-button, .estimate-note p, .back-link,
.footer > p, .footer > div, .footer button {
  font-size: 16px;
}
.section-heading p, .config-heading p, .contact-grid > div > p, .film p,
.detail-content li, .detail-intro p, .legal p {
  font-size: 20px;
  line-height: 1.5;
}
.choice strong, .config-summary dd, .field input, .field select, .field textarea,
.privacy-dialog p { font-size: 18px; }

/* Gombok: legalább 52 px magasak, szögletesek */
.button {
  min-height: 52px;
  padding: 14px 24px;
  gap: 12px;
  border-radius: 2px;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}
.button.small { min-height: 48px; font-size: 16px; }
.button span { font-size: 20px; }
.header .button { color: var(--navy); background: var(--mint); border-color: var(--mint); }
.header .button:hover { background: var(--mint-hover); }

/* Világos szekciók */
.section-light {
  background: var(--offwhite);
  color: var(--text-dark);
}
.section-light h2, .section-light h3 { color: var(--text-dark); }
.section-light p { color: var(--text-dark-soft); }
.section-light .section-label > span:first-child { color: var(--navy); }
.section-light .section-label > span:last-child { color: #3b5a6b; }
.section-light .section-label i { background: #25374633; }
.section-light .button {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}
.section-light .button:hover { background: #2f4558; border-color: #2f4558; }
.section-light a:focus-visible, .section-light button:focus-visible { outline-color: var(--navy); }

/* ---------- Közös broadcast elemek ---------- */
.monitor {
  border: 1px solid var(--line-dark);
  background: var(--navy-3);
}
.monitor-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding: 0 0 0 16px;
  border-bottom: 1px solid var(--line-dark);
  color: #dfe3e6;
  font-size: 16px;
}
.monitor-tally {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-family: var(--tech);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.monitor-tally > span { overflow: hidden; text-overflow: ellipsis; }
.monitor-tally i {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #6f7f8c;
}
.monitor-tally b {
  padding: 1px 8px;
  border: 1px solid currentColor;
  font-weight: 700;
  letter-spacing: .1em;
}
.monitor.is-live .monitor-tally i { background: var(--tally-red); box-shadow: 0 0 0 4px #da291c33; }
.monitor.is-live .monitor-tally b { color: #ff5a4d; }
.monitor-tc {
  flex-shrink: 0;
  margin-left: auto;
  padding-right: 16px;
  color: var(--mint);
  font-family: var(--tech);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}
.monitor-tc small { margin-right: 8px; color: #9fabb5; font-size: 16px; }

/* Keresőkeret-sarkok */
.viewfinder {
  position: absolute;
  z-index: 1;
  inset: 16px;
  pointer-events: none;
  --c: #ffffffd9;
  --l: 28px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) 2px,
    linear-gradient(var(--c), var(--c)) top left / 2px var(--l),
    linear-gradient(var(--c), var(--c)) top right / var(--l) 2px,
    linear-gradient(var(--c), var(--c)) top right / 2px var(--l),
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) 2px,
    linear-gradient(var(--c), var(--c)) bottom left / 2px var(--l),
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) 2px,
    linear-gradient(var(--c), var(--c)) bottom right / 2px var(--l);
  background-repeat: no-repeat;
}

/* ---------- 2. Nyitóképernyő ---------- */
.hero2 {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  padding: 72px 0 0;
}
.hero2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.hero2-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--mint);
  font-family: var(--tech);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .14em;
}
.hero2-eyebrow > span:not(.rec) { color: #5f8796; }
.rec {
  width: 12px;
  height: 12px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--tally-red);
  animation: rec-blink 1.6s steps(1) infinite;
}
@keyframes rec-blink { 50% { opacity: .25; } }
.hero2 h1 {
  color: #fff;
  font-size: 72px;
  line-height: 1.02;
  letter-spacing: -.035em;
}
.hero2 h1 > span { display: block; margin-top: 4px; }
.hero2 h1 .handwritten {
  display: inline-block;
  margin: 0 .04em;
  color: var(--mint);
  font-size: 1.38em;
  line-height: .7;
  transform: rotate(-3deg) translateY(.04em);
}
.hero2-lead {
  max-width: 540px;
  margin-top: 32px;
  padding-left: 22px;
  border-left: 3px solid var(--mint);
  color: #fff;
  font-size: 21px;
  line-height: 1.55;
}
.hero2-lead .tech { color: var(--mint); }
.hero2-lead .handwritten { color: var(--mint); font-size: 1.5em; }
.hero2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.hero2 .button { gap: 12px; padding-inline: 22px; }
.hero2 .button-outline {
  color: #fff;
  border: 2px solid #fff;
  background: transparent;
}
.hero2 .button-outline:hover { color: var(--navy); background: #fff; }

.hero2-toggle {
  align-self: stretch;
  min-width: 112px;
  padding: 0 16px;
  border-left: 1px solid var(--line-dark);
  color: #fff;
  font-family: var(--tech);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .04em;
}
.hero2-toggle:hover { background: #ffffff12; }

.hero2-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-2);
}
.hero2-media video,
.hero2-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% center;
}
/* A jelenlegi nyitóvideóba beégett fekete sávokat levágjuk */
.hero2-media video { transform: scale(1.3); }

/* Csatornalogó (bug) a jobb felső sarokban */
.bug {
  position: absolute;
  z-index: 2;
  top: 30px;
  right: 34px;
  color: #ffffffcc;
  font-family: var(--tech);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-shadow: 0 1px 6px #0009;
}
.bug b { color: var(--mint); }

/* Hangszintmérő */
.vu {
  position: absolute;
  z-index: 2;
  top: 64px;
  right: 34px;
  bottom: 120px;
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #253746bf;
}
.vu i {
  width: 8px;
  background: linear-gradient(#da291c 0 12%, #ffcd00 12% 30%, var(--mint) 30%);
  clip-path: inset(55% 0 0 0);
  animation: vu 1.1s ease-in-out infinite alternate paused;
}
.vu i + i { animation-duration: .8s; animation-delay: -.3s; }
.monitor.is-live .vu i { animation-play-state: running; }
@keyframes vu {
  0% { clip-path: inset(70% 0 0 0); }
  25% { clip-path: inset(35% 0 0 0); }
  50% { clip-path: inset(55% 0 0 0); }
  75% { clip-path: inset(18% 0 0 0); }
  100% { clip-path: inset(45% 0 0 0); }
}

/* Alsó harmad grafika a három területtel */
.lower-third {
  position: absolute;
  z-index: 2;
  left: 40px;
  bottom: 40px;
  animation: lt-in .7s .4s cubic-bezier(.2, .7, .2, 1) both;
}
.lt-top {
  display: inline-block;
  padding: 4px 12px;
  background: #fff;
  color: var(--navy);
  font-family: var(--tech);
  font-size: 16px;
  font-weight: 700;
}
.lt-tags {
  display: flex;
  margin: 0;
  padding: 10px 18px;
  list-style: none;
  background: var(--mint);
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.lt-tags li + li::before { content: "·"; margin: 0 12px; }
@keyframes lt-in {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: none; }
}
.hero2-play { display: none; }

/* A pultról kiválasztott kártya rövid időre „adásba kerül” */
.service-card.is-pgm { border-color: var(--tally-red); box-shadow: 0 0 0 1px var(--tally-red); }
.service-card.is-pgm .pgm { opacity: 1; }

/* ---------- 3. Szolgáltatások: multiview csempék ---------- */
.services2 { padding: 104px 0; }
.services2-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.services2-head p { font-size: 21px; }
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.service-card {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--navy);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.tile-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 0 0 16px;
  background: var(--navy);
  color: #fff;
  font-family: var(--tech);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .05em;
}
.tile-src { color: var(--mint); white-space: nowrap; }
.tile-scale { color: #c5ccd2; font-family: var(--font); font-weight: 500; letter-spacing: 0; }
.tile-tally {
  align-self: stretch;
  display: grid;
  margin-left: auto;
}
.tile-tally > span {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  padding: 0 14px;
  transition: opacity .2s;
}
.tile-tally .pvw { background: #1f9d6b; color: #fff; }
.tile-tally .pgm { background: var(--tally-red); color: #fff; opacity: 0; }
.service-card:hover, .service-card:focus-within {
  border-color: var(--tally-red);
  box-shadow: 0 0 0 1px var(--tally-red);
}
.service-card:hover .pgm, .service-card:focus-within .pgm { opacity: 1; }

.service-card-media { position: relative; overflow: hidden; }
.service-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .5s;
}
.service-card:hover img { transform: scale(1.04); }
.service-card .viewfinder { inset: 12px; --l: 20px; }
.tile-umd {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 12px;
  padding: 3px 12px;
  background: #253746e6;
  color: #fff;
  font-family: var(--tech);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
}
.service-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px 28px 24px;
}
.service-card h3 {
  color: var(--navy);
  font-family: var(--font);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.service-card-body > p { margin-top: 12px; font-size: 20px; }
.service-card ul {
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}
.service-card li {
  position: relative;
  padding: 9px 0 9px 26px;
  border-top: 1px dashed #25374633;
  color: var(--text-dark);
  font-size: 19px;
  font-weight: 700;
}
.service-card li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--mint);
  box-shadow: inset 0 0 0 2px var(--navy);
}
.service-card .button {
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
}
.service-card-more {
  align-self: flex-start;
  margin-top: 16px;
  color: var(--text-dark);
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.service-card-more:hover { text-decoration-thickness: 2px; }
.services2-note {
  margin-top: 44px;
  text-align: center;
  font-size: 21px;
  font-weight: 700;
}

/* A konfigurátorban megjelenő választott irány */
.config-service {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  margin: 0 0 32px;
  padding: 14px 20px;
  border-left: 4px solid var(--navy);
  background: #25374612;
  color: var(--navy) !important;
  font-size: 18px;
}
.config-service a { font-size: 16px; text-decoration: underline; }

/* ---------- 4. Folyamat: rögzített, görgetésre lépkedő jelút ---------- */
.process2 { background: var(--navy); }
.process2-pin { padding: 96px 0; }
.process2.is-pinned .process2-track { height: 420svh; }
.process2.is-pinned .process2-pin {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  height: 100svh;
  padding: 24px 0;
}
.process2-inner { width: 100%; }
.process2-grid > * { min-width: 0; }
.process2 .section-label { margin-bottom: 28px; }
.process2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.process2 .signal-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(calc(100svh - 160px), 520px);
  margin: 0 auto;
  overflow: visible;
}
.process2 .signal-base {
  fill: none;
  stroke: var(--line-dark);
  stroke-width: 2px;
  stroke-dasharray: 2 8;
  stroke-linecap: round;
}
.signal-line {
  fill: none;
  stroke: var(--mint);
  stroke-width: 4px;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
#signal-dot { fill: var(--mint); }
#signal-dot-halo {
  fill: none;
  stroke: var(--mint);
  stroke-width: 2px;
  transform-box: fill-box;
  transform-origin: center;
  animation: halo 1.4s ease-out infinite;
}
@keyframes halo {
  from { transform: scale(.6); opacity: .8; }
  to { transform: scale(1.6); opacity: 0; }
}
/* Piktogramok: vékony vonalas ikonok, a navy korong eltakarja a jelutat, így a jel „belefut” az eszközbe */
/* Csak az ikon és a feliratok halványulnak, a navy korong mindig teljesen takarja a jelutat */
.process2 .signal-node .pictogram, .process2 .signal-node text { opacity: .4; transition: opacity .35s; }
.process2 .signal-node.active .pictogram, .process2 .signal-node.active text { opacity: 1; }
.process2 .signal-node .node-status { opacity: 0; }
.node-back { fill: var(--navy); }
.node-ring {
  fill: none;
  stroke: var(--mint);
  stroke-width: 2px;
  opacity: 0;
  transform: scale(.85);
  transition: opacity .35s, transform .35s;
}
/* Amikor a jel odaér, a gyűrű egyszer „becsapódik” */
.signal-node.current .node-ring { opacity: 1; transform: none; animation: ring-hit .7s ease-out; }
@keyframes ring-hit {
  0% { transform: scale(.8); stroke-width: 6px; }
  60% { transform: scale(1.08); stroke-width: 2px; }
  100% { transform: none; }
}
.pictogram {
  fill: none;
  stroke: #f0eee9;
  stroke-width: 2.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pictogram .fill { fill: var(--mint); stroke: none; }
/* Kikapcsolt állapot: a jel még nem ért ide */
.pictogram .beam { stroke: #44596c; stroke-dasharray: 3 5; transition: stroke .3s; }
.pictogram .tally { fill: #44596c; stroke: none; transition: fill .2s; }
.pictogram .pgm-win { fill: transparent; stroke: none; transition: fill .2s; }
.pictogram .play { fill: none; transition: fill .2s; }
/* Bekapcsolt állapot: reflektor, REC-tally, PGM-ablak, lejátszás */
.signal-node.active .beam { stroke: var(--mint); }
.signal-node.active .tally { fill: var(--tally-red); animation: rec-blink 1s steps(1) infinite; }
.signal-node.active .pgm-win { fill: var(--tally-red); }
.signal-node.active .play { fill: var(--mint); }
@keyframes rec-blink { 50% { opacity: .25; } }
.node-num { fill: var(--mint); font: 700 20px var(--tech); letter-spacing: .04em; }
.node-label { fill: #dfe3e6; font: 500 17px var(--font); }
.node-status {
  fill: var(--mint);
  font: 700 16px var(--tech);
  letter-spacing: .1em;
  opacity: 0;
  transition: opacity .3s;
}
.node-status.is-red { fill: var(--tally-red); }
.signal-node.active .node-status { opacity: 1; }
.signal-node.active .node-status.is-red:not(.is-steady) { animation: rec-blink 1s steps(1) infinite; }
.process2-meter {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 32px;
  color: #fff;
  font-family: var(--tech);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
}
.process2-meter .tech { color: var(--mint); font-size: 16px; }
.process2-progress {
  position: relative;
  flex: 1;
  height: 4px;
  overflow: hidden;
  background: #2c4254;
}
.process2-progress i {
  position: absolute;
  inset: 0;
  background: var(--mint);
  transform-origin: left;
}
.process2-side h2 { color: #fff; font-size: 48px; }
.process2-side h2 .handwritten { display: inline-block; color: var(--mint); transform: rotate(-2deg); }
.process2-steps {
  position: relative;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.process2-steps::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 2px;
  background: var(--line-dark);
}
.pstep {
  position: relative;
  display: flex;
  gap: 20px;
  width: 100%;
  padding: 14px 0 14px 28px;
  color: #fff;
  text-align: left;
  opacity: .42;
  transition: opacity .3s;
}
.pstep::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 2px;
  background: transparent;
  transition: background .3s;
}
.pstep:hover { opacity: .75; }
.pstep.active { opacity: 1; }
.pstep.active::before { background: var(--mint); }
.pstep-num {
  flex-shrink: 0;
  min-width: 30px;
  padding-top: 3px;
  color: var(--mint);
  font-family: var(--tech);
  font-size: 18px;
  font-weight: 700;
}
.pstep-text { display: flex; flex-direction: column; gap: 4px; }
.pstep strong { font-size: 24px; line-height: 1.25; }
.pstep-text > span { color: #dfe3e6; font-size: 18px; }

/* Konfigurátor: vajszínű háttér az erős mentazöld helyett */
.config-section {
  --bg: #f0eee9;
  --paper: #f0eee9;
  --muted: #44596c;
  --line: #d6d2c8;
  background: var(--bg);
}
.config-section .steps span, .config-section .choice, .config-section .check-options label,
.config-section .field input, .config-section .field select { border-color: #d6d2c8; }
.config-section .choice:has(input:checked), .config-section .check-options label:has(input:checked) {
  background: #da291c3d;
  border-color: var(--navy);
}
.config-section .field input, .config-section .field select { background: #fff; }
.config-section .field select option { background: #fff; }
.config-section .field input::placeholder { color: #5f6d78; }
.config-heading h2 em, .config-heading .handwritten { color: var(--navy); }


/* ---------- 5. Referenciák: visszajátszás-csempék ---------- */
.refs2 { padding: 104px 0; background: var(--navy); color: #fff; }
.refs2-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.refs2-head h2 { color: #fff; font-size: 48px; }
.refs2-head h2 .handwritten { display: inline-block; color: var(--mint); transform: rotate(-2deg); }
.refs2-head p { color: #dfe3e6; font-size: 20px; }
.ref-cover {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  cursor: pointer;
}
.ref-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .5s;
}
.ref-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, #25374699); }
.ref-cover:hover img { transform: scale(1.04); }
.ref-cover .viewfinder { inset: 12px; --l: 20px; z-index: 1; }
.ref-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  padding: 0 22px 0 8px;
  background: var(--mint);
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  transform: translate(-50%, -50%);
  transition: transform .2s;
}
.ref-play i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding-left: 3px;
  background: var(--navy);
  color: var(--mint);
  font-size: 16px;
  font-style: normal;
}
.ref-cover:hover .ref-play, .ref-cover:focus-visible .ref-play { transform: translate(-50%, -50%) scale(1.06); }
.ref-cover:focus-visible { outline: 3px solid var(--mint); outline-offset: -3px; }
/* A feladat (IN) és a megoldás (OUT), mint egy jelút be- és kimenete */
.ref-facts { margin: 22px 0 24px; }
.ref-facts > div { padding: 14px 0; border-top: 1px dashed #3d5266; }
.ref-facts dt { display: flex; gap: 10px; align-items: center; color: #fff; font-size: 18px; font-weight: 700; }
.ref-facts dt .tech {
  min-width: 46px;
  padding: 1px 6px;
  border: 1px solid var(--mint);
  color: var(--mint);
  font-size: 16px;
  letter-spacing: .08em;
  text-align: center;
}
.ref-facts > div + div dt .tech { border-color: var(--tally-red); background: var(--tally-red); color: #fff; }
.ref-facts dd { margin: 8px 0 0; color: #dfe3e6; font-size: 18px; }
.ref-more {
  align-self: flex-start;
  margin-top: auto;
  color: var(--mint);
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.refs2-cta { margin-top: 48px; color: #fff; font-size: 24px; font-weight: 700; text-align: center; }
.refs2-cta a { color: var(--mint); }
.refs2-cta .handwritten { font-size: 1.5em; }

/* ---------- 6. Kapcsolat: két ember és egy rövid űrlap ---------- */
.contact2 { padding: 104px 0; border-top: 1px solid #34495b; background: var(--navy); color: #fff; }
.contact2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.contact2 h2 { color: #fff; font-size: 60px; line-height: 1.05; }
.contact2 h2 .handwritten { display: inline-block; color: var(--mint); transform: rotate(-2deg); }
.contact2-lead { margin-top: 18px; color: #dfe3e6; font-size: 22px; }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.person { border: 2px solid #34495b; background: var(--navy-3); }
/* Portré helye: amíg nincs saját fotó, monogram a keresőkeretben */
.person-photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: radial-gradient(circle at 50% 38%, #0f3a52, var(--navy-3) 70%);
}
.person-initial { color: #da291c33; font: 800 120px/1 var(--tech); }
.person-photo .viewfinder { inset: 12px; --l: 18px; }
.person-umd {
  position: absolute;
  left: 50%;
  bottom: 12px;
  padding: 2px 10px;
  background: #253746e6;
  color: var(--mint);
  font: 600 16px var(--tech);
  letter-spacing: .08em;
  transform: translateX(-50%);
}
.person-body { padding: 18px 20px 20px; }
.person-body h3 { color: #fff; font-family: var(--hand); font-size: 44px; font-weight: 700; line-height: 1; }
.person-role { margin-top: 4px; color: #c5ccd2; font-size: 16px; }
.person-mail {
  display: inline-block;
  margin-top: 10px;
  color: var(--mint);
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
/* Az űrlap világos panelen ül, hogy a sötét szekcióban is kiemelkedjen */
.contact2-form { border: 2px solid #34495b; background: #1f2f3c; color: #fff; }
.contact2-form #contact-form { padding: 0 32px 32px; }
.contact-form-bar { margin: 0 -32px 28px; border-bottom: 1px solid #34495b; background: var(--navy-3); }
.contact-form-bar .monitor-tally i { background: var(--mint); }
.contact2-form h3 { margin-bottom: 20px; color: #fff; font-size: 30px; }
.contact2-form .field { display: block; color: #fff; font-size: 16px; font-weight: 700; }
.contact2-form .field input, .contact2-form .field textarea { display: block; width: 100%; margin-top: 8px; }
.contact2-form .field small { display: inline; margin-left: 6px; color: #c5ccd2; font-size: 16px; font-weight: 400; }
.contact2-form .field input, .contact2-form .field textarea {
  min-height: 52px;
  border: 1px solid #fff;
  border-radius: 2px;
  background: #fff;
  color: var(--navy);
  font-size: 18px;
  font-weight: 400;
}
.contact2-form .field input:focus, .contact2-form .field textarea:focus { outline: 3px solid var(--mint); outline-offset: 1px; }
.contact2-form .field input::placeholder, .contact2-form .field textarea::placeholder { color: #5f6d78; }
.contact2-form .consent-field { display: flex; gap: 10px; align-items: flex-start; color: #dfe3e6; font-size: 16px; }
.contact2-form .consent-field a { color: var(--mint); }
.contact2-form .consent-field input { margin-top: 4px; accent-color: var(--mint); }
.contact2-form .attached, .contact2-form .form-status.is-success { color: var(--mint); font-size: 16px; }
.contact2-form .form-status.is-error { background: #da291c1f; color: #ffb4ab; }
.contact2-form .button { width: 100%; min-height: 52px; justify-content: space-between; border-color: var(--mint); background: var(--mint); color: var(--navy); font-size: 18px; }
.contact2-form .button:hover { border-color: var(--mint-hover); background: var(--mint-hover); }


.handwritten.is-red { color: var(--tally-red) !important; }

/* ---------- Nyitókép: egy képernyőre fér, a monitor balról beúszik a háttérbe ---------- */
.hero2 { padding-top: 44px; }
.hero2 .hero2-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.hero2-lead { margin-top: 24px; }
.hero2-actions { margin-top: 28px; }
.hero2 .button { padding-inline: 18px; }
.hero2 .lower-third { right: 76px; }
.hero2 .hero2-media { aspect-ratio: 16 / 9; }
.hero2 .monitor {
  border: 1px solid;
  border-left: 0;
  border-image: linear-gradient(90deg, transparent, var(--line-dark) 40%) 1;
  background: transparent;
}
.hero2 .monitor-bar {
  border-bottom: 1px solid;
  border-image: linear-gradient(90deg, transparent, var(--line-dark) 40%) 1;
  background: linear-gradient(90deg, transparent, var(--navy-3) 45%);
}
.hero2-media::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 55%;
  background: linear-gradient(90deg, var(--navy) 0, var(--navy) 6%, #253746cc 30%, #2537464d 65%, transparent);
  pointer-events: none;
}
/* A keresőkeret bal sarkai nem rajzolnak éles szélt az átúszó oldalon */
.hero2 .hero2-media .viewfinder {
  -webkit-mask: linear-gradient(90deg, transparent 35%, #000 55%);
  mask: linear-gradient(90deg, transparent 35%, #000 55%);
}
@keyframes cut-in { from { transform: scale(1.06); } to { transform: none; } }

/* T-bar csúszka: kiválasztja a közvetítés méretét, és a megfelelő kártyára vágja a képet */
.fader {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 40px;
  align-items: end;
  margin-top: 32px;
  padding-bottom: 28px;
}
.fader-title { grid-column: 1 / -1; color: #fff; font-size: 20px; font-weight: 700; }
.fader-title .tech { margin-right: 10px; color: var(--mint); font-size: 16px; letter-spacing: .08em; }
.fader-title .handwritten { color: var(--mint); }
.fader-rail { position: relative; }
#hero2-fader {
  display: block;
  width: 100%;
  height: 44px;
  margin: 0;
  background: transparent;
  cursor: grab;
  -webkit-appearance: none;
  appearance: none;
}
#hero2-fader:active { cursor: grabbing; }
#hero2-fader::-webkit-slider-runnable-track {
  height: 14px;
  border-top: 2px solid var(--line-dark);
  background: repeating-linear-gradient(90deg, var(--line-dark) 0 1px, transparent 1px 24px);
}
#hero2-fader::-moz-range-track {
  height: 12px;
  border-top: 2px solid var(--line-dark);
  background: repeating-linear-gradient(90deg, var(--line-dark) 0 1px, transparent 1px 24px);
}
#hero2-fader::-webkit-slider-thumb {
  width: 22px;
  height: 40px;
  margin-top: -21px;
  border: 0;
  border-radius: 2px;
  background: linear-gradient(var(--mint) 0 0) center / 100% 4px no-repeat, #fff;
  box-shadow: 0 0 0 4px #da291c40, 0 6px 16px #0008;
  -webkit-appearance: none;
  appearance: none;
}
#hero2-fader::-moz-range-thumb {
  width: 22px;
  height: 40px;
  border: 0;
  border-radius: 2px;
  background: linear-gradient(var(--mint) 0 0) center / 100% 4px no-repeat, #fff;
  box-shadow: 0 0 0 4px #da291c40, 0 6px 16px #0008;
}
#hero2-fader:focus-visible { outline: 2px solid var(--mint); outline-offset: 6px; }
.fader-stops {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.fader-stops li:nth-child(2) { text-align: center; }
.fader-stops li:nth-child(3) { text-align: right; }
.fader-stops button {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  color: #c5ccd2;
  text-align: inherit;
  transition: color .2s;
}
.fader-stops b {
  font-family: var(--tech);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.fader-stops span { font-size: 16px; }
.fader-stops button:hover, .fader-stops button.is-on { color: #fff; }
.fader-stops button.is-on b { color: var(--mint); }
.fader-go {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  margin-bottom: 30px;
  padding: 0 22px;
  border: 2px solid var(--mint);
  border-radius: 2px;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.fader-go .tech {
  padding: 2px 8px;
  background: var(--tally-red);
  color: #fff;
  font-size: 16px;
  letter-spacing: .08em;
}
.fader-go:hover { background: var(--mint); color: var(--navy); }

/* ---------- Referenciák: lejátszó + rundown ---------- */
.refs2-head p strong { color: #fff; }
.playout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.playout-main { border: 2px solid #34495b; background: var(--navy-3); }
.playout-main .monitor-bar { background: #1f2f3c; }
.playout-main .monitor-tally i { background: #1f9d6b; }
.playout-main.is-cut #po-img { animation: cut-in .45s ease-out; }
.playout-info { padding: 26px 28px 28px; }
.playout-info h3 { color: #fff; font-family: var(--hand); font-size: 52px; font-weight: 700; line-height: 1; }
.playout-info .ref-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.rundown { border: 2px solid #34495b; background: #031326; }
.rundown-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  background: #1f2f3c;
  color: #c5ccd2;
  font-size: 16px;
}
.rundown-head .tech { color: var(--mint); font-size: 16px; font-weight: 700; letter-spacing: .1em; }
.rundown-list { max-height: 620px; margin: 0; padding: 0; overflow-y: auto; list-style: none; }
.rundown-list li + li { border-top: 1px solid #34495b; }
.rd-item {
  position: relative;
  display: grid;
  grid-template-columns: 30px 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 14px 16px 14px 18px;
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: background .2s;
}
.rd-item::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: transparent; }
.rd-item:hover { background: #1f2f3c; }
.rd-item:focus-visible { outline: 2px solid var(--mint); outline-offset: -2px; }
.rd-num { color: #6f7f8c; font: 700 16px var(--tech); }
.rd-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.rd-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rd-text b { font-size: 18px; line-height: 1.25; }
.rd-text span { color: #c5ccd2; font-size: 16px; }
.rd-state { grid-column: 3; color: #6f7f8c; font: 700 16px var(--tech); letter-spacing: .08em; }
.rd-state::after { content: "CUE"; }
.rd-item[aria-pressed="true"] { background: #1f2f3c; }
.rd-item[aria-pressed="true"]::before { background: var(--tally-red); }
.rd-item[aria-pressed="true"] .rd-num { color: var(--tally-red); }
.rd-item[aria-pressed="true"] .rd-state { color: var(--tally-red); }
.rd-item[aria-pressed="true"] .rd-state::after { content: "● ON AIR"; }

@media (width <= 1100px) {
  .hero2 h1 { font-size: 60px; }
  .hero2-grid { gap: 40px; }
  .service-cards { gap: 18px; }
  .service-card-body { padding: 22px; }
  .lower-third { left: 28px; bottom: 28px; }
  .lt-tags { font-size: 16px; }
  .process2-grid { gap: 36px; }
  .process2-side h2 { font-size: 40px; }
}

@media (width <= 900px) {
  .refs2-head { grid-template-columns: 1fr; gap: 20px; }
  .playout { grid-template-columns: minmax(0, 1fr); }
  .contact2-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero2-grid, .hero2 .hero2-grid { grid-template-columns: minmax(0, 1fr); }
  .services2-head { grid-template-columns: 1fr; gap: 20px; }
  .service-cards { grid-template-columns: 1fr; max-width: 640px; gap: 28px; }
  .process2-grid { grid-template-columns: minmax(0, 1fr); }
  .process2-side { order: -1; }
}

@media (width <= 700px) {
  body { font-size: 18px; }
  h2, .section-heading h2, .config-heading h2, .contact-grid h2, .process2-side h2 { font-size: 32px; }
  .section-heading p, .config-heading p, .contact-grid > div > p, .film p,
  .detail-content li, .detail-intro p, .legal p { font-size: 18px; }
  .section-label { font-size: 16px; }
  /* Mobilon a gombok teljes szélességűek */
  main .button { width: 100%; justify-content: space-between; }
  .config-actions { flex-wrap: wrap; gap: 12px; }

  .hero2 { padding-top: 36px; }
  .hero2-eyebrow { margin-bottom: 18px; letter-spacing: .1em; }
  .hero2 h1 { font-size: 40px; line-height: 1.08; }
  .hero2-lead { margin-top: 24px; padding-left: 16px; font-size: 18px; }
  .hero2-actions { flex-direction: column; margin-top: 28px; }

  /* Mobilon kb. 220 px magas állókép lejátszógombbal */
  .monitor-bar { min-height: 44px; gap: 12px; padding-left: 12px; }
  .monitor-tc { padding-right: 12px; }
  .hero2-toggle, .vu, .bug { display: none; }
  .hero2-media, .hero2 .hero2-media { aspect-ratio: auto; height: 220px; }
  .hero2-media video { display: none; }
  .hero2-media::after { content: ""; position: absolute; inset: 0; background: #25374659; }
  .viewfinder { inset: 12px; }
  .hero2-play {
    position: absolute;
    z-index: 3;
    inset: 0 0 52px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 1px 8px #000a;
  }
  .hero2-play-icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    padding-left: 4px;
    background: var(--mint);
    color: var(--navy);
    font-size: 22px;
    text-shadow: none;
  }
  .lower-third, .hero2 .lower-third { left: 12px; right: 12px; bottom: 12px; }
  .lt-top { display: none; }
  .lt-tags { justify-content: center; padding: 8px 4px; font-size: 16px; letter-spacing: 0; }
  .lt-tags li + li::before { margin: 0 6px; }

  .fader { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 32px; padding-bottom: 32px; }
  .fader-title { font-size: 18px; }
  .fader-stops b { font-size: 16px; line-height: 1.3; letter-spacing: 0; }
  .fader-stops span { display: none; }
  .fader-go { justify-content: space-between; margin: 8px 0 0; white-space: normal; }
  .hero2-media::before { display: none; }
  .hero2 .hero2-media .viewfinder { -webkit-mask: none; mask: none; }
  .hero2 .monitor { border-left: 1px solid; border-image: none; border-color: var(--line-dark); }
  .hero2 .monitor-bar { border-image: none; border-color: var(--line-dark); background: var(--navy-3); }

  .services2 { padding: 64px 0; }
  .refs2, .contact2 { padding: 64px 0; }
  .refs2-head { margin-bottom: 32px; }
  .refs2-head h2 { font-size: 32px; }
  .refs2-head p { font-size: 18px; }
  .playout-info { padding: 22px 18px; }
  .playout-info h3 { font-size: 42px; }
  .playout-info .ref-facts { grid-template-columns: minmax(0, 1fr); }
  .rd-item { grid-template-columns: 26px 88px minmax(0, 1fr); gap: 10px; padding: 12px 12px 12px 14px; }
  .refs2-cta { font-size: 20px; }
  .contact2 h2 { font-size: 40px; }
  .contact2-lead { font-size: 18px; }
  .people { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 32px; }
  .person { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; }
  .person-photo { aspect-ratio: 1; height: 100%; }
  .person-umd { display: none; }
  .person-photo .viewfinder { inset: 8px; --l: 12px; }
  .person-initial { font-size: 56px; }
  .person-body { padding: 14px; }
  .person-body h3 { font-size: 36px; }
  .contact2-form #contact-form { padding: 0 18px 22px; }
  .contact-form-bar { margin: 0 -18px 22px; }
  .contact2-form h3 { font-size: 24px; }
  .services2-head { margin-bottom: 32px; }
  .services2-head p { font-size: 18px; }
  .service-card-body { padding: 22px 18px; }
  .service-card-body > p { font-size: 18px; }
  .service-card li { font-size: 18px; }
  .service-card .button { padding-inline: 20px; }
  .services2-note { margin-top: 32px; font-size: 18px; }

  .process2-pin { padding: 64px 0; }
  .pstep { padding-left: 20px; gap: 14px; }
  /* Mobilon a lépéslista fölötte már számozza az állomásokat */
  .node-num, .node-label, .node-status { display: none; }
  .pstep strong { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .lower-third, .rec, #signal-dot-halo, .vu i, .node-ring, .node-status, .pictogram .tally { animation: none !important; }
  .service-card:hover img { transform: none; }
}

/* ---------- Desktop: minden szekció beférjen egy képernyőbe (1440×900-ra hangolva) ---------- */
@media (min-width: 901px) {
  .section-label { margin-bottom: 20px; }

  /* Megoldásaink */
  .services2 { padding: 40px 0 32px; }
  .services2-head { margin-bottom: 24px; gap: 40px; }
  .services2-head h2 { font-size: 44px; }
  .services2-head p { font-size: 20px; }
  .service-card img { aspect-ratio: 3 / 1; }
  .service-card-body { padding: 18px 22px 18px; }
  .service-card-body > p { margin-top: 6px; font-size: 18px; line-height: 1.4; }
  .service-card ul { margin: 12px 0 16px; }
  .service-card li { padding: 5px 0 5px 24px; font-size: 18px; }
  .service-card li::before { top: 13px; }
  .service-card-more { margin-top: 10px; }
  .services2-note { margin-top: 20px; font-size: 20px; }

  /* Munkáink */
  .refs2 { padding: 40px 0 32px; }
  .refs2-head { margin-bottom: 24px; }
  .refs2-head h2 { font-size: 44px; }
  .refs2-head p { font-size: 18px; }
  .playout .ref-cover img { aspect-ratio: 5 / 2; }
  .playout-info { padding: 16px 22px 18px; }
  .playout-info h3 { font-size: 40px; }
  .playout-info .ref-facts { margin: 10px 0 12px; }
  .ref-facts > div { padding: 10px 0; }
  .ref-facts dd { margin-top: 4px; line-height: 1.4; }
  .rundown-list { max-height: 520px; }
  .rd-item { padding-block: 12px; }
  .refs2-cta { margin-top: 14px; font-size: 20px; }

  /* Konfigurátor: tömör összegzés */
  .config-section { padding: 32px 0 28px; }
  .config-heading { margin-bottom: 4px; }
  .config-heading h2 { font-size: 44px; }
  .config-service { margin-bottom: 16px; padding-block: 10px; }
  .config-layout { grid-template-columns: minmax(0, 1fr) 400px; }
  .config-heading h2 br { display: none; }
  .config-step .choices.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .config-step .choice { padding: 10px 30px 10px 14px; }
  .config-step .check-options { gap: 6px; }
  .config-step fieldset.spaced { margin-top: 14px; padding-top: 0; border-top: 0; }
  .config-step legend { margin-bottom: 10px; }
  .config-actions { margin-top: 16px; }
  .config-heading p { max-width: 520px; }
  .config-step .check-options label { padding-block: 6px; }
  #summary-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
  #summary-list > div { padding: 7px 0; }
  #summary-list dt { font-size: 16px; }
  #summary-list dd { margin-top: 0; font-size: 18px; line-height: 1.3; }

  /* Kapcsolat: alacsonyabb névjegyek, rövidebb űrlap */
  .contact2 { padding: 40px 0 32px; }
  .contact2 h2 { font-size: 52px; }
  .people { gap: 16px; margin-top: 28px; }
  .person-photo { aspect-ratio: 16 / 10; }
  .person-initial { font-size: 88px; }
  .person-body { padding: 14px 18px 16px; }
  .contact-form-bar { margin-bottom: 18px; }
  .contact2-form h3 { margin-bottom: 12px; font-size: 26px; }
  .contact2-form .field { margin-bottom: 12px; }
  .contact2-form .field textarea { min-height: 88px; }
  .contact2-form .consent-field { margin: 4px 0 8px; }
}

/* ---------- Szolgáltatásoldalak: egységes felépítés (brief 6. pont) ---------- */
.sp h2 { font-size: 44px; line-height: 1.1; }
.sp h2 .handwritten { display: inline-block; transform: rotate(-2deg); }
.sp .section-label { margin-bottom: 20px; }
.sp-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 36px;
}
.sp-head p { font-size: 20px; }

/* 1. Nyitó: szöveg és PGM monitor */
.sp-hero { padding: 40px 0 64px; background: var(--navy); color: #fff; }
.sp-hero .back-link { display: inline-block; margin-bottom: 24px; color: #c5ccd2; font-size: 16px; }
.sp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}
.sp-hero h1 { color: #fff; font-size: 64px; line-height: 1.02; letter-spacing: -.03em; }
.sp-hero h1 > span { display: block; margin-top: 10px; color: #dfe3e6; font-size: 32px; font-weight: 500; letter-spacing: 0; }
.sp-hero h1 .handwritten { color: var(--mint); font-size: 1.5em; }
.sp-intro {
  max-width: 560px;
  margin-top: 24px;
  padding-left: 20px;
  border-left: 3px solid var(--mint);
  font-size: 20px;
}
.sp-hero .hero2-actions { margin-top: 28px; }
.sp-hero .button-outline { border: 2px solid #fff; background: transparent; color: #fff; }
.sp-hero .button-outline:hover { background: #fff; color: var(--navy); }
.sp-monitor .monitor-tally i { background: var(--tally-red); animation: rec-blink 1.6s steps(1) infinite; }
.sp-monitor .monitor-tally b { color: var(--tally-red); }
.sp-media { position: relative; overflow: hidden; }
.sp-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.sp-media .viewfinder { inset: 16px; }

/* 2. Kinek ajánljuk: három tipikus helyzet */
.sp-who { padding: 64px 0; }
.sp-who .handwritten { color: var(--navy); }
.sp-situs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.sp-situ { padding: 26px 26px 28px; border: 2px solid var(--navy); background: #fff; }
.sp-tag { display: inline-block; padding: 2px 8px; background: var(--navy); color: var(--mint); font: 700 16px var(--tech); letter-spacing: .06em; }
.sp-situ h3 { margin-top: 16px; color: var(--navy); font-family: var(--hand); font-size: 44px; line-height: 1; }
.sp-situ p { margin-top: 10px; font-size: 18px; }

/* 3. A megoldás: alapelemek és kiegészítők (keverőpult-gombokként) */
.sp-kit { padding: 64px 0; background: var(--navy); color: #fff; }
.sp-kit h2 { color: #fff; }
.sp-kit h2 .handwritten { color: var(--mint); }
.sp-kit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.sp-includes { margin: 28px 0 0; padding: 0; list-style: none; }
.sp-includes li {
  position: relative;
  padding: 14px 0 14px 34px;
  border-top: 1px dashed #3d5266;
  font-size: 20px;
  font-weight: 700;
}
.sp-includes li::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  width: 14px;
  height: 14px;
  background: var(--mint);
}
.sp-extras > p { margin-top: 14px; color: #dfe3e6; font-size: 18px; }
.sp-keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.sp-keys li {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid #3d5266;
  border-bottom-width: 4px;
  border-radius: 3px;
  background: linear-gradient(#2c4254, #061a30);
  font-size: 18px;
  font-weight: 700;
}
.sp-keys i { flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%; background: #1f9d6b; box-shadow: 0 0 8px #1f9d6b; }

/* 4. Mit kell biztosítani / szakmai egyeztetés */
.sp-req { padding: 64px 0; background: #f0eee9; color: var(--navy); }
.sp-req h2 { color: var(--navy); }
.sp-req .handwritten { color: var(--navy); }
.sp-reqs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--navy); }
.sp-reqs li { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 8px 0; }
.sp-reqs li + li { padding-left: 22px; border-left: 1px solid #d6d2c8; }
.sp-num { color: var(--tally-red); font: 700 22px var(--tech); }
.sp-reqs h3 { color: var(--navy); font-size: 22px; }
.sp-reqs p { margin-top: 6px; color: #44596c; font-size: 18px; }

/* 5. Esettanulmány */
.sp-case { padding: 64px 0; background: var(--navy); color: #fff; }
.sp-case-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.sp-case-grid .ref-cover { border: 2px solid #34495b; }
.sp-case h2 { color: #fff; font-family: var(--hand); font-size: 56px; line-height: 1; }
.sp-case .ref-facts { margin: 20px 0 24px; }

/* 6. GYIK */
.sp-faq { padding: 64px 0; }
.sp-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; }
.sp-faq h2 .handwritten { color: var(--navy); }
.sp-faq-grid > div > p { margin-top: 16px; font-size: 20px; }
.sp-faq-list details { border-top: 2px solid var(--navy); }
.sp-faq-list details:last-child { border-bottom: 2px solid var(--navy); }
.sp-faq-list summary {
  position: relative;
  padding: 18px 48px 18px 0;
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.sp-faq-list summary::-webkit-details-marker { display: none; }
.sp-faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  color: var(--tally-red);
  font: 700 28px var(--tech);
  transform: translateY(-50%);
}
.sp-faq-list details[open] summary::after { content: "–"; }
.sp-faq-list summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.sp-faq-list details p { padding: 0 48px 20px 0; font-size: 18px; }

/* 7. Kapcsolat */
.sp-cta { padding: 72px 0; background: var(--navy); color: #fff; text-align: center; }
.sp-cta h2 { color: #fff; font-size: 48px; }
.sp-cta h2 .handwritten { color: var(--mint); }
.sp-cta p { margin-top: 12px; color: #dfe3e6; font-size: 20px; }
.sp-cta .hero2-actions { justify-content: center; margin-top: 28px; }
.sp-cta .button-outline { border: 2px solid #fff; background: transparent; color: #fff; }

@media (width <= 900px) {
  .sp-hero-grid, .sp-head, .sp-kit-grid, .sp-case-grid, .sp-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sp-situs { grid-template-columns: minmax(0, 1fr); }
  .sp-reqs { grid-template-columns: minmax(0, 1fr); }
  .sp-reqs li + li { padding-left: 0; border-left: 0; border-top: 1px solid #d6d2c8; }
}
@media (width <= 700px) {
  .sp h2, .sp-cta h2 { font-size: 32px; }
  .sp-hero { padding: 28px 0 48px; }
  .sp-hero h1 { font-size: 40px; }
  .sp-hero h1 > span { font-size: 24px; }
  .sp-intro { font-size: 18px; }
  .sp-hero .hero2-actions { flex-direction: column; }
  .sp-who, .sp-kit, .sp-req, .sp-case, .sp-faq { padding: 48px 0; }
  .sp-head { gap: 12px; margin-bottom: 24px; }
  .sp-head p, .sp-faq-grid > div > p, .sp-cta p { font-size: 18px; }
  .sp-situ h3 { font-size: 38px; }
  .sp-includes li { font-size: 18px; }
  .sp-keys { grid-template-columns: minmax(0, 1fr); }
  .sp-case h2 { font-size: 44px; }
  .sp-faq-list summary { font-size: 18px; }
  .sp-cta { padding: 56px 0; }
}

/* ---------- Konfigurátor: költségkeret, ajánlatkérés, összegzés ---------- */
.config-main h3 { margin-bottom: 8px; }
.config-step .field-help { margin-bottom: 18px; font-size: 16px; }
.choice-help strong::before { content: "★ "; color: var(--navy); }
.budget-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.budget-amount { display: block; max-width: 420px; margin-top: 14px; color: var(--navy); font-size: 16px; font-weight: 700; }
.budget-amount[hidden] { display: none; }
.budget-amount small { display: block; margin-top: 6px; color: var(--muted); font-size: 16px; font-weight: 400; }
.unit-input { display: flex; align-items: stretch; margin-top: 8px; }
.config-section .unit-input input { flex: 1; min-width: 0; margin: 0; border-right: 0; font-size: 18px; font-variant-numeric: tabular-nums; }
.unit-input > span {
  display: grid;
  place-items: center;
  padding: 0 14px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

#config-form .field { display: block; margin-bottom: 14px; color: var(--navy); font-size: 16px; font-weight: 700; }
#config-form .field small { color: var(--muted); font-size: 16px; font-weight: 400; }
#config-form .field input { width: 100%; margin-top: 6px; }
#config-form .field-grid { gap: 0 16px; }
#config-form .consent-field { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; color: var(--muted); font-size: 16px; }
#config-form .consent-field input { margin-top: 3px; accent-color: var(--navy); }
.config-submit { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.config-submit .button { min-height: 52px; }
.config-submit .button:disabled { opacity: .7; cursor: progress; }
.form-status { margin-top: 12px; font-size: 16px; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.is-error { padding: 12px 14px; border-left: 4px solid var(--tally-red); background: #da291c14; color: #9c1f17; }
.form-status.is-error a { color: inherit; text-decoration: underline; }
.form-status.is-success { color: #10744d; }

.config-done { padding: 0 0 8px; outline: none; }
.config-done[hidden] { display: none; }
.config-done .monitor-bar { margin-bottom: 22px; background: var(--navy); color: #fff; }
.config-done .monitor-tally i { background: var(--tally-red); animation: rec-blink 1.6s steps(1) infinite; }
.config-done h3 { font-size: 36px; }
.config-done p { max-width: 560px; font-size: 18px; }
.config-done-id { margin-top: 10px; font-family: var(--tech); font-size: 16px !important; letter-spacing: .06em; }

.config-actions[hidden] { display: none; }
.config-personal {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  margin-top: 10px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.config-personal:hover { text-decoration-thickness: 2px; }

#summary-details > summary { display: none; list-style: none; }
#summary-details > summary::-webkit-details-marker { display: none; }
#summary-details > p { margin-top: 18px; font-size: 16px; }
#summary-list .is-empty dd { opacity: .55; }
#summary-count { font-family: var(--tech); font-size: 16px; font-weight: 600; }

@media (width <= 900px) {
  .config-summary { padding: 0; }
  #summary-details > summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 52px;
    padding: 0 18px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
  }
  #summary-details > summary span::after { content: " ▾"; }
  #summary-details[open] > summary span::after { content: " ▴"; }
  #summary-details > .summary-title { display: none; }
  #summary-details > dl, #summary-details > p { padding: 0 18px; }
  #summary-details > p { padding-bottom: 18px; }
}
@media (width <= 700px) {
  .budget-choices { grid-template-columns: minmax(0, 1fr); }
  .config-submit .button { width: 100%; justify-content: center; }
  .config-done h3 { font-size: 30px; }
}

/* Asztalon a helyszín-lépés kérdései egymás mellett, hogy egy képernyőre férjen */
.config-actions .config-personal { margin: 0 0 0 auto; }
.config-actions .config-personal + .button { margin-left: 24px; }
@media (min-width: 901px) {
  .config-step[data-step="2"]:not([hidden]) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 0 28px;
    align-items: start;
  }
  .config-step[data-step="2"] > h3, .config-step[data-step="2"] > .field-grid { grid-column: 1 / -1; }
  .config-step[data-step="2"] .choices.compact { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .config-step[data-step="2"] .budget-amount { max-width: none; margin-top: 12px; }
}
@media (width <= 700px) {
  .config-actions .config-personal { order: 3; width: 100%; margin: 0; }
  .config-actions .config-personal + .button { margin-left: auto; }
}
@media (min-width: 901px) {
  .config-heading { gap: 40px; }
  .config-heading h2 { font-size: 40px; white-space: nowrap; }
  .config-heading p { max-width: 440px; }
  .config-section .field small { display: inline; margin-left: 6px; }
  .config-section .field-grid .field input { margin-top: 6px; }
}
@media (min-width: 901px) {
  .config-section .field-grid .field { display: block; }
  .config-section .field-grid .field input { display: block; width: 100%; }
  .config-step[data-step="2"] legend { font-size: 22px; }
}
