/*
═══════════════════════════════════════════════════════════════
  RÓLAM · V06 mockup — oldal-specifikus stílusok
  Alap: main.css (nav, footer, popup, tokenek, tipográfia)
  ───────────────────────────────────────────────────────────
  CHANGELOG
  v1 (2026-07-17) — hero (Mérnöki rács + portré) + sztori (AIT-triplet)
                    + „Négy dolog, amiből nem engedek" (fekete, számozott)
                    + záró CTA-idézet (Pötty-mező) + közös footer/popup
═══════════════════════════════════════════════════════════════
*/

body { overflow-x: clip; }

/* ============ KÖZÖS (arak.css-szel egyező alap) ============ */
.ar-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-mute);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  margin-bottom: 20px;
}
.ar-section { padding: clamp(80px, 10vw, 150px) clamp(24px, 5vw, 60px); }
.ar-inner { position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; }
.ar-head { max-width: 860px; margin: 0 auto clamp(48px, 6vw, 76px); text-align: center; }
.ar-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.06;
  color: #0a0a0c;
  text-wrap: balance;
}
.ar-head h2 span { color: var(--text-mute); }
.ar-head p { margin-top: 18px; color: var(--text-mute); font-size: clamp(1rem, 1.1vw, 1.15rem); line-height: 1.65; }

/* ============ HERO (FEKETE · animált Mérnöki rács + portré) ============ */
/* a Rólam hero fekete, ezért a fejléc sötét állapota TÖMÖR fekete (nem áttetsző) */
.nav.nav--dark {
  background: #0a0a0c;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.r-hero {
  position: relative;
  min-height: calc(100vh - 44px); /* 44px a mockup-banner; élesítéskor sima 100vh */
  display: flex;
  align-items: flex-start; /* a tartalom fentebb, nem középen */
  background: #0a0a0c;
  color: #f5f5f7;
  overflow: hidden;
  padding: clamp(80px, 11vh, 140px) clamp(24px, 5vw, 60px) clamp(70px, 9vh, 110px);
}
@keyframes r-aura {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.78; }
  50%  { transform: translate(-2.5%, 2%) scale(1.1); opacity: 1; }
  100% { transform: translate(2.5%, -2%) scale(1.04); opacity: 0.85; }
}
/* Enyhe négyzetrács (kockás) a hero alján + rajta végigfutó fény-csík.
   Alap-csík: Pásztázó sáv (koncept/hero-racs-csik.html 01). A végleges a választott. */
.r-hero-lines {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: clamp(260px, 40vh, 480px);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  background-position: left bottom;
  -webkit-mask: linear-gradient(0deg, #000 0%, #000 24%, transparent 100%);
  mask: linear-gradient(0deg, #000 0%, #000 24%, transparent 100%);
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.r-hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.12fr 0.9fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}
.r-hero .ar-eyebrow { border-color: rgba(255, 255, 255, 0.18); color: rgba(245, 245, 247, 0.6); }
.r-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.4vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin-bottom: clamp(22px, 3vw, 30px);
}
.r-hero h1 .dim { color: rgba(245, 245, 247, 0.5); }
.r-hero-lead {
  max-width: 560px;
  color: rgba(245, 245, 247, 0.66);
  font-size: clamp(1.05rem, 1.3vw, 1.24rem);
  line-height: 1.6;
  margin-bottom: clamp(30px, 3.6vw, 40px);
}
.r-hero-lead strong { color: #f5f5f7; font-weight: 500; }
.r-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.r-hero .btn-primary { background: #f5f5f4; color: #111417; }
.r-hero .btn-primary:hover { background: #ffffff; }
.r-hero-sign {
  margin-top: clamp(30px, 4.5vh, 52px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 4px;
}
.r-hero-sign::before {
  content: "";
  width: 56px;
  height: 1px;
  background: linear-gradient(to right, var(--accent, #e15a30), transparent);
  margin-bottom: 14px;
}
.r-sign-name {
  font-family: 'Caveat', cursive;
  font-size: clamp(2.2rem, 3vw, 2.9rem);
  font-weight: 600;
  line-height: 0.85;
  color: #f5f5f7;
}
.r-sign-role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, 0.5);
}
.r-sign-mobile { display: none; }
/* Finom sötét→világos átmenet a hero és a sztori-szekció között */
.r-story::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: clamp(60px, 8vw, 100px);
  background: linear-gradient(to bottom, #0a0a0c, transparent);
  z-index: 0;
  pointer-events: none;
}
.r-story .ar-inner { position: relative; z-index: 1; }
.r-hero .btn-secondary { border-color: rgba(255, 255, 255, 0.28); color: #f5f5f7; background: transparent; }
.r-hero .btn-secondary:hover { border-color: rgba(255, 255, 255, 0.55); color: #ffffff; }
/* portré */
.r-hero-portrait {
  position: relative;
  width: 100%;
  max-width: 464px;
  margin-left: auto;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.r-hero-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.06);
  transform-origin: center 34%;
  filter: brightness(0.94) contrast(1.02);
}

/* ============ SZTORI (FEHÉR · Honnan indultam) ============ */
/* a hero négyzetrácsa átfolyik ide a fehér tetejére, itt FEKETE vonalakkal,
   ~140px-ig lefelé halványodva (folytonos átmenet a hero és a szekció közt) */
.r-story { position: relative; overflow: hidden; }
.r-story::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 140px;
  background-image:
    linear-gradient(rgba(15, 18, 22, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 18, 22, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  background-position: left top;
  -webkit-mask: linear-gradient(180deg, #000 0%, transparent 100%);
  mask: linear-gradient(180deg, #000 0%, transparent 100%);
  pointer-events: none;
}
/* 2-oszlopos szerkezet: balra a szöveg + 14+ év stat, jobbra az „Ahol dolgoztam" idővonal */
.r-story-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}
.r-story-h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.06;
  color: #0a0a0c;
  margin: 6px 0 clamp(22px, 3vw, 34px);
}
.r-story-h2 span { color: var(--text-mute); }
.r-story-stat {
  margin-top: clamp(28px, 3.4vw, 44px);
  padding-top: clamp(22px, 2.6vw, 32px);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.r-story-stat b {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #0a0a0c;
  flex-shrink: 0;
}
.r-story-stat span { font-size: 0.98rem; color: var(--text-mute); line-height: 1.45; max-width: 26ch; }
.r-path-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: clamp(20px, 2.4vw, 30px);
}
.r-story-body {
  max-width: none;
  margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.8vw, 22px);
}
.r-story-body p { color: var(--text-mute); font-size: clamp(1.05rem, 1.25vw, 1.28rem); line-height: 1.62; }
.r-story-body p:first-child {
  color: #0a0a0c;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 1.9vw, 1.8rem);
  letter-spacing: -0.02em;
  line-height: 1.32;
}
.r-story-body p strong { color: #0a0a0c; font-weight: 600; }
/* Karrier-idővonal: a gyártósori kezdéstől a rendszerépítésig (hitelesség) */
.r-path {
  max-width: none;
  margin: 0;
  text-align: left;
}
.r-path-item {
  position: relative;
  padding: 0 0 clamp(20px, 2.4vw, 28px) 32px;
}
.r-path-item:last-child { padding-bottom: 0; }
.r-path-item::before {
  content: '';
  position: absolute;
  left: 5px; top: 16px; bottom: 0;
  width: 1px;
  background: var(--line);
}
.r-path-item:last-child::before { display: none; }
.rp-dot {
  position: absolute;
  left: 0; top: 4px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--line-2);
}
.r-path-item:last-child .rp-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(225, 90, 48, 0.14); }
.rp-body b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0a0a0c;
  margin-bottom: 1px;
}
.rp-body span { font-size: 0.92rem; color: var(--text-mute); }
/* AIT-triplet */
.r-ait {
  max-width: 900px;
  margin: clamp(52px, 6vw, 84px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.r-ait > div {
  padding: clamp(26px, 3vw, 40px) clamp(16px, 2vw, 28px);
  text-align: center;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.r-ait > div:first-child { border-left: none; }
.r-ait b {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.4vw, 4.8rem);
  font-weight: 800;
  line-height: 1;
  color: #0a0a0c;
  letter-spacing: -0.04em;
}
.r-ait span {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1f2937;
}

/* ============ AMIRE SZÁMÍTHATSZ (FEKETE · animált bg + bizalom-kártyák) ============ */
.r-promise { position: relative; overflow: hidden; background: #0a0a0c; }
.r-promise .ar-head h2 { color: #ffffff; }
.r-promise .ar-head h2 span { color: rgba(245, 245, 247, 0.5); }
.r-promise .ar-eyebrow { border-color: rgba(255, 255, 255, 0.18); color: rgba(245, 245, 247, 0.6); }
/* Folyamat-sáv (koncept 02): 4 lépés vízszintes vonalon, csomópontokkal, az első akcent-színnel */
.r-flow {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.r-flow::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12) 20%, rgba(255, 255, 255, 0.12) 80%, transparent);
}
.r-step { position: relative; text-align: center; padding: 0 6px; }
.r-step .r-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #0a0a0c;
  border: 1px solid rgba(255, 255, 255, 0.35);
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
}
.r-step:first-child .r-dot {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(225, 90, 48, 0.16);
}
.r-step .r-k {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, 0.42);
  margin-bottom: 10px;
}
.r-step h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-bottom: 9px;
}
.r-step p {
  color: rgba(245, 245, 247, 0.6);
  font-size: 0.94rem;
  line-height: 1.55;
}
@media (max-width: 760px) {
  .r-flow { grid-template-columns: 1fr; gap: 32px; }
  .r-flow::before { display: none; }
}
/* Kiegészítő szöveg a folyamat-sáv alatt: cégvezetői/stratégiai érték (audit, hierarchia, felülvizsgálat) */
.r-flow-note {
  max-width: 900px;
  margin: clamp(52px, 6.5vw, 92px) auto 0;
  padding-top: clamp(34px, 4vw, 54px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.r-flow-note .rfn-lead {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.1vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #ffffff;
  max-width: 740px;
}
.r-flow-note .rfn-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(22px, 2.6vw, 34px);
}
.r-flow-note .rfn-cols p {
  color: rgba(245, 245, 247, 0.62);
  font-size: 1rem;
  line-height: 1.65;
}
@media (max-width: 720px) {
  .r-flow-note .rfn-cols { grid-template-columns: 1fr; gap: 18px; }
}

/* ============ ZÁRÓ CTA (FEHÉR · Pötty-mező + idézet) ============ */
.r-cta {
  position: relative;
  text-align: center;
  padding: clamp(90px, 12vw, 160px) clamp(24px, 5vw, 60px);
  overflow: hidden;
}
.r-cta-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(15, 18, 22, 0.11) 1px, transparent 0);
  background-size: 20px 20px;
  -webkit-mask: radial-gradient(ellipse 72% 80% at 50% 45%, black 25%, transparent 78%);
  mask: radial-gradient(ellipse 72% 80% at 50% 45%, black 25%, transparent 78%);
  pointer-events: none;
}
.r-cta-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.r-cta blockquote {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6.5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #0a0a0c;
  text-wrap: balance;
}
.r-cta blockquote span { color: var(--text-mute); }
.r-cta > .r-cta-inner > p {
  margin-top: 20px;
  color: var(--text-mute);
  font-size: clamp(1.05rem, 1.2vw, 1.25rem);
  line-height: 1.6;
}
.r-cta .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.r-cta-sub { margin-top: 22px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--text-faint); }

/* ============ 2K: a hero képarányosan nagyobb ============ */
@media (min-width: 1900px) {
  .r-hero-grid { max-width: 1500px; gap: clamp(70px, 5vw, 120px); }
  .r-hero h1 { font-size: 4.2rem; }
  .r-hero-lead { font-size: 1.2rem; max-width: 660px; }
  .r-hero-portrait { max-width: 540px; }
}

/* ============ RESPONZÍV (alap-stacking; teljes mobil-kör külön fázis) ============ */
@media (max-width: 900px) {
  .r-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .r-hero-portrait { max-width: 340px; margin: 0 auto; }
  .r-story-grid { grid-template-columns: 1fr; gap: 40px; }
  .r-sign-desktop { display: none; }
  .r-sign-mobile { display: flex; max-width: 340px; width: 100%; margin: 22px auto 0; }
}
@media (max-width: 620px) {
  .r-ait { grid-template-columns: 1fr; }
  .r-ait > div { border-left: none; border-top: 1px solid var(--line); }
  .r-ait > div:first-child { border-top: none; }
}
