/* INFINITY CREATIVE — FŐ STÍLUSLAP

01. ALAPOK ÉS GLOBÁLIS BEÁLLÍTÁSOK
02. KÖZÖS ELRENDEZÉSEK, TIPOGRÁFIA ÉS LINKEK
03. FEJLÉC, NAVIGÁCIÓ ÉS MOBILMENÜ
04. BETÖLTŐ KÉPERNYŐ
05. NYITÓ SZEKCIÓ ÉS FÁZISCÍMEK
06. CÉGÜNKRŐL ÉS LAPTOP
07. SZOLGÁLTATÁSKÁRTYÁK
08. SZOLGÁLTATÁS MODAL ABLAKOK
09. MIÉRT MINKET ÉS KÖZÖS LISTAIKONOK
10. ÖTLETEK SZEKCIÓ
11. KAPCSOLAT ÉS ŰRLAP
12. LÁBLÉC ÉS JOGI OLDALAK
13. PLEXUS HÁTTÉR ÉS VEZÉRLŐ

Minden fejezetben: alapstílusok, majd reszponzív és hozzáférhetőségi változatok.
A JavaScript által számolt animációs értékek a vezérlő fájlokban maradnak. */
/* ================================================================
01. ALAPOK ÉS GLOBÁLIS BEÁLLÍTÁSOK
================================================================ */

:root {
  color-scheme: dark;
  font-family: "Google Sans", Arial, Helvetica, sans-serif;
  background: #101318;
  color: #f2f3f5;
  --page-gutter: clamp(24px, 8vw, 140px);
  --site-header-height: 80px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
}

button {
  -webkit-tap-highlight-color: transparent;
  font: inherit;
}

a {
  -webkit-tap-highlight-color: transparent;
  transition: all 0.3s ease;
}

button:focus-visible {
  outline: 2px solid #bed6ff;
  outline-offset: 5px;
}

a:focus-visible {
  outline: 2px solid #bed6ff;
  outline-offset: 5px;
}

main:focus {
  outline: none;
}

[data-slide]:focus {
  outline: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  padding: 14px 20px;
  color: #18202e;
  background: #e7ecf4;
  border-radius: 8px;
  transform: translateY(-160%);
  z-index: 50;
}

.skip-link:focus {
  transform: translateY(0);
}

.no-script {
  margin: 0;
  padding: 28px var(--page-gutter);
  background: #101318;
  color: #dce3ed;
  font-size: 16px;
  line-height: 1.6;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  padding: 0;
  margin: 0;
  border: 0;
  color: #f2f3f5;
  background: transparent;
  overflow: auto;
  overscroll-behavior: contain;
}

.mobile-menu:not([open]) {
  display: none;
}

.mobile-menu::backdrop {
  background: #080c1280;
}

.mobile-menu__panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: max(22px, env(safe-area-inset-top)) max(28px, env(safe-area-inset-right)) max(30px, env(safe-area-inset-bottom)) max(28px, env(safe-area-inset-left));
  background: #10131803;
  backdrop-filter: blur(16px);
  transform: translateX(-100%);
  transition: transform .38s cubic-bezier(.22,1,.36,1);
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-block: clamp(24px, 6vh, 64px);
}

.mobile-menu nav a {
  color: #dbe4ee;
  font-size: clamp(24px, 5.5vw, 38px);
  line-height: 1.25;
  padding-block: 10px;
  text-decoration: none;
}

.mobile-menu nav a[aria-current] {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 1px;
}

.mobile-menu nav a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 1px;
}

.mobile-menu__bottom {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid #ffffff25;
}
/* ================================================================
02. KÖZÖS ELRENDEZÉSEK, TIPOGRÁFIA ÉS LINKEK
================================================================ */

.text-section {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: clamp(88px, 12svh, 144px) var(--page-gutter);
  padding-bottom: max(120px, 12svh);
  background: #151a22;
  padding-top: max(88px, calc(var(--site-header-height) + 32px));
}

.text-section__inner {
  width: min(100%, 960px);
  margin-inline: auto;
  max-width: 1400px;
  width: 100%;
}

.section-number {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .14em;
  line-height: 1.5;
  opacity: .72;
}

.text-section h1 {
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.035em;
  margin: 30px 0;
}

.text-section h2 {
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.035em;
  margin: 30px 0;
}

.text-section p {
  max-width: 680px;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.65;
  opacity: .8;
  margin: 0 0 18px;
}

.text-section p:last-child {
  margin-bottom: 0;
}

.text-section--light {
  color-scheme: light;
  background: #e7ecf4;
  color: #18202e;
}

.text-section--accent {
  background: #263b3d;
  color: #ecf0ed;
  background-image:url("./assets/bp2.webp");
    background-size:cover;
    background-position: bottom center;
}

.section--accent { 
    
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 88px);
}

.split-layout h1 {
  font-size: clamp(36px, 4.3vw, 64px);
}

.split-layout h2 {
  font-size: clamp(36px, 4.3vw, 64px);
}

.section-copy {
  min-width: 0;
}

.section-copy p {
  font-size: clamp(17px, 1.4vw, 20px);
}

.text-link {
  transition: all 0.3s ease-out;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: inherit;
  text-decoration: none;
  border: 1px solid #ffffff38;
  border-radius: 25px;
  padding-block: 8px;
  font-size: 14px;
  line-height: 1.5;
  backdrop-filter: blur(10px);
  text-transform: uppercase;
  padding-left: 20px;
  padding-right: 20px;
}

.text-link span {
  transition: all 0.3s ease-out;
  border-left: 1px solid #ffffff38;
  padding-left: 15px;
  padding-right: 5px;
}

.text-link:hover {
  opacity: .72;
}

.text-link:hover span {
  padding-left: 20px;
  padding-right: 5px;
}

.section-copy > .text-link {
  margin-top: 20px;
}

.section-image {
  position: relative;
  margin: 0;
  min-width: 0;
}

.section-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 66svh;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  border-radius: 2px;
}

.section-image figcaption {
  position: absolute;
  bottom: 20px;
  left: 24px;
  right: 20px;
  color: #e7ece9;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.divider {
  position: absolute!important;
  bottom: 0;
  left: 0;
  width: 100%;
  pointer-events:none;
}

.divider-top {
  position: absolute!important;
  top: -1px;
  left: 0;
  width: 100%;
  pointer-events:none;
}
/* Reszponzív és hozzáférhetőségi változatok */

@media (max-width: 600px) {
  .text-section {
    padding-bottom: 124px;
  }
  .text-section h1 {
    margin-block: 24px;
  }
  .text-section h2 {
    margin-block: 24px;
  }
}

@media (max-width: 760px) {
  .split-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .split-layout h1 {
    font-size: clamp(36px, 7vw, 54px);
  }
  .split-layout h2 {
    font-size: clamp(36px, 7vw, 54px);
  }
  .section-image img {
    max-height: 65svh;
    aspect-ratio: 5 / 4;
  }
}
/* ================================================================
03. FEJLÉC, NAVIGÁCIÓ ÉS MOBILMENÜ
================================================================ */

.site-header {
  z-index: 30;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1527px;
  margin: 0 auto;
  color: #f2f3f5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 20px;
  padding: 18px clamp(24px, 3vw, 64px);
}

.site-header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0 auto;
  right: 0;
}

.site-header--fixed {
  position: fixed;
  top: 20px;
  left: 10px;
  right: 10px;
  width: auto;
  border-radius: 50px;
  background: #10131810;
  backdrop-filter: blur(16px);
  box-shadow: 0 6px 24px #0002;
  transform: translateY(calc(-100% - 20px));
  visibility: hidden;
  transition: transform .45s cubic-bezier(.22,1,.36,1), visibility 0s .45s;
}

.site-header--fixed.is-visible {
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0s;
}

.site-brand {
  color: inherit;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.02em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.site-brand span {
  font-weight: 400;
  color: #b9c7d7;
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px clamp(12px, 2vw, 28px);
}

.site-header nav a {
  color: #d0d7e1;
  text-decoration: none;
  font-size: 13px;
  padding: 10px 0;
  line-height: 1.5;
  border-bottom: 1px solid transparent;
  text-transform: uppercase;
  font-weight: 800;
}

.site-header nav a:hover {
  color: #fff;
  border-bottom-color: #c6d7ed;
}

.site-header nav a[aria-current] {
  color: #fff;
  border-bottom-color: #c6d7ed;
}

.site-header .site-brand {
  justify-self: start;
}

.site-header .desktop-menu {
  justify-content: center;
  flex-wrap: nowrap;
  gap: 18px;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  justify-self: end;
}

.header-phone {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  font-weight: bold;
}

.quote-button {
  transition: all 0.3s ease;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #d0ddea;
  background: transparent;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
}

.quote-button:hover {
  background: #bed6ff3b;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px 9px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 1px;
  width: 24px;
  background: currentColor;
  margin-block: 5px;
}

.menu-close {
  width: 60px;
  height: 60px;
  border: none;
  color: #f2f3f5;
  background: transparent;
  font-size: 50px;
  cursor: pointer;
}

.mobile-phone {
  color: #f2f3f5;
  font-size: 22px;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.mobile-menu .quote-button {
  min-height: 50px;
}

html.mobile-menu-open {
  overflow: hidden;
}

.brand-logo {
  display: block;
  width: 156px;
  max-width: 100%;
  height: auto;
}
/* Reszponzív és hozzáférhetőségi változatok */

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .site-header nav {
    justify-content: flex-start;
    gap: 0 17px;
  }
  .site-header nav a {
    font-size: 12px;
    padding-block: 7px;
  }
  .site-brand {
    font-size: 16px;
  }
}

@media (max-width: 1199px) {
  .site-header--fixed {
    top: 15px;
    left: 10px;
    right: 10px;
  }
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 14px 24px;
    align-items: center;
  }
  .site-header .desktop-menu {
    display: none;
  }
  .site-header .header-actions {
    display: none;
  }
  .menu-toggle {
    display: block;
    justify-self: end;
  }
}

@media (max-width: 600px) {
  .site-brand .brand-logo {
    width: 100%;
    max-width: 180px;
  }
}

@media (min-width: 600px) {
  .site-brand .brand-logo {
    width: 100%;
    max-width: 280px;
  }
}
/* ================================================================
04. BETÖLTŐ KÉPERNYŐ
================================================================ */

.page-preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  width: 100vw;
  height: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  padding: 24px;
  margin: 0;
  border: 0;
  outline: none;
  background-color: #030812;
  background-image: none;
  background-position:center;
  background-size:cover;
  color: #f2f3f5;
  opacity: 1;
  transition: opacity .3s ease;
}

.page-preloader:not([open]) {
  display: none;
}

.page-preloader::backdrop {
  background: transparent;
}

.page-preloader:not(.is-managed) {
  animation: preloader-fail-open 0s 12s forwards;
}

.page-preloader.is-complete {
  opacity: 0;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.preloader-content { width: min(100%, 180px); gap: 10px; }
.preloader-infinity { width: 240px; max-width: 100%; height: auto; overflow: visible; }
.infinity-track { stroke: #a2bad724; stroke-width: 3; }
.infinity-light, .infinity-glow {
  stroke: url(#loader-light); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 24 76;
  animation: infinity-flow 2.4s linear infinite;
  filter: blur(1px);
}
.infinity-glow { stroke-width: 8; filter: blur(10px); opacity: .65; }
.preloader-progress {
  position: relative; isolation: isolate; width: 100%; height: 28px;
  overflow: hidden; border: 1px solid #b9d8f32e; border-radius: 999px;
  background: #0c142080; box-shadow: inset 0 1px 5px #0003;
  backdrop-filter: blur(10px);
}
.preloader-progress__fill {
  position: absolute; inset: 0; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, #397da1, #7166a2);
  transition: transform .18s linear;
}
.preloader-progress__value {
  position: relative; display: grid; place-items: center; height: 100%;
  color: #fff; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 3px #0009;
}
@keyframes infinity-flow { to { stroke-dashoffset: -100; } }
@media (prefers-reduced-motion: reduce) {
 /*.infinity-light, .infinity-glow { animation: none; stroke-dasharray: none; }*/
  /*.preloader-progress__fill { transition: none; }*/
}

.preloader-brand {
  font-size: 20px;
  letter-spacing: -.03em;
}

.preloader-brand span {
  color: #b9c7d7;
  font-weight: 300;
}

.preloader-label {
  color: #a8b7c8;
  font-size: 12px;
  letter-spacing: .12em;
}

html.page-loading {
  overflow: hidden;
}

@keyframes preloader-fail-open {
  to {
    visibility: hidden;
    pointer-events: none;
  }
}

html:not(.js-available) .page-preloader {
  display: none !important;
}
/* ================================================================
05. NYITÓ SZEKCIÓ ÉS FÁZISCÍMEK
================================================================ */

.fullscreen-video {
  top: 0;
  left: 0;
  width: 100vw;
  height: 100svh;
  object-fit: cover;
  pointer-events: none;
  position: absolute;
}

.scroll-header {
  position: relative;
  height: 100svh;
  background: transparent;
  overflow: hidden;
}

.scroll-header__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.scroll-header__canvas {
  position: absolute;
  inset: 0;
}

.scroll-header__canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.phase-layers {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  width:100vw;
  height:100vh;
  left:0;
  top:0;
}
.phase-layer {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
  width:100vw;
  height:100vh;
  left:0;
  top:0;
}
.phase-layer.is-active {
  opacity: 1;
}
.phase-layer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  pointer-events: none;
}
.scroll-header__canvas {
  cursor: grab;
  touch-action: pan-y pinch-zoom;
  user-select: none;
}
/* Separate replaceable text artwork, above the original phase pictures. */
.phase-text-layer {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  opacity: 0;
  transform: translateY(14px);
  /* Reset the position only after the outgoing fade has finished. */
  transition: opacity .35s ease, transform 0s linear .35s;
}
.phase-text-layer.is-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .4s ease .18s, transform .45s ease .18s;
}
.phase-text-layer--second {
  z-index: 2;
}
.phase-text-layer--second.is-active {
  transition-delay: .36s, .36s;
}
.phase-text-layer img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100svh;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
}
@starting-style {
  .phase-text-layer.is-active {
    opacity: 0;
    transform: translateY(14px);
  }
}
.scroll-header__canvas.is-dragging { cursor: grabbing; }
/* The phase labels use only an opacity crossfade in every motion mode. */

.scroll-header__bottom {
  position: absolute;
  left: clamp(20px, 4vw, 72px);
  right: clamp(20px, 4vw, 72px);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 1;
  font-size: 14px;
  display: none;
  pointer-events: none;
  bottom: 34px;
}

.scroll-header__hint {
  display: flex;
  gap: 20px;
  align-items: center;
}

.scroll-header__hint span {
  display: none;
  font-size: 24px;
}

.scroll-header__count {
  display: none;
}

.scroll-header__track {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #ffffff18;
}

.scroll-header__progress {
  display: none!important;
  height: 100%;
  background: #b9ccef;
  transform: scaleX(0);
  transform-origin: left;
}

.scroll-header__status {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 18px 24px;
  max-width: 90%;
  background: #101318e8;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}

.scroll-header__status[hidden] {
  display: none;
}

#animated-header .scroll-header__canvas {
  z-index: 1;
}

#animated-header .phase-layers {
  z-index: 2;
}

#animated-header .scroll-header__status {
  z-index: 2;
}

#animated-header .scroll-header__bottom {
  z-index: 2;
}

#animated-header .scroll-header__track {
  z-index: 2;
}
/* Reszponzív és hozzáférhetőségi változatok */

@media (max-width: 600px) {
.phase-title {
    font-size: clamp(20px, 5.5vw, 26px);
    letter-spacing: .03em;
  }
  .scroll-header__bottom {
    gap: 12px;
    font-size: 12px;
  }
  .scroll-header__hint {
    gap: 14px;
  }
}

@media (max-width: 760px) {
}

@media (max-width: 900px) {
  #animated-header .scroll-header__bottom {
    bottom: max(86px, calc(env(safe-area-inset-bottom) + 70px));
  }
}
/* ================================================================
06. CÉGÜNKRŐL ÉS LAPTOP
================================================================ */

.about-laptop {
  min-width: 0;
  isolation: isolate;
  background-image: url(./assets/color.webp);
  background-size: contain;
  background-repeat: no-repeat;
}

.about-laptop > img {
  width: 100%;
  height: clamp(320px, 62svh, 720px);
  max-height: none;
  object-fit: cover;
}

.about-laptop__canvas {
  position: absolute;
  pointer-events: none;
  inset: -24px -10% 28px;
  transform: scale(1.7);
  transform-origin: center;
}

.about-laptop__canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.about-laptop.laptop-ready > img {
  visibility: hidden;
}

.about-laptop .about-laptop__status {
  display: none;
  position: absolute;
  inset: auto 16px 66px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 4px;
  background: #101318dd;
  color: #eef3fa;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.about-laptop__status[hidden] {
  display: none;
}

.about-laptop figcaption {
  bottom: 16px;
  left: 0;
  right: 0;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
  letter-spacing: .08em;
}

.about-laptop figcaption span {
  margin-left: 8px;
}

.about-laptop__track {
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: #ffffff25;
  display: none!important;
}

.about-laptop__progress {
  display: block;
  height: 100%;
  background: #bed6ff;
  transform: scaleX(0);
  transform-origin: left;
}

.about-laptop__status {
  display: none!important;
}

#bemutatkozas {
  overflow: clip;
}

.section-about {
  padding-top: 80px;
  background-image: url(./assets/bg1.webp);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

.about-laptop-placeholder {
  opacity: 0;
}
/* Reszponzív és hozzáférhetőségi változatok */

@media (max-width: 760px) {
  .about-laptop > img {
    height: clamp(400px, 44svh, 640px);
    aspect-ratio: auto;
  }
  .about-laptop__canvas {
    inset: -12px -5% 28px;
  }
  .about-laptop__canvas {
    transform: scale(1.6);
  }
}
/* ================================================================
07. SZOLGÁLTATÁSKÁRTYÁK
================================================================ */

.services-section h2 {
  font-size: clamp(40px, 5.5vw, 76px);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 46px;
  gap: 10px;
}

.service-card {
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 20px;
  color: #fff;
  border-radius: 20px;
  isolation: isolate;
  overflow: hidden;
}



.service-index {
  padding-top: 11vh;
  font-size: 12px;
  letter-spacing: .1em;
  opacity: .6;
}

.service-symbol {
  display: block;
  margin-block: 24px 20px;
  font-size: 44px;
  line-height: 1;
  font-family: "Google Sans", Arial, sans-serif;
  font-weight: 400;
}

.service-card h3 {
  font-size: clamp(19px, 1.8vw, 50px);
  font-weight: 500;
  margin: 0 0 18px;
  letter-spacing: -.025em;
}

.service-card p {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 24px;
}

.service-card .text-link {
  margin-top: auto;
  font-size: 13px;
}

.services-section {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-top: 80px;
}

.parallax::before {
  content: '';
  position: absolute;
  inset: calc(-1 * var(--parallax-overscan, 80px)) 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--parallax-image, none);
  background-position: var(--parallax-position, center);
  background-size: cover;
  background-repeat: no-repeat;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.services-section .text-section__inner { 
    color:#fff;
}

/* Service video backgrounds and pricing */
.service-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
  opacity: 0.8;
  transition: opacity .3s ease;
}

.service-pricing {
  padding: clamp(36px, 5vw, 80px) clamp(24px, 5vw, 84px);
  background: #edf0f4;
  border-top: 1px solid #18202e20;
}
.service-dialog .service-pricing h2 {
  font-size: clamp(30px, 3.5vw, 52px);
}
.service-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.service-pricing__grid--single { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.service-price {
  min-width: 0;
  padding: clamp(22px, 3vw, 40px);
  border: 1px solid #18202e25;
  border-radius: 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.service-price h3 { margin: 0 0 22px; font-size: 22px; font-weight: 500; }
.service-dialog .service-price__amount { color: #18202e; font-size: clamp(23px, 2.5vw, 34px); line-height: 1.2; font-weight: 500; }
.service-price ul { padding-left: 20px; margin: 4px 0 30px; color: #455266; line-height: 1.8; }
.service-price .text-link { margin-top: auto; }
.service-dialog .service-pricing__note { margin: 24px 0 0; font-size: 14px; }


.service-dialog__close {
  color: #fff;
  background: rgb(8 14 24 / 55%);
  border-color: rgb(255 255 255 / 40%);
}
.service-dialog__close:hover { background: rgb(8 14 24 / 80%); }
@media (max-width: 760px) {
  .service-dialog__visual figcaption {
    inset: 0;
    padding: 72px 24px;
  }
  .service-dialog__visual h2 { margin: 0; }
}

.service-card { background: #080e18; }
@media (hover: hover) and (pointer: fine) {
  .service-card:hover .service-card__video { opacity: .4; }
}
@media (prefers-reduced-motion: reduce) {
  .parallax::before { transform: none; }
}

/* Reszponzív és hozzáférhetőségi változatok */

@media (max-width: 1000px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .service-pricing__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 5px 5px;
  }
  .service-symbol {
    margin-block: 20px 16px;
  }
  .service-card h3 {
    font-size: 33px;
    overflow-wrap: anywhere;
  }
  .service-card p {
    font-size: 14px;
  }
  .service-card .text-link {
    font-size: 12px;
    gap: 8px;
  }
  .service-index {
    padding-top: 0px;
  }
}

@media (max-width: 760px) {
  .services-section {
    --page-gutter: clamp(12px, 3vw, 136px);
  }
}





@media (prefers-reduced-motion: reduce) {
  
  .service-card:hover::before, 
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .service-card {
    transform: perspective(1100px) translate3d(var(--card-hover-x, 0px), var(--card-hover-y, 0px), var(--card-hover-z, 0px)) rotateX(var(--card-hover-rx, 0deg)) rotateY(var(--card-hover-ry, 0deg));
    transform-origin: center;
    transition: transform .65s cubic-bezier(.22, 1, .36, 1);
  }
}
/* ================================================================
08. SZOLGÁLTATÁS MODAL ABLAKOK
================================================================ */

html.service-dialog-open {
  overflow: hidden;
  overscroll-behavior: none;
  scrollbar-gutter: auto;
}

html.service-dialog-open body {
  overflow: hidden;
  overscroll-behavior: none;
}

.service-dialog {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #e7ecf4;
  color: #18202e;
  color-scheme: light;
  overflow: hidden;
}

.service-dialog:not([open]) {
  display: none;
}

.service-dialog::backdrop {
  background: #101318;
}

.service-dialog__scroll {
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.service-dialog__scroll:focus-visible {
  outline: 2px solid #526e92;
  outline-offset: -4px;
}

.service-dialog__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.service-dialog__visual {
  position: relative;
  height: clamp(300px, 48svh, 600px);
  margin: 0;
  background: #0f264d;
}

.service-dialog__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-dialog__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(8 14 24 / 45%);
  pointer-events: none;
}

.service-dialog__visual figcaption {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 72px 24px;
  text-align: center;
}

.service-dialog__visual h2 {
  color: #fff;
  margin: 0;
  font-size: clamp(36px, 6vw, 88px);
  text-shadow: 0 2px 24px rgb(0 0 0 / 30%);
}

.service-dialog p.service-dialog__tagline {
  margin-top: 22px;
  font-size: clamp(22px, 3vw, 34px);
  color: #18202e;
  line-height: 1.3;
}

.service-dialog__copy {
  min-width: 0;
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding: clamp(36px, 5vw, 72px) clamp(24px, 4.5vw, 84px);
}

.service-dialog__eyebrow {
  display: flex;
  gap: 16px;
  color: #526174;
  font-size: 11px;
  letter-spacing: .13em;
  line-height: 1.5;
}

.service-dialog h2 {
  font-size: clamp(36px, 4.2vw, 68px);
  font-weight: 500;
  line-height: 1.07;
  letter-spacing: -.04em;
  margin: 26px 0;
  overflow-wrap: anywhere;
}

.service-dialog p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 20px;
  color: #455266;
}

.service-dialog p.service-dialog__lead {
  color: #18202e;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
}

.service-dialog__details {
  list-style: none;
  margin: 30px 0;
  padding: 0;
}

.service-dialog__details li {
  padding: 17px 0;
  border-top: 1px solid #18202e30;
  position: relative;
  padding-left: 46px;
}

.service-dialog__details h3 {
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 7px;
}

.service-dialog__details p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.service-dialog p.service-dialog__outro {
  font-size: 14px;
}

.service-dialog .text-link {
  min-height: 44px;
}

.service-dialog a:focus-visible {
  outline: 3px solid #365d8f;
  outline-offset: 5px;
}

.service-dialog button:focus-visible {
  outline: 3px solid #365d8f;
  outline-offset: 5px;
}

.service-dialog__close {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  right: max(20px, env(safe-area-inset-right));
  z-index: 2;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #000;
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.service-dialog__close:hover {
  background: transparent;
}
/* Reszponzív és hozzáférhetőségi változatok */

@media (max-width: 760px) {
  .service-dialog__layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-dialog__visual {
    position: relative;
    height: clamp(230px, 42svh, 420px);
  }
  .service-dialog__visual img {
    object-position: center 48%;
  }
  .service-dialog__visual figcaption {
    left: max(24px, env(safe-area-inset-left));
    bottom: 20px;
    font-size: 10px;
  }
  .service-dialog__copy {
    padding: 36px max(24px, env(safe-area-inset-right)) max(40px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  }
  .service-dialog h2 {
    margin-block: 22px;
    font-size: clamp(34px, 8vw, 52px);
  }
  .service-dialog__close {
    width: 54px;
    height: 54px;
    top: max(14px, env(safe-area-inset-top));
    right: max(16px, env(safe-area-inset-right));
    font-size: 44px;
    color: #fff;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .service-dialog[open] {
    animation: service-dialog-enter .65s cubic-bezier(.16, 1, .3, 1) both;
  }
  .service-dialog[open]::backdrop {
    animation: service-backdrop-enter .45s ease-out both;
  }
  @keyframes service-dialog-enter {
    from {
      opacity: 0;
      transform: translateY(24px) scale(.985);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  @keyframes service-backdrop-enter {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}

@media (max-width: 480px) {
  .service-dialog__details li {
    padding-left: 40px;
  }
  .service-dialog__details .list-outline-icon {
    width: 25px;
    height: 25px;
  }
}
/* ================================================================
09. MIÉRT MINKET ÉS KÖZÖS LISTAIKONOK
================================================================ */

.reasons-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.reasons-list li {
  padding: 18px 0;
  border-top: 1px solid #ffffff25;
  position: relative;
  padding-left: 56px;
}

.reasons-list h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 8px;
}

.reasons-list p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.list-outline-icon {
  position: absolute;
  top: 18px;
  left: 0;
  display: block;
  width: 28px;
  height: 28px;
  color: #fff;
  pointer-events: none;
}

.service-dialog .list-outline-icon { 
    color:#000;
}

.service-dialog .text-link { 
    border: 1px solid #00000030;
}

.service-dialog .text-link span {
    border-left: 1px solid #00000030;
}

.reasons-list .list-outline-icon {
  width: 40px;
  height: 40px;
  padding: 7px;
  border-radius: 8px;
}

.section-reasons {
  background-image: url(./assets/bgn.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 600px) {
.section-reasons {
  background-image: url(./assets/bgn_m.jpg);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}
}

/* ================================================================
10. ÖTLETEK SZEKCIÓ
================================================================ */

.idea-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 44px;
}

.idea-card {
  padding-top: 20px;
  border-top: 1px solid #ffffff45;
}

.idea-card__number {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .1em;
  opacity: .65;
}

.idea-card h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -.02em;
  margin: 20px 0 12px;
}

.idea-card p {
  font-size: 17px;
  line-height: 1.55;
}

.demo-signature {
  display: inline-block;
  margin-top: 34px;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: .04em;
  opacity: .7;
}

.demo-signature span {
  padding-inline: 8px;
}
/* Reszponzív és hozzáférhetőségi változatok */

@media (max-width: 600px) {
  .idea-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 34px;
  }
  .idea-card {
    display: grid;
    grid-template-columns: 28px 1fr;
    column-gap: 14px;
  }
  .idea-card__number {
    padding-top: 3px;
  }
  .idea-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
  }
  .idea-card p {
    grid-column: 2;
  }
}

@media (min-width: 600px) {
    .bottomdiv {
        display:none;
    }
}
/* ================================================================
11. KAPCSOLAT ÉS ŰRLAP
================================================================ */

.contact-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  background: #0c1015;
  padding-top: 0;
}

.contact-content {
  flex: 1;
  align-content: center;
  padding: 104px var(--page-gutter) 72px;
  max-width: calc(1200px + 2 * var(--page-gutter));
  padding-top: max(104px, calc(var(--site-header-height) + 32px));
}

.contact-signature {
  display: inline-flex;
  gap: 24px;
  margin-top: 22px;
  font-size: 14px;
  color: #b5c9c9;
}

.contact-form {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form label {
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: #d7dee6;
  line-height: 1.5;
}

.contact-form input:not([type="checkbox"]) {
    width: 100%;
    min-width: 0;
    background: #ffffff0a;
    backdrop-filter: blur(10px);
    border: 1px solid #68727d52;
    border-radius: 0;
    padding: 12px 12px;
    font: inherit;
    font-size: 16px;
    color: #fff;
    border-radius: 20px;
}

.contact-form textarea {
  width: 100%;
  min-width: 0;
  background: #ffffff04;
  backdrop-filter: blur(10px);
  border: 1px solid #68727d52;
  border-radius: 20px;
  padding: 12px 12px;
  font: inherit;
  font-size: 16px;
  color: #fff;
  resize: vertical;
  min-height: 112px;
  max-height: 320px;
}

.contact-form input::placeholder {
  color: #8d97a1;
  opacity: 1;
}

.contact-form textarea::placeholder {
  color: #8d97a1;
  opacity: 1;
}

.contact-form input:focus-visible {
  outline: 2px solid #bed6ff;
  outline-offset: 5px;
}

.contact-form textarea:focus-visible {
  outline: 2px solid #bed6ff;
  outline-offset: 5px;
}

.contact-form .privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
}

.privacy-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  accent-color: #bed6ff;
}

.privacy-check a {
  color: inherit;
  text-underline-offset: 3px;
}

.submit-button {
  justify-self: start;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  min-height: 48px;
  border: 1px solid #c8d3df;
  border-radius: 50px;
  padding: 12px 20px;
  background: #e7ecf4;
  color: #18202e;
  cursor: pointer;
  font-size: 14px;
}

.submit-button:hover:not(:disabled) {
  background: #bed6ff;
}

.submit-button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.contact-form .form-status {
  min-height: 22px;
  margin: -6px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: #bac7d4;
  opacity: 1;
}

.form-status[data-state="error"] {
  color: #ffbdb5;
}

.form-status[data-state="success"] {
  color: #b3ddc7;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* Reszponzív és hozzáférhetőségi változatok */

@media (max-width: 1000px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .contact-content {
    padding-bottom: 56px;
  }
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
/* ================================================================
12. LÁBLÉC ÉS JOGI OLDALAK
================================================================ */

.site-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 28px;
  border-top: 1px solid #ffffff25;
  padding: 22px clamp(24px, 4vw, 64px);
  font-size: 11px;
  line-height: 1.6;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.site-footer a {
  color: #aeb8c4;
  text-decoration: none;
  padding-block: 4px;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer .footer-brand {
  color: #edf1f5;
  font-size: 13px;
  white-space: nowrap;
}

.legal-page main {
  max-width: 850px;
  margin: auto;
  padding: clamp(32px, 8vw, 100px) 24px;
}

.legal-page .section-number {
  display: block;
  margin-top: 64px;
}

.legal-page h1 {
  font-size: clamp(36px, 6vw, 64px);
  overflow-wrap: anywhere;
  letter-spacing: -.035em;
  line-height: 1.1;
}

.legal-page p {
  font-size: 18px;
  line-height: 1.7;
  color: #bec8d3;
}

.legal-page .legal-draft {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #ffffff30;
  font-size: 13px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
}

.footer-brand .brand-logo {
  width: 100%;
  max-width: 160px;
}
/* Reszponzív és hozzáférhetőségi változatok */

@media (max-width: 1000px) {
  .site-footer {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-footer {
    flex-direction: column;
    align-items: center;
    padding-block: 24px;
    gap: 16px;
  }
}
/* ================================================================
13. PLEXUS HÁTTÉR ÉS VEZÉRLŐ
================================================================ */


.services-section .text-section--accent {
  filter: invert(1) grayscale(1);
}

main > section.infinity-plexus-host {
  position: relative;
  isolation: isolate;
}

main > section.infinity-plexus-host > :not(.infinity-plexus) {
  position: relative;
  z-index: 1;
}

.infinity-plexus {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  contain: strict;
  -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 85%, transparent);
  mask-image: linear-gradient(transparent, #000 12%, #000 85%, transparent);
}

.infinity-plexus::before {
  content: '';
  position: absolute;
  inset: 0;
  background: center / cover no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 900'%3E%3Cg fill='none' stroke='%23deeff5' stroke-opacity='.10' stroke-width='.7'%3E%3Cpath d='M28 249 158 195 256 291 204 420 47 448M158 195 204 420M47 448 131 591 204 420 340 520 256 291M131 591 310 683 340 520 474 643M310 683 440 800 474 643M1070 139 1198 238 1350 160 1410 305 1260 387 1198 238 1080 345 1070 139M1080 345 1126 497 1260 387 1364 525 1410 305M1126 497 1040 630 1164 725 1310 647 1364 525M1164 725 1300 816 1310 647M522 356 655 418 611 549M655 418 799 328 882 457 755 569 611 549M755 569 841 718M550 133 666 224 799 328M666 224 814 135'/%3E%3C/g%3E%3Cg fill='%23eefcff' fill-opacity='.45'%3E%3Ccircle cx='28' cy='249' r='1.7'/%3E%3Ccircle cx='158' cy='195' r='1.6'/%3E%3Ccircle cx='256' cy='291' r='1.8'/%3E%3Ccircle cx='47' cy='448' r='1.4'/%3E%3Ccircle cx='131' cy='591' r='1.8'/%3E%3Ccircle cx='340' cy='520' r='1.7'/%3E%3Ccircle cx='310' cy='683' r='1.5'/%3E%3Ccircle cx='440' cy='800' r='1.7'/%3E%3Ccircle cx='550' cy='133' r='1.4'/%3E%3Ccircle cx='666' cy='224' r='1.7'/%3E%3Ccircle cx='799' cy='328' r='1.6'/%3E%3Ccircle cx='611' cy='549' r='1.5'/%3E%3Ccircle cx='755' cy='569' r='1.7'/%3E%3Ccircle cx='1070' cy='139' r='1.4'/%3E%3Ccircle cx='1198' cy='238' r='1.8'/%3E%3Ccircle cx='1410' cy='305' r='1.7'/%3E%3Ccircle cx='1080' cy='345' r='1.7'/%3E%3Ccircle cx='1126' cy='497' r='1.4'/%3E%3Ccircle cx='1364' cy='525' r='1.7'/%3E%3Ccircle cx='1164' cy='725' r='1.8'/%3E%3Ccircle cx='1300' cy='816' r='1.4'/%3E%3Ccircle cx='1040' cy='630' r='1.5'/%3E%3C/g%3E%3Cg fill='%2322c8e5' fill-opacity='.58'%3E%3Ccircle cx='204' cy='420' r='1.9'/%3E%3Ccircle cx='474' cy='643' r='1.8'/%3E%3Ccircle cx='522' cy='356' r='1.5'/%3E%3Ccircle cx='655' cy='418' r='1.8'/%3E%3Ccircle cx='814' cy='135' r='1.5'/%3E%3Ccircle cx='882' cy='457' r='1.8'/%3E%3Ccircle cx='841' cy='718' r='1.7'/%3E%3Ccircle cx='1350' cy='160' r='1.8'/%3E%3Ccircle cx='1260' cy='387' r='1.9'/%3E%3Ccircle cx='1310' cy='647' r='1.7'/%3E%3C/g%3E%3C/svg%3E");
}

.infinity-plexus--ready::before {
  display: none;
}

.infinity-plexus canvas {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.infinity-plexus-toggle {
  position: fixed;
  z-index: 35;
  right: max(clamp(20px, 4vw, 72px), env(safe-area-inset-right));
  bottom: max(25px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 102px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid #ffffff35;
  border-radius: 24px;
  background: #101318a6;
  color: #eaf2f4;
  font: inherit;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .02em;
  cursor: pointer;
  touch-action: manipulation;
  display:none!important;
}

.infinity-plexus-toggle[hidden] {
  display: none;
}

.infinity-plexus-toggle:hover {
  background: #18252c;
  border-color: #22c8e580;
}

.infinity-plexus-toggle:focus-visible {
  outline: 2px solid #22c8e5;
  outline-offset: 4px;
}

.infinity-plexus-toggle__icon {
  width: 10px;
  height: 11px;
  border-inline: 3px solid currentColor;
}

.infinity-plexus-toggle[aria-pressed="true"] .infinity-plexus-toggle__icon {
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-left: 9px solid currentColor;
  border-right: 0;
}

.infinity-plexus > svg {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.infinity-plexus .is-hidden {
  display: none;
}
/* Reszponzív és hozzáférhetőségi változatok */

@media (max-width: 900px) {
  .infinity-plexus-toggle {
    bottom: max(24px, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .infinity-plexus-toggle {
    display: none;
  }
}

@media (forced-colors: active) {
  .infinity-plexus {
    display: none;
  }
  .infinity-plexus-toggle {
    border-color: ButtonText;
    background: ButtonFace;
    color: ButtonText;
  }
}



/* Reusable background layer; reserve ::before for the parallax image. */
.parallax {
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.services-section { --parallax-image: url(./assets/bgx2.webp); }

/* Header bottom-center scroll indicator. */
.scroll-header__down-arrow {
  position: absolute;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 10;
  display: block;
  width: 60px;
  aspect-ratio: 1;
  color: #fff;
  pointer-events: none;
  user-select: none;
}
.scroll-header__down-arrow > span {
  position: absolute;
  left: 0;
  top: 5%;
  width: 100%;
  height: 48%;
  background: currentColor;
  clip-path: polygon(10% 0, 50% 62%, 90% 0, 100% 25%, 50% 100%, 0 25%);
  animation: header-chevron-down 1.8s cubic-bezier(.4, 0, .2, 1) infinite;
}
.scroll-header__down-arrow > span + span {
  top: 42%;
  animation-delay: .22s;
}
@keyframes header-chevron-down {
  0%, 100% { opacity: .25; transform: translateY(-12%); }
  40% { opacity: 1; transform: translateY(0); }
  80% { opacity: .25; transform: translateY(16%); }
}
@media (max-width: 760px) {
  .scroll-header__down-arrow { width: 50px; }
}

/* Lightweight fluid canvas: above the background, below all service content. */
#reszletek > .services-fluid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden; contain: strict;
}
#reszletek > .services-fluid canvas { display: block; width: 100%; height: 100%; }
#reszletek > .text-section__inner { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { #reszletek > .services-fluid { display: none; } }

#reszletek > .services-fluid, #reszletek > .services-fluid canvas { background: transparent; }

/* Mobile service dialog: centered hero title and contrasting close icon. */
@media (max-width: 760px) {
  .service-dialog__visual figcaption {
    inset: 0;
    padding: 24px;
    display: grid;
    place-items: center;
  }
  .service-dialog .service-dialog__visual h2 {
    margin: 0;
    width: 100%;
    text-align: center;
  }
  .service-dialog__close { color: #fff; }
  .service-dialog__close.is-over-copy { color: #000; }
}

/* Close icon contrast in every viewport. */
.service-dialog .service-dialog__close { color: #fff; }
.service-dialog .service-dialog__close.is-over-copy { color: #000; }

/* Service modal video, pixel overlay, then title. */
.service-dialog__visual .service-dialog__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.service-dialog__visual::after {
  z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2' viewBox='0 0 2 2' shape-rendering='crispEdges'%3E%3Cpath fill='black' d='M1 0h1v1H1zM0 1h1v1H0z'/%3E%3C/svg%3E") repeat;
  background-size: 2px 2px;
}
.service-dialog__visual figcaption { z-index: 2; }

/* Keep the close button above the video, overlay and title. */
.service-dialog > .service-dialog__close { z-index: 10; }
.service-dialog__visual .service-dialog__video { opacity: 0.2; }

/* Reasons background parallax on desktop pointer devices only. */
@media (min-width: 761px) and (hover: hover) and (pointer: fine) {
  #folytatas.section-reasons {
    background-image: none;
    --parallax-image: url('./assets/bgn.jpg');
  }
}

/* Large circular neon halo behind hovered service cards. */
@media (hover: hover) and (pointer: fine) {
  .service-card { overflow: visible; }
  .service-card__video { border-radius: inherit; }
  .service-card::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 140%;
    aspect-ratio: 1;
    border-radius: 50%;
    z-index: -2;
    pointer-events: none;
    background: radial-gradient(circle, rgb(34 200 229 / .38) 0%, rgb(34 200 229 / .24) 30%, rgb(34 200 229 / .1) 48%, transparent 70%);
    filter: blur(22px);
    opacity: 0;
    transform: translate(-50%, -50%) scale(.86);
    transition: opacity .55s ease, transform .7s ease;
  }
  .service-card:hover::before, .service-card:focus-within::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .service-card::before { transition: none; }
}

/* Opaque card backing separates the halo from the translucent video. */
@media (hover: hover) and (pointer: fine) {
  .service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: #080e18;
    z-index: -1;
    pointer-events: none;
  }
  .service-card > .service-card__video { z-index: 0; }
  .service-card > :not(.service-card__video) { position: relative; z-index: 1; }
}

/* Rotating neon highlights trace only the rounded card border. */
@property --service-border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.service-card > .service-card__border { display: none; }
@media (hover: hover) and (pointer: fine) {
  .service-card > .service-card__border {
    display: block;
    position: absolute;
    inset: -1px;
    z-index: 2;
    padding: 2px;
    border-radius: inherit;
    pointer-events: none;
    background: conic-gradient(from var(--service-border-angle),
      rgb(72 156 255 / .08) 0deg, rgb(72 156 255 / .08) 90deg,
      #368fff 130deg, #b6e6ff 153deg, transparent 167deg,
      rgb(72 156 255 / .08) 180deg, rgb(72 156 255 / .08) 270deg,
      #368fff 310deg, #b6e6ff 333deg, transparent 347deg);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    filter: drop-shadow(0 0 5px #409cff) drop-shadow(0 0 10px rgb(64 156 255 / .7));
    opacity: 0;
    transition: opacity .5s ease;
    animation: service-border-orbit 4s linear infinite;
    animation-play-state: paused;
  }
  .service-card:hover > .service-card__border,
  .service-card:focus-within > .service-card__border {
    opacity: 1;
    animation-play-state: running;
  }
}
@keyframes service-border-orbit { to { --service-border-angle: 360deg; } }
@media (prefers-reduced-motion: reduce) {
  .service-card > .service-card__border { animation: none; transition: none; }
}

/* Header quote button uses the same orbiting neon border and rear halo. */
.site-header .quote-button { position: relative; isolation: isolate; overflow: visible; }
.site-header .quote-button__label { position: relative; z-index: 1; }
@media (hover: hover) and (pointer: fine) {
  .site-header .quote-button::before {
    content: ''; position: absolute; z-index: -2; pointer-events: none;
    left: 50%; top: 50%; width: 145%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgb(34 200 229 / .38), rgb(34 200 229 / .15) 40%, transparent 70%);
    filter: blur(18px); opacity: 0;
    transform: translate(-50%, -50%) scale(.86);
    transition: opacity .55s ease, transform .7s ease;
  }
  .site-header .quote-button::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit;
    background: #080e18; z-index: -1; pointer-events: none;
  }
  .site-header .quote-button:hover::before,
  .site-header .quote-button:focus-visible::before { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.site-header .quote-button > .quote-button__border { display: none; }
@media (hover: hover) and (pointer: fine) {
  .site-header .quote-button > .quote-button__border {
    display: block;
    position: absolute;
    inset: -1px;
    z-index: 2;
    padding: 2px;
    border-radius: inherit;
    pointer-events: none;
    background: conic-gradient(from var(--service-border-angle),
      rgb(72 156 255 / .08) 0deg, rgb(72 156 255 / .08) 90deg,
      #368fff 130deg, #b6e6ff 153deg, transparent 167deg,
      rgb(72 156 255 / .08) 180deg, rgb(72 156 255 / .08) 270deg,
      #368fff 310deg, #b6e6ff 333deg, transparent 347deg);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    filter: drop-shadow(0 0 5px #409cff) drop-shadow(0 0 10px rgb(64 156 255 / .7));
    opacity: 0;
    transition: opacity .5s ease;
    animation: service-border-orbit 4s linear infinite;
    animation-play-state: paused;
  }
  .site-header .quote-button:hover > .quote-button__border,
  .site-header .quote-button:focus-within > .quote-button__border {
    opacity: 1;
    animation-play-state: running;
  }
}
@keyframes service-border-orbit { to { --service-border-angle: 360deg; } }
@media (prefers-reduced-motion: reduce) {
  .site-header .quote-button > .quote-button__border { animation: none; transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .quote-button::before { transition: none; }
}

/* A modal-opening click dismisses neon even when focus returns to its trigger. */
.service-card.neon-dismissed::before,
.site-header .quote-button.neon-dismissed::before {
  opacity: 0;
  transform: translate(-50%, -50%) scale(.86);
}
.service-card.neon-dismissed > .service-card__border,
.site-header .quote-button.neon-dismissed > .quote-button__border {
  opacity: 0;
  animation-play-state: paused;
}

/* Native in-page anchors scroll smoothly; respect reduced-motion preference. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* High-priority preloader image fades in only after decode completes. */
.page-preloader { isolation: isolate; overflow: hidden; }
.page-preloader > .preloader-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .65s ease;
}
.page-preloader > .preloader-background.is-ready { opacity: 1; }
.page-preloader > .preloader-content { position: relative; z-index: 1; }


