/* Magyar szövegű, célalapú nyitó választás */
.hero-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(760px, 100%);
  margin: 40px auto 0;
}

.choice-card {
  position: relative;
  display: flex;
  min-height: 154px;
  padding: 24px 64px 22px 24px;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 24px;
  color: #1d1d1f;
  text-align: left;
  text-decoration: none;
  border: 1px solid #e1e1e6;
  background: #f5f5f7;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.choice-card:hover {
  transform: translateY(-3px);
  border-color: #c9c9cf;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .09);
}

.choice-card:focus-visible {
  outline: 3px solid rgba(0, 113, 227, .28);
  outline-offset: 3px;
}

.choice-ops {
  color: #fff;
  border-color: #111114;
  background: #111114;
}

.choice-ops:hover {
  border-color: #111114;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .2);
}

.choice-label {
  font-size: 9px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 1.5px;
  opacity: .62;
}

.choice-card strong {
  margin-top: 20px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.12;
  letter-spacing: -.55px;
}

.choice-card small {
  margin-top: 9px;
  font-size: 11px;
  line-height: 1.4;
  opacity: .62;
}

.choice-card > b {
  position: absolute;
  right: 24px;
  bottom: 24px;
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
  transition: transform .25s ease;
}

.choice-card:hover > b {
  transform: translateX(4px);
}

@media (max-width: 800px) {
  .hero-choices {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .choice-card {
    min-height: 142px;
  }
}

/* Reklámvideó-szolgáltatás */
.service-video {
  color: #fff;
  background: #111114;
}

.service-video p {
  color: #aaaab0;
}

.service-video li {
  border-color: #343439;
}

.video-visual {
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(111, 92, 255, .9), transparent 34%),
    radial-gradient(circle at 16% 82%, rgba(255, 53, 139, .68), transparent 36%),
    linear-gradient(145deg, #151520, #060607 70%);
}

.video-visual::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  transform: translate(110px, -120px);
}

.video-phone {
  position: relative;
  width: 230px;
  height: 430px;
  padding: 9px;
  border-radius: 38px;
  background: #09090b;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 34px 80px rgba(0, 0, 0, .55);
  transform: rotate(3deg);
  z-index: 2;
}

.video-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 30px;
  background:
    linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .72)),
    radial-gradient(circle at 35% 28%, #ff9865, transparent 24%),
    radial-gradient(circle at 68% 42%, #8b4fff, transparent 31%),
    linear-gradient(145deg, #ff3d81, #1a56c8 68%, #101014);
}

.video-frame::before,
.video-frame::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
}

.video-frame::before { width: 170px; height: 170px; right: -72px; top: 50px; }
.video-frame::after { width: 110px; height: 110px; left: -38px; top: 135px; }
.video-brand { position: absolute; left: 20px; top: 20px; font-size: 12px; font-weight: 850; letter-spacing: -.4px; }
.video-message { position: absolute; left: 20px; right: 20px; bottom: 82px; z-index: 2; }
.video-message small { display: block; color: rgba(255, 255, 255, .7); font-size: 7px; font-weight: 800; letter-spacing: 1.2px; }
.video-message strong { display: block; margin-top: 9px; font-size: 28px; line-height: .94; letter-spacing: -1.4px; }
.video-play { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; left: 50%; top: 43%; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255, 255, 255, .92); color: #111; font-size: 14px; padding-left: 2px; box-shadow: 0 14px 35px rgba(0, 0, 0, .25); z-index: 3; }
.video-progress { position: absolute; left: 20px; right: 20px; bottom: 26px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .28); }
.video-progress i { display: block; width: 42%; height: 100%; border-radius: inherit; background: #fff; }
.video-bubble {
  position: absolute;
  z-index: 5;
  min-width: 154px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 18px;
  color: #17171b;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px);
}

.video-bubble strong,
.video-bubble small { display: block; }

.video-bubble strong {
  font-size: 12px;
  line-height: 1.15;
}

.video-bubble small {
  margin-top: 4px;
  color: #65656b;
  font-size: 9px;
  line-height: 1.25;
  white-space: nowrap;
}

.video-bubble-format { right: 18px; top: 116px; }
.video-bubble-caption { left: 20px; bottom: 66px; }

.video-bubble-hook {
  right: 18px;
  bottom: 126px;
  color: #fff;
  border-color: rgba(255, 255, 255, .22);
  background: rgba(0, 113, 227, .92);
  box-shadow: 0 18px 42px rgba(0, 90, 190, .34);
}

.video-bubble-hook small { color: rgba(255, 255, 255, .68); }

/* Korábbi munkák */
.work {
  padding: 35px 0 145px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.portfolio-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  margin-bottom: 28px;
}

.portfolio-toolbar .eyebrow { margin-bottom: 13px; }

.portfolio-toolbar h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -2.7px;
}

.portfolio-toolbar > div:first-child > p:last-child {
  max-width: 660px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.portfolio-totals {
  display: flex;
  gap: 10px;
  padding-bottom: 4px;
}

.portfolio-totals span {
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font-size: 12px;
  white-space: nowrap;
}

.portfolio-totals b { color: var(--ink); font-size: 14px; }

.portfolio-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  padding: 7px;
  border-radius: 18px;
  background: var(--paper);
}

.portfolio-filters button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 13px;
  color: #5f5f64;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.portfolio-filters button span {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  color: #777;
  background: rgba(0, 0, 0, .06);
  font-size: 10px;
}

.portfolio-filters button:hover { color: var(--blue); }

.portfolio-filters button.is-active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.portfolio-filters button.is-active span { color: #fff; background: var(--blue); }

.work-card[hidden] { display: none !important; }

.work-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border-radius: 30px;
  color: var(--ink);
  background: var(--paper);
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
}

.work-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .12);
}

.work-card:focus-visible {
  outline: 3px solid rgba(0, 113, 227, .3);
  outline-offset: 4px;
}

.work-preview {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.website-preview {
  display: grid;
  place-items: center;
  padding: 46px 40px 0;
  background: linear-gradient(145deg, #e8efe9, #bdcbbd);
}

.preview-tress { background: linear-gradient(145deg, #f4ead3, #d4b879); }
.preview-christ { background: linear-gradient(145deg, #30205d, #d6a93f); }

.project-browser {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background: #f8f5ed;
  box-shadow: 0 28px 60px rgba(37, 54, 39, .22);
}

.project-browser-top {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  background: #fff;
  color: #8a8a84;
  font-size: 8px;
}

.project-browser-top i { width: 6px; height: 6px; border-radius: 50%; background: #d8d8d4; }
.project-browser-top span { margin-left: 8px; }
.live-site-stage { position: relative; height: calc(100% - 32px); overflow: hidden; background: #fff; }
.site-preview-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.live-preview-label { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 999px; color: #fff; background: rgba(18, 18, 20, .76); backdrop-filter: blur(12px); font-size: 8px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.live-preview-label i { width: 7px; height: 7px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 4px rgba(52, 199, 89, .18); }
.firewood-page { position: relative; min-height: 370px; padding: 24px 30px; color: #173321; background: linear-gradient(90deg, rgba(248,245,237,.98) 0 58%, rgba(248,245,237,.15)), linear-gradient(135deg, #a46d38, #3e5c3c); }
.firewood-nav { display: flex; align-items: center; justify-content: space-between; font-size: 7px; }
.firewood-nav b { font-size: 10px; letter-spacing: .3px; }
.firewood-page > small { display: block; margin-top: 56px; color: #6d7c70; font-size: 7px; font-weight: 800; letter-spacing: 1px; }
.firewood-page h3 { position: relative; z-index: 2; max-width: 310px; margin: 10px 0 8px; font-size: clamp(27px, 3.3vw, 42px); line-height: .98; letter-spacing: -1.8px; }
.firewood-page p { position: relative; z-index: 2; max-width: 260px; color: #526357; font-size: 9px; line-height: 1.45; }
.firewood-page em { position: relative; z-index: 2; display: inline-block; margin-top: 18px; padding: 9px 13px; border-radius: 999px; color: #fff; background: #be5d28; font-size: 8px; font-style: normal; font-weight: 750; }
.wood-mark { position: absolute; right: 8%; bottom: 14%; width: 145px; height: 145px; }
.wood-mark i { position: absolute; width: 88px; height: 26px; border-radius: 50px; border: 5px solid #c78c51; background: #e5bf88; box-shadow: inset 0 0 0 2px #8f582c; transform: rotate(-24deg); }
.wood-mark i:nth-child(1) { left: 0; bottom: 8px; }
.wood-mark i:nth-child(2) { right: 0; bottom: 22px; transform: rotate(22deg); }
.wood-mark i:nth-child(3) { left: 5px; bottom: 67px; transform: rotate(17deg); }
.wood-mark i:nth-child(4) { right: 8px; bottom: 76px; transform: rotate(-18deg); }

.film-preview {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #111117, #251331);
}

.film-orb { position: absolute; border-radius: 50%; filter: blur(3px); }
.film-orb-one { width: 260px; height: 260px; top: -110px; right: -70px; background: rgba(126, 77, 255, .72); }
.film-orb-two { width: 230px; height: 230px; bottom: -120px; left: -70px; background: rgba(255, 66, 135, .62); }
.film-phone { position: relative; width: 175px; height: 318px; overflow: hidden; border: 6px solid #08080a; border-radius: 30px; color: #fff; background: radial-gradient(circle at 28% 28%, #ff9564, transparent 23%), radial-gradient(circle at 72% 43%, #834cff, transparent 31%), linear-gradient(155deg, #ff377c, #174eb4 72%, #0b0b0e); box-shadow: 0 30px 60px rgba(0, 0, 0, .46); transform: rotate(3deg); z-index: 2; }
.film-phone > span { position: absolute; left: 16px; top: 17px; font-size: 10px; font-weight: 850; }
.film-phone > div { position: absolute; left: 16px; right: 14px; bottom: 25px; }
.film-phone small { display: block; margin-bottom: 8px; color: rgba(255, 255, 255, .65); font-size: 6px; font-weight: 800; letter-spacing: 1px; }
.film-phone strong { display: block; font-size: 19px; line-height: .98; letter-spacing: -.7px; white-space: nowrap; }
.film-phone > i { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; left: 50%; top: 42%; transform: translate(-50%, -50%); border-radius: 50%; color: #111; background: #fff; font-size: 12px; font-style: normal; padding-left: 2px; }

.work-copy {
  display: flex;
  min-height: 235px;
  padding: 30px 34px 34px;
  flex-direction: column;
  align-items: flex-start;
}

.work-copy > span { color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: 1.4px; }
.work-copy h3 { margin: 13px 0 10px; font-size: 31px; line-height: 1; letter-spacing: -1.1px; }
.work-copy p { margin: 0; max-width: 520px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.work-copy .work-link { margin-top: auto; color: var(--blue); font-size: 13px; font-weight: 750; text-decoration: none; }
.work-copy .work-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Attention-grabbing references kept beside the service they demonstrate. */
.service-reference {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 86px;
  margin-top: 22px;
  padding: 13px 14px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #0069d8, #1594ff);
  box-shadow: 0 15px 34px rgba(0, 113, 227, .24);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.service-reference::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 120px;
  height: 120px;
  right: -45px;
  top: -62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
}

.service-reference:hover {
  transform: translateY(-3px);
  filter: saturate(1.08);
  box-shadow: 0 20px 42px rgba(0, 113, 227, .32);
}

.reference-symbol {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, .16);
  font-size: 17px;
  font-style: normal;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
}

.reference-text {
  position: relative;
  z-index: 1;
  display: block;
  min-width: 0;
}

.reference-text small {
  display: block;
  color: rgba(255, 255, 255, .72);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 1.15px;
  text-transform: uppercase;
}

.reference-text strong {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reference-text em {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, .8);
  font-size: 9px;
  font-weight: 650;
  font-style: normal;
}

.service-reference > b {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #0069d8;
  background: #fff;
  font-size: 17px;
  font-weight: 500;
}

.service-video .service-reference {
  color: #fff;
  border-color: rgba(255, 255, 255, .24);
  background: linear-gradient(135deg, #006ee6, #654cff 62%, #b536bb);
  box-shadow: 0 15px 38px rgba(45, 44, 210, .28);
}

.service-video .service-reference:hover { box-shadow: 0 21px 46px rgba(81, 62, 224, .4); }
.service-video .service-reference > b { color: #5645dd; }

/* Dedicated work page. */
.portfolio-page .navlinks a[aria-current="page"] {
  color: var(--blue);
  font-weight: 700;
}

.portfolio-hero { padding: 150px 0 78px; }

.portfolio-hero h1 {
  margin: 0;
  font-size: clamp(54px, 8vw, 92px);
  line-height: .98;
  letter-spacing: -5px;
}

.portfolio-hero h1 span { color: var(--blue); }

.portfolio-hero > p:not(.eyebrow) {
  max-width: 720px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.45;
}

.portfolio-back {
  display: inline-block;
  margin-top: 28px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.portfolio-work,
.portfolio-contact { padding-top: 0; }

.work-card { scroll-margin-top: 90px; }

@media (max-width: 900px) {
  .work-grid { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .video-phone { width: 210px; height: 390px; }
  .video-bubble { min-width: 134px; padding: 10px 12px; }
  .video-bubble strong { font-size: 11px; }
  .video-bubble small { font-size: 8px; }
  .video-bubble-format { right: 10px; top: 82px; }
  .video-bubble-caption { left: 10px; bottom: 42px; }
  .video-bubble-hook { right: 10px; bottom: 102px; }
  .work { padding: 20px 0 105px; }
  .portfolio-toolbar { grid-template-columns: 1fr; gap: 20px; }
  .portfolio-toolbar h2 { letter-spacing: -1.8px; }
  .portfolio-toolbar > div:first-child > p:last-child { font-size: 15px; }
  .portfolio-totals { padding-bottom: 0; }
  .portfolio-filters { gap: 4px; padding: 6px; overflow: visible; }
  .portfolio-filters button { flex: 1 1 0; min-width: 0; justify-content: center; gap: 6px; padding: 0 8px; font-size: 12px; }
  .portfolio-filters button span { min-width: 21px; height: 21px; padding: 0 5px; }
  .work-preview { height: 330px; }
  .website-preview { padding: 28px 18px 0; }
  .firewood-page { padding: 20px; }
  .firewood-page > small { margin-top: 42px; }
  .firewood-page h3 { max-width: 245px; font-size: 29px; }
  .firewood-nav span { display: none; }
  .wood-mark { opacity: .78; right: -15px; }
  .work-copy { min-height: 225px; padding: 26px; }
  .portfolio-hero { padding: 120px 0 55px; }
  .portfolio-hero h1 { letter-spacing: -2.8px; }
  .portfolio-work { padding-top: 0; }
}
