/* ============================================================
   VOL 3 — Merged Baseline
   Chassis: Demo 1 v2 (quiet authority)
   Imports from Demo 3 v2: flip-card mechanic for the 8 modules
   New additions: dual hero CTAs, team grid with hover-flip portraits,
   two distinct contact forms (Pályázók / Ügyfelek), LinkedIn social,
   References section, Megoldásaink preview.
   Anita's four foundational pillars all present:
     1. Bemutatkozó (about + team)
     2. Kapcsolat with CV upload + GDPR
     3. Referenciák (candidate experience + business partners)
     4. LinkedIn articles preview (Megoldásaink)
   ============================================================ */

:root {
  --ts-light: #afcb37; --ts-dark: #007545;
  --bs-light: #00b8ee; --bs-dark: #384c83;
  --ink: #282828; --gray: #b2b2b2; --gray-2: #f5f5f5; --gray-3: #e8e8e6;
  --gold: #bfa56b; --white: #ffffff;
  --grad-ts: linear-gradient(60deg, var(--ts-light), var(--ts-dark));
  --grad-bs: linear-gradient(60deg, var(--bs-light), var(--bs-dark));
  --max: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', -apple-system, sans-serif;
  color: var(--ink); background: var(--white);
  font-weight: 300; line-height: 1.6; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ----- HEADER ----- */
header {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(40,40,40,.06);
  z-index: 100; transition: padding .25s ease;
}
.nav {
  max-width: var(--max); margin: 0 auto;
  padding: 22px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav img { height: 34px; transition: height .25s; display: block; }
header.shrunk .nav { padding: 14px 32px; }
header.shrunk .nav img { height: 26px; }
.nav ul { list-style: none; display: flex; gap: 30px; }
.nav a {
  font-size: 14px; font-weight: 500; letter-spacing: .02em;
  position: relative; padding-bottom: 4px;
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--ink); transition: width .3s;
}
.nav a:hover::after { width: 100%; }
.nav .lang { color: var(--gray); font-size: 12px; letter-spacing: .1em; }
@media (max-width: 900px) { .nav ul { display: none; } }

/* ============================================================
   HERO — slogan + interactive mark + dual CTAs
   ============================================================ */
.hero {
  min-height: 100vh;
  padding: 160px 32px 80px;
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.3fr 1fr;
  align-items: center; gap: 60px;
  position: relative;
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 130px; }
}

.hero-text .eyebrow {
  font-size: 13px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 28px;
}
.hero-text h1 {
  font-size: clamp(40px, 5.6vw, 78px);
  font-weight: 400; line-height: 1.05; letter-spacing: -.02em;
}
.hero-text .sub {
  margin-top: 32px; max-width: 560px;
  font-size: 17px; line-height: 1.65; color: #555;
}

/* Dual CTAs — gradient pills with white text, EQUAL WIDTH */
.hero-ctas {
  display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap;
}
.cta {
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: 12px;
  width: clamp(260px, 26vw, 320px);   /* equal width regardless of label length */
  padding: 16px 26px;
  font-size: 14px; font-weight: 600;
  color: var(--white);
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s;
  position: relative; overflow: hidden;
  letter-spacing: .01em;
  border: none;
}
.cta .label { flex: 1; }
.cta .arrow { transition: transform .3s; flex-shrink: 0; }
.cta:hover { transform: translateY(-3px); }
.cta:hover .arrow { transform: translateX(4px); }
.cta.ts { background: var(--grad-ts); }
.cta.ts:hover { box-shadow: 0 16px 36px rgba(0,117,69,.4); }
.cta.bs { background: var(--grad-bs); }
.cta.bs:hover { box-shadow: 0 16px 36px rgba(56,76,131,.45); }

/* ============================================================
   HERO MARK — Finders "F" logo reveal animation.
   Six SVG polygons fly in from outside the frame, form a 2x3
   grid, rotate 90°, then reshape with continuous gradients into
   the actual Finders F-icon (matching the brand book).
   Auto-plays on page load; replays on hover.
   ============================================================ */
.mark-wrap {
  display: flex; align-items: center; justify-content: center;
  min-height: 500px; position: relative;
}
.f-anim-box {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  background: transparent;
  position: relative;
  cursor: pointer;
}
.f-anim-box svg {
  display: block;
  width: 100%; height: 100%;
}

/* ----- TRUST STRIP — gold numbers, black labels, no bold ----- */
.trust { background: var(--gray-2); padding: 90px 32px; }
.trust-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px;
}
.trust-inner.four-cols { grid-template-columns: repeat(4, 1fr); gap: 30px; }
@media (max-width: 1000px) { .trust-inner.four-cols { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 800px) {
  .trust-inner { grid-template-columns: 1fr; gap: 40px; }
  .trust-inner.four-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .trust-inner.four-cols { grid-template-columns: 1fr; } }
.trust-item { text-align: center; }
.trust-item .num {
  font-size: 64px; font-weight: 400; letter-spacing: -.04em;
  margin-bottom: 12px; line-height: 1;
  color: var(--gold);
}
.trust-item .label {
  font-size: 14px; color: var(--ink); line-height: 1.55;
  font-weight: 400;
}

/* Second trust row — same gray-2 background as the upper trust strip.
   Top margin (not padding) creates a WHITE band between the flip-card
   section and this number strip, so it reads as its own stripe. */
.trust.trust-2 {
  padding: 70px 32px;
  margin-top: 80px;
}
.trust.trust-2 .trust-item { text-align: center; }
.trust.trust-2 .trust-item .label {
  font-size: 13px; letter-spacing: .03em;
  text-transform: none; color: var(--ink);
}

/* ============================================================
   BEMUTATKOZÓ — Anita's pillar #1 (intro)
   ============================================================ */
.about { padding: 130px 32px; max-width: var(--max); margin: 0 auto; }
.about .head {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 70px;
}
@media (max-width: 900px) {
  .about .head { grid-template-columns: 1fr; gap: 30px; }
}
.about .head-text { max-width: 720px; }

/* 9-square diamond mark — Vol 3 baseline, hover fans corners + fills colors */
.about-diamond-wrap {
  display: flex; align-items: center; justify-content: center;
  min-height: 320px;
  position: relative; cursor: default;
}
.about-diamond {
  width: 290px; height: 290px;
  position: relative;
  transform: rotate(45deg);
  transition: transform 1s cubic-bezier(.22,1,.36,1);
}
.about-diamond .ad-sq {
  position: absolute;
  width: 33.33%; height: 33.33%;
  background: var(--ink); opacity: .08;
  transition: transform .8s cubic-bezier(.22,1,.36,1),
              background .6s, opacity .6s;
}
.ad-sq.a1{top:0;left:0}.ad-sq.a2{top:0;left:33.33%}.ad-sq.a3{top:0;left:66.66%}
.ad-sq.a4{top:33.33%;left:0}.ad-sq.a5{top:33.33%;left:33.33%}.ad-sq.a6{top:33.33%;left:66.66%}
.ad-sq.a7{top:66.66%;left:0}.ad-sq.a8{top:66.66%;left:33.33%}.ad-sq.a9{top:66.66%;left:66.66%}

.about-diamond-wrap:hover .about-diamond .ad-sq { opacity: .9; }
.about-diamond-wrap:hover .ad-sq.a1 { transform: translate(-20px, -20px); background: var(--ts-light); }
.about-diamond-wrap:hover .ad-sq.a2 { background: var(--ts-light); }
.about-diamond-wrap:hover .ad-sq.a3 { transform: translate(20px, -20px);  background: var(--bs-light); }
.about-diamond-wrap:hover .ad-sq.a4 { background: var(--ts-dark); }
.about-diamond-wrap:hover .ad-sq.a5 { background: var(--gold); opacity: 1; }
.about-diamond-wrap:hover .ad-sq.a6 { background: var(--bs-light); }
.about-diamond-wrap:hover .ad-sq.a7 { transform: translate(-20px, 20px);  background: var(--ts-dark); }
.about-diamond-wrap:hover .ad-sq.a8 { background: var(--bs-dark); }
.about-diamond-wrap:hover .ad-sq.a9 { transform: translate(20px, 20px);   background: var(--bs-dark); }
.about .eyebrow {
  font-size: 13px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 20px;
}
.about h2 {
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 300; line-height: 1.05; letter-spacing: -.02em;
}
.about h2 strong { font-weight: 700; }
.about .lede {
  margin-top: 32px; font-size: 17px; line-height: 1.7; color: #444;
  max-width: none;
}
.about .lede-justify { text-align: justify; text-justify: inter-word; hyphens: auto; }
.modules .head h2.h2-justify { text-align: justify; text-justify: inter-word; }
.about-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px;
}
@media (max-width: 800px) { .about-cols { grid-template-columns: 1fr; gap: 30px; } }
.about-col {
  padding: 40px 36px;
  border: 1px solid rgba(40,40,40,.08);
  position: relative; overflow: hidden;
  transition: border-color .3s;
}
.about-col:hover { border-color: rgba(40,40,40,.16); }
.about-col .tag {
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.about-col .tag::before {
  content: ''; width: 16px; height: 16px;
  clip-path: polygon(0 0, 100% 0, 100% 100%);   /* right triangle, right-angle at top-right */
}
.about-col.ts .tag { color: var(--ts-dark); }
.about-col.ts .tag::before { background: var(--grad-ts); }
.about-col.bs .tag { color: var(--bs-dark); }
.about-col.bs .tag::before { background: var(--grad-bs); }
.about-col h3 {
  font-size: 26px; font-weight: 600; line-height: 1.2; margin-bottom: 16px;
}
.about-col p { font-size: 15px; line-height: 1.7; color: #555; }

/* ============================================================
   MEGOLDÁSOK — flip cards (Demo 3 mechanic, Demo 1 aesthetic)
   ============================================================ */
.modules {
  padding: 130px 32px;
  background: var(--gray-2);
}
.modules-inner { max-width: var(--max); margin: 0 auto; }
.modules .head {
  margin-bottom: 60px;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; flex-wrap: wrap;
}
.modules .head .eyebrow {
  font-size: 13px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 18px;
}
.modules .head h2 {
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 300; line-height: 1.05; letter-spacing: -.02em;
  max-width: 700px;
}
.modules .head h2 strong { font-weight: 700; }
.modules .head .hint {
  font-size: 13px; color: #777; max-width: 280px; text-align: right;
  font-style: italic;
}
@media (max-width: 700px) { .modules .head .hint { text-align: left; } }

.group { margin-bottom: 48px; }
.group:last-child { margin-bottom: 0; }
.group .gtitle {
  font-size: 12px; letter-spacing: .3em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 18px; color: #555;
  display: flex; align-items: center; gap: 14px;
}
.group .gtitle::before {
  content: ''; width: 14px; height: 14px;
  clip-path: polygon(0 0, 100% 0, 100% 100%);   /* matching brand triangle */
}
.group.ts .gtitle::before { background: var(--grad-ts); }
.group.bs .gtitle::before { background: var(--grad-bs); }
.group.ts .gtitle { color: var(--ts-dark); }
.group.bs .gtitle { color: var(--bs-dark); }

.cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } }

.card {
  position: relative; aspect-ratio: 1 / 1;
  perspective: 1000px; cursor: pointer;
}
.card-inner {
  position: relative; width: 100%; height: 100%;
  transition: transform .7s cubic-bezier(.22,1,.36,1);
  transform-style: preserve-3d;
}
.card.flipped .card-inner,
.card:hover .card-inner { transform: rotateY(180deg); }
.card-face {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  padding: 22px 18px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  border: 1px solid rgba(40,40,40,.08);
  background: var(--white);
  overflow: hidden;
}
.card-back {
  transform: rotateY(180deg);
  color: var(--white); border-color: transparent;
  /* align-items inherits 'center' from .card-face → vertically centered */
  text-align: left;
  padding: 18px 16px;
}
.group.ts .card-back { background: var(--grad-ts); }
.group.bs .card-back { background: var(--grad-bs); }

.card-front .name {
  font-size: 17px; font-weight: 700; line-height: 1.15;
  color: var(--ink);
  letter-spacing: -.005em;
}
.card-back .copy {
  font-size: 11.5px; line-height: 1.5; font-weight: 500;
  color: rgba(255,255,255,.96);
}
/* Bold "above the divider" statement (used on TS cards' main claim) */
.card-back .copy .head {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}
/* Normal "below the divider" qualifiers (TS cards) */
.card-back .copy .quals {
  display: block;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.28);
  font-size: 11px; line-height: 1.5;
  color: rgba(255,255,255,.92);
  font-weight: 500;
}
/* BS cards: "Szolgáltatások" sublabel + service list below divider */
.card-back .copy .svc {
  display: block;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.28);
  font-size: 10.5px; line-height: 1.5;
  color: rgba(255,255,255,.88);
  font-weight: 500;
}
.card-back .copy .svc strong {
  display: block;
  font-size: 9.5px; letter-spacing: .15em; text-transform: uppercase;
  font-weight: 700; color: rgba(255,255,255,.7);
  margin-bottom: 4px;
}

/* ============================================================
   CSAPAT — Vol 3 layout: portrait on top (flips on hover to show
   role + expertise), name/position/quote stacked below.
   ============================================================ */
.team { padding: 130px 32px; max-width: var(--max); margin: 0 auto; }
.team .head { max-width: 720px; margin-bottom: 60px; }
.team .eyebrow {
  font-size: 13px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 20px;
}
.team h2 {
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 400; line-height: 1.05; letter-spacing: -.02em;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 36px 24px;
}

.member {
  position: relative; display: block;
  cursor: pointer;
}

/* TOP — portrait that flips on hover */
.portrait {
  width: 100%; aspect-ratio: 3 / 4;
  position: relative;
  perspective: 1000px;
  margin-bottom: 18px;
}
.portrait-inner {
  position: relative; width: 100%; height: 100%;
  transition: transform .7s cubic-bezier(.22,1,.36,1);
  transform-style: preserve-3d;
}
.member:hover .portrait-inner,
.member.flipped .portrait-inner { transform: rotateY(180deg); }

.face {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  border: 1px solid rgba(40,40,40,.08);
  overflow: hidden;
}

/* FRONT — dark photo placeholder with large initials */
.face-front {
  background: linear-gradient(155deg, #3a3a3a 0%, #1c1c1c 100%);
  display: flex; align-items: center; justify-content: center;
}
.face-front .initials {
  font-size: 64px; font-weight: 200; letter-spacing: -.02em;
  color: var(--white);
  text-shadow: 0 4px 24px rgba(0,0,0,.4);
}
.member:hover .face-front {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

/* BACK — dark green→blue gradient holding the personal quote */
.face-back {
  /* position: absolute + inset: 0 are inherited from .face — DO NOT override
     with position: relative or the back collapses to content size on flip. */
  transform: rotateY(180deg);
  background: linear-gradient(160deg, var(--ts-dark) 0%, var(--bs-dark) 100%);
  color: var(--white);
  padding: 24px 20px;
  border-color: transparent;
  display: flex; flex-direction: column; justify-content: center;
}
/* Big top-left decorative quote mark removed — actual quotes are wrapped
   in „..." characters inside each .b-quote paragraph. */
.face-back .b-quote {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
  font-style: italic;
  color: rgba(255,255,255,.95);
  /* Short quotes get the full 13px treatment; cards with the .long
     modifier shrink so the entire quote fits without truncation. */
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Long-quote override: smaller font, no line clamp — fills the card */
.face-back.long .b-quote {
  font-size: 10.5px;
  line-height: 1.4;
  -webkit-line-clamp: unset;
  display: block;
}
.face-back.long {
  padding: 18px 16px;
}
.face-back.long .b-cite {
  margin-top: 10px;
  padding-top: 8px;
}
.face-back .b-cite {
  display: block;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.28);
  font-size: 11px;
  font-style: normal;
  color: rgba(255,255,255,.85);
  letter-spacing: .04em;
  font-weight: 600;
}

/* BELOW the portrait — name (gold bold) + role (black bold) + tasks list */
.member-info {
  text-align: left;
  padding: 0 2px;
}
.member-info .name {
  font-size: 17px; font-weight: 700;
  color: var(--gold);
  letter-spacing: -.005em;
  margin-bottom: 4px;
  line-height: 1.2;
}
.member-info .role {
  font-size: 12.5px; font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}
.member-info .tasks {
  list-style: none;
  font-size: 12px; line-height: 1.5;
  color: #5e5e5e;
  display: flex; flex-direction: column; gap: 4px;
}
.member-info .tasks li {
  padding-left: 12px; position: relative;
}
.member-info .tasks li::before {
  content: ''; position: absolute;
  left: 0; top: 7px;
  width: 6px; height: 6px;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  background: var(--gold); opacity: .85;
}

/* ============================================================
   ÉLMÉNYEK — plain light grey, no decoration.
   Padding tightened since the heading and lede are gone.
   ============================================================ */
.experience {
  background-color: var(--gray-2);
  padding: 70px 32px;
  position: relative;
}
.experience-inner { max-width: var(--max); margin: 0 auto; }
.experience .head { margin-bottom: 28px; }
.experience .head { margin-bottom: 60px; }
.experience .eyebrow {
  font-size: 13px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 20px;
}
.experience h2 {
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 300; line-height: 1.05; letter-spacing: -.02em;
}
.experience h2 strong { font-weight: 700; }
.experience .lede {
  margin-top: 22px; max-width: 620px;
  font-size: 15px; line-height: 1.7; color: #555;
}

/* ----- Testimonial carousel — horizontal scrolling, color-coded cards ----- */
.tm-shell { position: relative; }

.tm-carousel {
  display: flex; gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding: 8px 4px 24px;
  margin: 0 -4px;
}
.tm-carousel::-webkit-scrollbar { height: 6px; }
.tm-carousel::-webkit-scrollbar-track { background: rgba(40,40,40,.06); border-radius: 3px; }
.tm-carousel::-webkit-scrollbar-thumb { background: rgba(40,40,40,.25); border-radius: 3px; }
.tm-carousel::-webkit-scrollbar-thumb:hover { background: rgba(40,40,40,.45); }

.tm-card {
  flex: 0 0 auto;
  width: clamp(290px, 32vw, 400px);
  padding: 36px 32px 32px;
  scroll-snap-align: start;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  display: flex; flex-direction: column;
  min-height: 290px;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s;
  /* Subtle gold blush at bottom-right, white dominant elsewhere */
  background: linear-gradient(315deg, rgba(191,165,107,.55) 0%, #ffffff 55%);
  border: 1px solid rgba(40,40,40,.05);
}
.tm-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(40,40,40,.14); }
/* Badge — no background, gradient text only */
.tm-card .badge {
  align-self: flex-start;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 18px;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tm-card.cand .badge { background-image: var(--grad-ts); }
.tm-card.biz  .badge { background-image: var(--grad-bs); }
.tm-card .qtext {
  font-size: 14.5px; line-height: 1.6;
  color: var(--ink);
  margin-bottom: auto;
  padding-bottom: 18px;
}
.tm-card cite {
  font-size: 11px; letter-spacing: .15em; text-transform: uppercase;
  color: #5e5e5e;
  font-style: normal; font-weight: 600;
  display: block; padding-top: 14px;
  border-top: 1px solid rgba(40,40,40,.18);
}

/* Carousel arrows (desktop only, for nudging) */
.tm-arrows {
  display: flex; gap: 8px; margin-top: 20px;
  justify-content: flex-end;
}
.tm-arrow {
  width: 42px; height: 42px;
  background: rgba(40,40,40,.06);
  border: 1px solid rgba(40,40,40,.1);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .25s;
  font-size: 18px; color: var(--ink);
  font-family: inherit;
}
.tm-arrow:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
@media (hover: none) { .tm-arrows { display: none; } }

/* Infinite-scroll mode: disable scroll-snap and smooth scrolling (those fight
   the per-frame auto-scroll nudge), hide the native scrollbar, and let the JS
   marquee loop handle everything. */
.tm-carousel.is-infinite,
.pp-carousel.is-infinite {
  scroll-snap-type: none;
  scroll-behavior: auto;
  scrollbar-width: none;
}
.tm-carousel.is-infinite .tm-card,
.pp-carousel.is-infinite .pp-card {
  scroll-snap-align: none;
}
.tm-carousel.is-infinite::-webkit-scrollbar,
.pp-carousel.is-infinite::-webkit-scrollbar { display: none; }

/* ============================================================
   PARTNER ÉLMÉNYEK — ügyfél visszajelzések, kék gradiens
   Same gold→white background as candidates, blue gradient text,
   vertical larger cards because partner quotes are long-form.
   ============================================================ */
.partner-exp {
  background-color: var(--gray-2);
  padding: 30px 32px 90px;
  position: relative;
}
.partner-exp-inner { max-width: var(--max); margin: 0 auto; }
.partner-exp .head { margin-bottom: 50px; }
.partner-exp .eyebrow {
  font-size: 13px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 20px;
}
.partner-exp h2 {
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 300; line-height: 1.05; letter-spacing: -.02em;
}
.partner-exp h2 strong { font-weight: 700; }
/* Eyebrow-less head — pull H2 up so it sits closer to the candidate carousel above */
.partner-exp .head.no-eyebrow { margin-top: -10px; }

/* Horizontal carousel of long-text partner cards — mirrors .tm-carousel */
.pp-shell { position: relative; }
.pp-carousel {
  display: flex; gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding: 8px 4px 24px;
  margin: 0 -4px;
}
.pp-carousel::-webkit-scrollbar { height: 6px; }
.pp-carousel::-webkit-scrollbar-track { background: rgba(40,40,40,.06); border-radius: 3px; }
.pp-carousel::-webkit-scrollbar-thumb { background: rgba(40,40,40,.25); border-radius: 3px; }
.pp-carousel::-webkit-scrollbar-thumb:hover { background: rgba(40,40,40,.45); }

.pp-card {
  flex: 0 0 auto;
  width: clamp(320px, 36vw, 460px);
  padding: 36px 32px 30px;
  scroll-snap-align: start;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  display: flex; flex-direction: column;
  /* Same gold blush gradient as candidate cards */
  background: linear-gradient(315deg, rgba(191,165,107,.55) 0%, #ffffff 55%);
  border: 1px solid rgba(40,40,40,.05);
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s;
}
.pp-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(40,40,40,.14); }

/* Badge — blue gradient text only, matches the candidate badge style */
.pp-card .badge {
  align-self: flex-start;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 8px;
  background-image: var(--grad-bs);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Megoldás-tag a partner pillar besoroláshoz (Üzleti / Tehetség) */
.pp-card .pp-tag {
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 600; color: var(--bs-dark); opacity: .55;
  margin-bottom: 22px;
}
.pp-card .qtext {
  font-size: 13.5px; line-height: 1.7;
  color: var(--ink);
  margin: 0 0 22px;
  flex: 1;
}
.pp-card cite {
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bs-dark);
  font-style: normal; font-weight: 700;
  display: block; padding-top: 16px;
  border-top: 1px solid rgba(56,76,131,.22);
}

/* Partner carousel arrows (mirror .tm-arrows) */
.pp-arrows {
  display: flex; gap: 8px; margin-top: 20px;
  justify-content: flex-end;
}
.pp-arrow {
  width: 42px; height: 42px;
  background: rgba(40,40,40,.06);
  border: 1px solid rgba(40,40,40,.1);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .25s;
  font-size: 18px; color: var(--ink);
  font-family: inherit;
}
.pp-arrow:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
@media (hover: none) { .pp-arrows { display: none; } }

/* ============================================================
   MEGOLDÁSAINK preview — Anita's pillar #4 (LinkedIn articles)
   ============================================================ */
.insights { padding: 130px 32px; max-width: var(--max); margin: 0 auto; }
.insights .head {
  margin-bottom: 50px;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; flex-wrap: wrap;
}
.insights .head .left { max-width: 700px; }
.insights .eyebrow {
  font-size: 13px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 20px;
}
.insights h2 {
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 300; line-height: 1.05; letter-spacing: -.02em;
}
.insights h2 strong { font-weight: 700; }
.insights .all {
  font-size: 13px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; padding: 12px 22px;
  border: 1px solid var(--ink); transition: all .3s;
  display: inline-flex; align-items: center; gap: 10px;
}
.insights .all:hover { background: var(--ink); color: var(--white); }

.articles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 900px) { .articles { grid-template-columns: 1fr; } }
.article {
  border: 1px solid rgba(40,40,40,.08);
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.article:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(40,40,40,.06);
  border-color: rgba(40,40,40,.16);
}
.article .img {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(60deg, #d8d8d4, #c5c5c0);  /* grey default = Case studies */
  position: relative;
}
.article.gr .img { background: var(--grad-ts); }  /* Talent Solution = green */
.article.bl .img { background: var(--grad-bs); }  /* Business Solution = blue */
.article.gy .img { background: linear-gradient(60deg, #d8d8d4, #c5c5c0); }  /* Case studies = grey */
.article .img-label {
  position: absolute; top: 14px; left: 14px;
  font-size: 10px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--white); background: rgba(0,0,0,.4); padding: 4px 10px;
  font-weight: 600;
}
.article .body { padding: 22px 22px 24px; }
.article .meta {
  font-size: 11px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 12px; font-weight: 600;
}
.article h4 {
  font-size: 17px; font-weight: 600; line-height: 1.3; margin-bottom: 10px;
  color: var(--ink);
}
.article p {
  font-size: 13px; line-height: 1.6; color: #666;
}

/* ============================================================
   KAPCSOLAT — two distinct forms (Adri's two-form requirement)
   ============================================================ */
.contact-section { background: var(--ink); color: var(--white); padding: 130px 32px; }
.contact-section .head {
  max-width: var(--max); margin: 0 auto 70px;
}
.contact-section .eyebrow {
  font-size: 13px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 20px;
}
.contact-section h2 {
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 300; line-height: 1.05; letter-spacing: -.02em;
}
.contact-section h2 strong { font-weight: 700; }
.contact-section .head-sub {
  margin-top: 28px; max-width: 600px;
  font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.7);
}

.forms {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
@media (max-width: 900px) { .forms { grid-template-columns: 1fr; } }

.form-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  padding: 38px 32px;
}
.form-card .for-who {
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 10px;
}
.form-card .for-who::before {
  content: ''; width: 14px; height: 14px;
  clip-path: polygon(0 0, 100% 0, 100% 100%);   /* matching brand triangle */
}
.form-card.candidate .for-who { color: var(--ts-light); }
.form-card.candidate .for-who::before { background: var(--grad-ts); }
.form-card.client .for-who { color: var(--bs-light); }
.form-card.client .for-who::before { background: var(--grad-bs); }
.form-card h3 {
  font-size: 26px; font-weight: 600; line-height: 1.2; margin-bottom: 12px;
}
.form-card .pitch {
  font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.65);
  margin-bottom: 26px;
}

.field { margin-bottom: 14px; }
.field label {
  display: block; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
  font-weight: 600; margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white); font-family: inherit; font-size: 14px;
  transition: border-color .25s, background .25s;
}
/* Native dropdown list rendering — black text on white so options are legible */
.field select option {
  color: var(--ink);
  background: var(--white);
  font-family: inherit;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  background: rgba(255,255,255,.08);
}
.field textarea { min-height: 90px; resize: vertical; }
.field-file {
  border: 1px dashed rgba(255,255,255,.25);
  padding: 14px; text-align: center; cursor: pointer;
  font-size: 12px; color: rgba(255,255,255,.55);
  transition: border-color .25s, color .25s;
}
.field-file:hover { border-color: var(--gold); color: var(--gold); }

.field-check {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.7);
  margin: 16px 0;
}
.field-check input { margin-top: 2px; accent-color: var(--gold); }
.field-check a { color: var(--gold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }

.btn-submit {
  width: 100%; padding: 14px 24px;
  background: var(--white); color: var(--ink);
  border: none; font-size: 13px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  transition: background .3s, color .3s;
  margin-top: 6px;
}
.form-card.candidate .btn-submit:hover { background: var(--ts-light); }
.form-card.client .btn-submit:hover { background: var(--bs-light); color: var(--white); }

/* Address block under contact forms — just the address + an embedded Google Map.
   Mátyás's note: no individual contact cards below the forms. */
.addr-block {
  max-width: var(--max); margin: 70px auto 0;
  padding-top: 50px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px;
  align-items: stretch;
}
@media (max-width: 800px) { .addr-block { grid-template-columns: 1fr; gap: 24px; } }

.addr-text {
  display: flex; flex-direction: column; justify-content: center;
}
.addr-text .addr-h {
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 18px;
}
.addr-text .addr-name {
  font-size: 22px; font-weight: 700; margin-bottom: 6px;
}
.addr-text .addr-line {
  font-size: 15px; color: rgba(255,255,255,.75); margin-bottom: 24px;
  line-height: 1.6;
}
.addr-text .addr-link {
  align-self: flex-start;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(255,255,255,.3);
  padding-bottom: 2px;
  transition: border-color .3s, color .3s;
}
.addr-text .addr-link:hover { border-color: var(--gold); color: var(--white); }

.addr-map {
  position: relative;
  min-height: 280px;
  border: 1px solid rgba(255,255,255,.12);
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255,255,255,.04);
}
.addr-map iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(.25) contrast(1.05);
}

/* ============================================================
   FOOTER (with LinkedIn social)
   ============================================================ */
footer {
  background: #1a1a1a; color: rgba(255,255,255,.6);
  padding: 64px 32px 24px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.foot-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 50px;
}
@media (max-width: 800px) { .foot-inner { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 500px) { .foot-inner { grid-template-columns: 1fr; } }
.foot-col h5 {
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 18px;
}
.foot-brand img { height: 28px; margin-bottom: 18px; filter: brightness(0) invert(.85); }
.foot-brand p { font-size: 13px; line-height: 1.7; max-width: 280px; margin-bottom: 22px; }
.foot-brand .social {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.15);
  font-size: 12px; transition: all .25s;
}
.foot-brand .social:hover { border-color: var(--gold); color: var(--white); }
.foot-brand .social svg { width: 14px; height: 14px; }
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 10px; }
.foot-col li a { font-size: 13px; transition: color .25s; }
.foot-col li a:hover { color: var(--white); }
.foot-col .line { font-size: 13px; line-height: 1.7; margin-bottom: 4px; }
.foot-bottom {
  max-width: var(--max); margin: 50px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; letter-spacing: .05em; color: rgba(255,255,255,.4);
  flex-wrap: wrap; gap: 14px;
}

/* ============================================================
   MOBIL FINOMÍTÁSOK — desktop (>900px) PONTOSAN UGYANÚGY MARAD!
   Csak az alábbi media query-k aktívak kis képernyőkön / touch eszközökön.
   ============================================================ */

/* ----- 1) Hero: az F-logo reveal animáció a hero text alatt látszik mobilon -----
   Mátyás brand zászlóshajója, mobilon is megjelenik (méretre alapból szépen
   beleállna a `.f-anim-box max-width:460px aspect-ratio:1/1` szabályok miatt).
   A működésért: az IntersectionObserver indítja az animációt, amikor odagörget
   a user, és a polygonok kezdetben a végállapotban vannak — lásd site.js. */

/* ----- 2) About diamond: kisebb méret + szelídebb translate mobilon -----
   A min-height nagyobb, hogy a kinyíló sarokdarabok ne lógjanak rá a fenti szövegre.
   Plusz a `.about .head` gap-et is növeljük, hogy egyértelmű legyen a szeparáció. */
@media (max-width: 700px) {
  .about .head { gap: 50px; }
  .about-diamond-wrap { min-height: 280px; }
  .about-diamond { width: 190px; height: 190px; }
}

/* ----- 3) Flip cards (Megoldások): 1 oszlop, auto magasság, nagyobb szöveg ----- */
@media (max-width: 700px) {
  .cards { grid-template-columns: 1fr; gap: 16px; }
  .card { aspect-ratio: auto; min-height: 260px; }
  .card-face { padding: 26px 22px; }
  .card-front .name { font-size: 19px; line-height: 1.2; }
  .card-back .copy { font-size: 13px; line-height: 1.55; }
  .card-back .copy .quals { font-size: 12px; }
  .card-back .copy .svc { font-size: 11.5px; }
  .card-back .copy .svc strong { font-size: 10px; }
}

/* ----- 4) Touch eszközök (mobil, tablet): a `:hover` flip "stuck" probléma ellen -----
   A CSS `:hover` szabályok touch device-okon "ragadósak" lehetnek: az első érintés
   bekapcsolja, és nem oldódik fel a következő érintésig máshol. Ezért a touch eszközökön
   a hover-flip-et lekapcsoljuk, csak a JS-vel toggle-ozott `.flipped` osztály számít. */
@media (hover: none) {

  /* Csapatfotó: csak click-toggle */
  .member:hover .portrait-inner { transform: none; }
  .member.flipped .portrait-inner { transform: rotateY(180deg); }
  .member:hover .face-front { outline: none; }
  .member.flipped .face-front { outline: 2px solid var(--gold); outline-offset: -2px; }

  /* Megoldás flip cards: ugyanígy */
  .card:hover .card-inner { transform: none; }
  .card.flipped .card-inner { transform: rotateY(180deg); }

  /* About diamond: hover-szabályok érvénytelenítése, helyettük `.is-active` osztály
     (JS-vel toggle-ozzuk tap-re, mint a flip kártyáknál) */
  .about-diamond-wrap:hover .about-diamond .ad-sq { opacity: .08; }
  .about-diamond-wrap:hover .ad-sq.a1 { transform: none; background: var(--ink); }
  .about-diamond-wrap:hover .ad-sq.a2 { background: var(--ink); }
  .about-diamond-wrap:hover .ad-sq.a3 { transform: none; background: var(--ink); }
  .about-diamond-wrap:hover .ad-sq.a4 { background: var(--ink); }
  .about-diamond-wrap:hover .ad-sq.a5 { background: var(--ink); opacity: .08; }
  .about-diamond-wrap:hover .ad-sq.a6 { background: var(--ink); }
  .about-diamond-wrap:hover .ad-sq.a7 { transform: none; background: var(--ink); }
  .about-diamond-wrap:hover .ad-sq.a8 { background: var(--ink); }
  .about-diamond-wrap:hover .ad-sq.a9 { transform: none; background: var(--ink); }

  /* .is-active — a tap-pel aktivált verzió, mobilon kisebb translate.
     Opacity teljes 1.0, mert touch képernyőkön a 0.9 átlátszóság halványnak tűnik.
     A selector mélysége (`.about-diamond .ad-sq`) megegyezik a hover override-éval,
     így ugyanolyan súlyú — és mivel a CSS-ben később jön, nyer. */
  .about-diamond-wrap.is-active .about-diamond .ad-sq { opacity: 1; }
  .about-diamond-wrap.is-active .ad-sq.a1 { transform: translate(-14px, -14px); background: var(--ts-light); }
  .about-diamond-wrap.is-active .ad-sq.a2 { background: var(--ts-light); }
  .about-diamond-wrap.is-active .ad-sq.a3 { transform: translate(14px, -14px); background: var(--bs-light); }
  .about-diamond-wrap.is-active .ad-sq.a4 { background: var(--ts-dark); }
  .about-diamond-wrap.is-active .ad-sq.a5 { background: var(--gold); }
  .about-diamond-wrap.is-active .ad-sq.a6 { background: var(--bs-light); }
  .about-diamond-wrap.is-active .ad-sq.a7 { transform: translate(-14px, 14px); background: var(--ts-dark); }
  .about-diamond-wrap.is-active .ad-sq.a8 { background: var(--bs-dark); }
  .about-diamond-wrap.is-active .ad-sq.a9 { transform: translate(14px, 14px); background: var(--bs-dark); }
}

/* ============================================================
   ZÁRÓ FINOMÍTÁSOK (2026-05-21) — utolsó kör Klaudia/Mátyás/Anita kéréseire
   ============================================================ */

/* ----- Hero CTA gombok: kicsit nagyobbak és szélesebbek (EN-en "I'm looking for business cooperation" is elférjen egy sorban) ----- */
.cta {
  width: clamp(310px, 32vw, 420px);
  padding: 18px 28px;
  font-size: 14.5px;
}
.cta .label { white-space: nowrap; }

/* ----- Flip cards betűméret +0.5px (desktop nézet; mobil külön beállítva fent) ----- */
.card-front .name { font-size: 17.5px; }
.card-back .copy { font-size: 12px; }
.card-back .copy .quals { font-size: 11.5px; }
.card-back .copy .svc { font-size: 11px; }
.card-back .copy .svc strong { font-size: 10px; }

/* ----- Scroll-margin: amikor a hero CTA-ra kattintva ugrunk a formra, álljon meg úgy hogy az eyebrow + cím is látszódjon ----- */
#form-candidate,
#form-client {
  scroll-margin-top: 120px;
}

/* ----- "Vissza a tetejére" lebegő gomb ----- */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border: none;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity .25s, transform .25s, background .25s;
  z-index: 99;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(40,40,40,.18);
}
.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top-btn:hover { background: var(--gold); }
@media (max-width: 600px) {
  .scroll-top-btn { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}

/* ----- CV mező feltöltési visszajelzés ----- */
.field-file.uploaded {
  border-color: var(--ts-light);
  color: var(--ts-light);
  background: rgba(175, 203, 55, 0.08);
}
.field-file .cv-label-text { display: block; }

/* ============================================================
   JOGI OLDALAK (adatvédelmi, impresszum, sütik, ÁSZF)
   ============================================================ */
.legal-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 180px 32px 80px;
}
.legal-page .eyebrow {
  font-size: 13px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 18px;
}
.legal-page-title {
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 300; line-height: 1.1; letter-spacing: -.02em;
  margin-bottom: 40px;
}
.legal-content {
  font-size: 15.5px;
  line-height: 1.75;
  color: #333;
}
.legal-content h2 {
  font-size: 22px; font-weight: 700;
  margin: 36px 0 14px;
  color: var(--ink);
}
.legal-content h3 {
  font-size: 17px; font-weight: 600;
  margin: 26px 0 10px;
  color: var(--ink);
}
.legal-content h4 {
  font-size: 15px; font-weight: 600;
  margin: 20px 0 8px;
  color: #444;
}
.legal-content p {
  margin-bottom: 14px;
}
.legal-content a {
  color: var(--bs-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover { color: var(--gold); }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 28px;
  font-size: 14px;
}
.legal-table th,
.legal-table td {
  border: 1px solid #ddd;
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.legal-table th {
  background: var(--gray-2);
  font-weight: 700;
}
.legal-fallback-notice {
  padding: 16px 22px;
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  margin-bottom: 32px;
  font-size: 14px;
  line-height: 1.6;
  color: #5a4a00;
}
.legal-fallback-notice a {
  color: var(--bs-dark);
  text-decoration: underline;
}
.legal-placeholder {
  padding: 30px 28px;
  background: var(--gray-2);
  border-left: 4px solid var(--gold);
}
.legal-placeholder h3 {
  font-size: 18px; font-weight: 600; margin-bottom: 12px;
}
.legal-placeholder p {
  font-size: 15px; line-height: 1.7; color: #555;
}
.legal-back {
  display: inline-block;
  margin-top: 40px;
  font-size: 13px; font-weight: 600; letter-spacing: .05em;
  color: var(--gray);
  transition: color .25s;
}
.legal-back:hover { color: var(--ink); }

/* ============================================================
   COOKIE BANNER — egyszerű, alul rögzített csík
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 720px;
  margin: 0 auto;
  z-index: 9999;
  background: var(--ink);
  color: var(--white);
  padding: 20px 26px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  border-radius: 4px;
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-msg {
  flex: 1;
  min-width: 240px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.85);
  margin: 0;
}
.cookie-msg a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-ok {
  flex-shrink: 0;
  padding: 11px 24px;
  background: var(--white);
  color: var(--ink);
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.cookie-ok:hover {
  background: var(--gold);
  color: var(--white);
}
@media (max-width: 500px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 16px 18px; }
  .cookie-msg { font-size: 13px; }
}
