/* socialpro.si — SocialPro arculat (socialpro.hu design/DESIGN-SYSTEM.md alapján) */
@font-face { font-family: "Geist"; src: url("/assets/fonts/GeistSans-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0A0A0A;       /* háttér (neutral-50) */
  --raised: #141414;    /* emelt felület (neutral-100) */
  --surface: #1F1F1F;   /* kártya (neutral-200) */
  --line: #2A2A2A;      /* vonal (neutral-300) */
  --paper: #F5F5F5;     /* címek (neutral-900) */
  --text: #D4D4D4;      /* szöveg (neutral-700) */
  --muted: #A3A3A3;     /* másodlagos (neutral-600) */
  --signal: #FF4D00;    /* primary-500 */
  --ember: #E64500;     /* primary-600, gombok */
  --link: #FF8556;      /* primary-400, szöveges linkek */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 18px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--paper); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { color: var(--paper); margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
i[lang] { font-style: italic; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 8px; background: var(--paper); color: var(--ink); font-weight: 600; }
.skip:focus { top: 12px; }

/* ── Fejléc ── */
.top { position: sticky; top: 0; z-index: 20; background: rgba(10, 10, 10, 0.82); border-bottom: 1px solid var(--line);
       -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.top-in { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.03em; }
.brand b, .brand-word b { color: var(--signal); font-weight: 800; }
.top-nav { display: flex; gap: 26px; margin-left: auto; }
.top-nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.top-nav a:hover { color: var(--paper); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 8px;
       background: var(--ember); color: #FFFFFF; font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
       transition: background-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.btn:hover { background: var(--signal); color: #FFFFFF; box-shadow: 0 20px 40px -12px rgba(255, 77, 0, 0.45); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 0.95rem; }
.top .btn-sm { margin-left: 0; }

/* ── Hero: a korrektúrajel ── */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 30% 30%, #000 20%, transparent 75%); }
.hero::after { content: ""; position: absolute; width: 640px; height: 640px; right: -160px; top: -260px; border-radius: 50%;
  background: var(--signal); opacity: 0.16; filter: blur(80px); pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }

.mark { position: relative; display: flex; align-items: flex-end; font: 900 clamp(8rem, 21vw, 18.5rem)/0.82 var(--sans); letter-spacing: -0.06em;
        color: var(--paper); padding-top: 0.42em; user-select: none; }
.mk-del { position: relative; display: inline-block; color: rgba(245, 245, 245, 0.26); }
.mk-strike { position: absolute; left: -6%; top: 0; width: 112%; height: 100%; overflow: visible; }
.mk-strike path { fill: none; stroke: var(--signal); stroke-width: 0.075em; stroke-linecap: round; vector-effect: non-scaling-stroke;
                  filter: drop-shadow(0 0 18px rgba(255, 77, 0, 0.55)); }
.mk-ins { position: absolute; left: 50%; bottom: 100%; margin-bottom: -0.02em; transform: translateX(-50%) rotate(-8deg);
          font-size: 0.56em; line-height: 0.9; color: var(--signal); text-shadow: 0 0 40px rgba(255, 77, 0, 0.55); }
.mk-i { display: inline-block; }

.dateline { font: 500 0.95rem/1.4 var(--mono); color: var(--link); margin-bottom: 18px; }
h1 { font-weight: 800; font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.04; letter-spacing: -0.035em; }
.lead { margin-top: 24px; max-width: 60ch; font-size: 1.2rem; line-height: 1.6; color: var(--text); }

.player { margin: clamp(40px, 6vw, 72px) 0 0; }
.player video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; border-radius: 16px; border: 1px solid var(--line);
                box-shadow: 0 40px 120px -40px rgba(255, 77, 0, 0.45); }
.player .v-916 { display: none; aspect-ratio: 9 / 16; max-height: 82vh; margin-inline: auto; width: auto; max-width: 100%; }
@media (max-width: 640px) and (orientation: portrait) {
  .player .v-169 { display: none; }
  .player .v-916 { display: block; width: 100%; }
}
.player figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-top: 16px; color: var(--muted); font-size: 0.95rem; }
.transcript summary { cursor: pointer; color: var(--link); }
.transcript[open] { flex-basis: 100%; }
.transcript p { margin: 12px 0 0; max-width: 72ch; color: var(--text); }

/* ── Szakaszok: a cím a margón, a tartalom mellette ── */
.block { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.narrow { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 720px); gap: 0 clamp(40px, 6vw, 88px); align-items: start; }
.narrow > * { grid-column: 2; }
.narrow > h2 { grid-column: 1; grid-row: 1 / span 20; position: sticky; top: 100px;
               font-weight: 800; font-size: clamp(1.75rem, 2.6vw, 2.4rem); line-height: 1.1; letter-spacing: -0.03em; }
.narrow > p:last-child { margin-bottom: 0; }

.cite { margin-left: 2px; font: 600 0.68em/1 var(--mono); vertical-align: 0.55em; color: var(--link); text-decoration: none; }
.cite:hover { color: var(--paper); text-decoration: underline; }

.facts { margin: 0; }
.facts > div { padding: 22px 0; border-top: 1px solid var(--line); }
.facts > div:first-child { padding-top: 0; border-top: 0; }
.facts dt { color: var(--paper); font-weight: 700; font-size: 1.1rem; }
.facts dd { margin: 6px 0 0; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 36px 32px; border-left: 2px solid var(--line); }
.timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 3px solid var(--signal); }
.timeline li:last-child::before { background: var(--signal); box-shadow: 0 0 18px rgba(255, 77, 0, 0.7); }
.timeline time { display: block; font: 500 0.95rem/1.4 var(--mono); color: var(--link); }
.timeline h3 { margin: 4px 0 8px; font-size: 1.3rem; font-weight: 700; letter-spacing: -0.015em; }
.timeline p { margin: 0; }

blockquote { margin: 8px 0 28px; padding: 4px 0 4px 26px; border-left: 3px solid var(--signal); }
blockquote p { margin: 0 0 12px; color: var(--paper); font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; }
blockquote footer { color: var(--muted); font-size: 0.95rem; }

.rush { margin: 16px 0 32px; padding: 32px; border-radius: 16px; background: var(--raised); border: 1px solid var(--line); }
.rush-num { margin: 0 0 24px; color: var(--muted); font-size: 1rem; }
.rush-num span { display: block; color: var(--paper); font-weight: 800; font-size: clamp(3.75rem, 9vw, 6.5rem); line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.rush-bars { display: grid; gap: 12px; }
.rush-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 80px; align-items: center; gap: 16px; font-size: 0.95rem; }
.rush-k { color: var(--muted); }
.rush-track { height: 16px; border-radius: 8px; background: var(--surface); overflow: hidden; }
.rush-bar { display: block; height: 100%; border-radius: 8px; }
.rush-aug { width: 4.5%; background: #737373; }
.rush-sep { width: 100%; background: linear-gradient(90deg, var(--ember), var(--signal)); }
.rush-v { text-align: right; font: 500 0.95rem/1 var(--mono); color: var(--paper); }
.rush figcaption { margin-top: 20px; color: var(--muted); font-size: 0.9rem; }

.points { margin: 0 0 24px; padding: 0; list-style: none; }
.points li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.points li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 8px; height: 8px; border-radius: 2px; background: var(--signal); }

/* ── SocialPro ── */
.sp { background: var(--raised); }
.services { list-style: none; margin: 8px 0 0; padding: 0; }
.services li { padding: 18px 0; border-top: 1px solid var(--line); }
.services a { color: var(--paper); font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.services a:hover { color: var(--link); text-decoration: underline; }
.services span { display: block; margin-top: 4px; color: var(--muted); }
.cta { margin-top: 32px; padding: 32px; border-radius: 16px; background: var(--ink); border: 1px solid rgba(255, 77, 0, 0.35);
       box-shadow: 0 30px 80px -40px rgba(255, 77, 0, 0.5); }
.cta p { color: var(--paper); font-size: 1.15rem; max-width: 52ch; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 20px; }
.more { font-weight: 600; }

/* ── GYIK ── */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { position: relative; padding: 20px 44px 20px 0; cursor: pointer; list-style: none; color: var(--paper); font-weight: 600; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--signal), var(--signal)) center / 14px 2px no-repeat, linear-gradient(var(--signal), var(--signal)) center / 2px 14px no-repeat;
  transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; }

.sources { margin: 0; padding-left: 1.6em; color: var(--muted); font-size: 0.95rem; }
.sources li { margin-bottom: 10px; padding-left: 4px; scroll-margin-top: 100px; }
.sources li::marker { font-family: var(--mono); color: var(--link); }
.sources li:target { color: var(--paper); }
.sources a { color: var(--text); }
.sources a:hover { color: var(--link); }

/* ── Lábléc ── */
.foot { border-top: 1px solid var(--line); padding: 48px 0 56px; color: var(--muted); font-size: 0.95rem; }
.foot-in { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: 32px clamp(40px, 6vw, 88px); }
.brand-word { color: var(--paper); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; }
.foot-brand p { margin: 6px 0 10px; }
.foot address { font-style: normal; line-height: 1.7; }
.foot a { color: var(--text); }
.foot a:hover { color: var(--link); }
.foot-note { max-width: 62ch; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 8px; }

/* ── Egyetlen betöltési pillanat: a tollvonás és a beszúrt S ── */
@media (prefers-reduced-motion: no-preference) {
  .mk-strike { animation: sp-draw 0.6s 0.35s var(--ease) both; }
  .mk-del { animation: sp-fade 0.5s 0.55s ease both; }
  .mk-ins { animation: sp-ins 0.55s 0.9s var(--ease) both; }
  .faq details[open] p, .transcript[open] p { animation: sp-open 0.25s ease; }
}
@keyframes sp-draw { from { clip-path: inset(-20% 100% -20% -10%); } to { clip-path: inset(-20% -10% -20% -10%); } }
@keyframes sp-fade { from { color: var(--paper); } to { color: rgba(245, 245, 245, 0.26); } }
@keyframes sp-ins { from { opacity: 0; transform: translate(-50%, -18px) rotate(-8deg); } to { opacity: 1; transform: translate(-50%, 0) rotate(-8deg); } }
@keyframes sp-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ── Kisebb kijelzők ── */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; }
  .mark { font-size: clamp(7rem, 34vw, 12rem); }
  .narrow, .foot-in { grid-template-columns: 1fr; }
  .narrow > *, .narrow > h2 { grid-column: 1; }
  .narrow > h2 { grid-row: auto; position: static; margin-bottom: 8px; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .top-nav { display: none; }
  .top .btn-sm { margin-left: auto; }
  .lead { font-size: 1.1rem; }
  .rush { padding: 24px 20px; }
  .rush-row { grid-template-columns: 88px minmax(0, 1fr) 64px; gap: 10px; }
  .cta { padding: 24px 20px; }
}
