/* ==========================================================================
   1. GYÖKÉR VÁLTOZÓK (VARIABLES)
   ========================================================================== */
:root {
  --ink: #161716;
  --white: #f7f8f9;
  --cyan: #b1c4b0;
  --wrap: 1820px;
  --szolg-card-color: #161716;
  --szolg-text-color: white;
  --szolg-muted-color: #263329;
  --szolg-ice: rgba(248, 255, 255, 0.9);
  --szolg-radius: 1.25rem;
}

/* ==========================================================================
   2. ALAP BEÁLLÍTÁSOK (RESET & BASE)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body, button, input, textarea {
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--cyan);
  color: #050505;
}

/* ==========================================================================
   3. ELRENDEZÉS ÉS SEGÉDOSZTÁLYOK (LAYOUT & UTILITIES)
   ========================================================================== */
.page-wrap {
  width: min(calc(100% - 96px), var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 30;
  left: 20px;
  top: -80px;
  padding: 12px 20px;
  background: var(--white);
  color: var(--ink);
}

.skip-link:focus {
  top: 12px;
}
.text-cyan {
  color: var(--cyan);
}

/* ==========================================================================
   4. FEJLÉC ÉS NAVIGÁCIÓ (HEADER & NAV)
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 1px 0 auto;
  z-index: 20;
  pointer-events: none;
}

.nav-shell {
  pointer-events: auto;
  width: 100%;
  height: 78px;
  margin: auto;
  padding: 20px 20px 8px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 60px;
  width: 176px;
  background: #13a6e1;
  border-radius: 10px;
  overflow: hidden;
}

.brand img {
  width: 176px;
  height: 60px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 50px);
  padding: 0 30px 0 0;
}

.nav-links a {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cyan);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: white;
}

.menu-toggle {
  display: none;
}

.logo-text {
  font-family: 'Manrope', sans-serif;
  font-size: 32px;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
}

.logo-text strong {
  font-weight: 800;
  color: var(--white);
}

.logo-text em {
  font-weight: 800;
  font-style: italic;
  color: var(--cyan);
}

/* ==========================================================================
   5. HERO SZEKCIÓ (HERO)
   ========================================================================== */
.hero {
  position: relative;
  margin-top: 80px; 
  min-height: calc(100svh - 80px); 
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: #08090b;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: center center;
}

.hero-shade {
  z-index: -1;
  background: 
    linear-gradient(90deg, rgba(2,3,5,0.88) 0%, rgba(2,3,5,0.64) 32%, rgba(2,3,5,0.14) 63%, rgba(2,3,5,0.07) 100%),
    linear-gradient(0deg, rgba(2,3,5,0.48) 0%, transparent 25%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 130px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 29px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.19em;
  color: var(--cyan);
}

.eyebrow-line {
  display: inline-block;
  width: 26px;
  height: 1px;
  background: var(--cyan);
}

.hero h1 {
  max-width: 870px;
  margin: 0;
  font-family: Manrope, sans-serif;
  font-size: clamp(47px, 5.1vw, 84px);
  font-weight: 400;
  line-height: 1.19;
  letter-spacing: -0.062em;
  text-wrap: balance;
  word-spacing: 0.1em;
}

.color-phrase {
  color: #fff;
  transition: color 0.8s ease;
}


.hero.is-color .color-phrase {
  background: linear-gradient(100deg, #18e2f3 2%, #49d9ea 27%, #f83cac 65%, #ffe146 99%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 30px 0 36px;
  color: #e2e4e8;
  font-size: 17px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  min-height: 53px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 13px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--cyan);
  color: #061013;
  border: 1px solid var(--cyan);
}

.button-primary:hover {
  border: 1px solid var(--cyan);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.button-outline {
  border: 1px solid rgba(255, 255, 255, 0.58);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.button-outline:hover {
  background: var(--cyan);
  color: #061013;
}

/* ==========================================================================
   6. FUTÓSÁV (MARQUEE)
   ========================================================================== */
.scrolling-marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(177, 196, 176, 0.3);
  border-bottom: 1px solid rgba(177, 196, 176, 0.3);
  background: transparent;
  padding: 18px 0;
  display: flex;
  position: relative;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-marquee 85s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
}

.marquee-item {
  color: rgba(177, 196, 176, 0.3);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.marquee-item::before {
  content: '•';
  color: rgba(177, 196, 176, 0.3);
  margin-right: 14px;
  font-size: 24px;
  line-height: 0;
}

@keyframes scroll-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   7. RÓLUNK SZEKCIÓ (ABOUT)
   ========================================================================== */
.rolunk {
  padding: 100px 0;
  background: transparent;
}

.rolunk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.rolunk-image-box {
  position: relative;
  border-radius: 16px;
  border: 2px solid rgba(177, 196, 176, 0.3);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(177, 196, 176, 0.3);
}

.rolunk-image-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.rolunk-image-box:hover img {
  transform: scale(1.03);
}

.eyebrow-white {
  color: var(--white);
}

.rolunk-content h2 {
  font-family: Manrope, sans-serif;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 0 0 24px;
  color: var(--white);
}

.rolunk-text {
  color: var(--white);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 16px;
  opacity: 0.9;
}

/* ==========================================================================
   8. SZOLGÁLTATÁSAINK KÁRTYÁK (SERVICES)
   ========================================================================== */
.szolg-section {
  padding-top: 40px;
  padding-bottom: 100px;
  position: relative;
  background: 
    linear-gradient(rgba(22, 23, 22, 0.85), rgba(22, 23, 22, 0.85)),
    url('image20.png');
  background-size: cover; 
  background-position: center center; 
  background-repeat: no-repeat; 
  background-attachment: fixed;
}

.szolg-container {
  width: min(100%, var(--wrap));
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.szolg-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.szolg-section__title {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.045em;
  color: var(--cyan);
  padding-bottom: 60px;
}

.szolg-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}


.szolg-card {
  display: flex;
  flex-direction: column;
  min-height: 23rem;
  padding: clamp(1.4rem, 2vw, 1.8rem);
  background: transparent; /*var(--szolg-card-color);*/
  border: 1px solid rgba(177, 196, 176, 0.2);
  border-radius: var(--szolg-radius);
  transition: transform 220ms ease, border-color 220ms ease;
  box-shadow: 0 20px 50px rgba(177, 196, 176, 0.1);
}

.szolg-card:hover {
  transform: translateY(-0.3rem);
  border-color: var(--cyan);
box-shadow: 0 20px 50px rgba(177, 196, 176, 0.3);
}

.szolg-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.szolg-card__title {
  margin: 0 0 16px;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.15rem, 1.7vw, 1.2rem);
  font-weight: 700;
  color: var(--szolg-text-color);
  line-height: 1.23;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.szolg-card__title::after {
  content: "";
  display: block;
  width: 180px; 
  height: 2px; 
  margin-top: 24px; 
  margin-bottom: 34px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--white) 50%, transparent 100%);
}

.szolg-card__text,
.szolg-card__list {
  margin: 0 0 16px;
  color: rgba(177, 196, 176, 0.4);
  font-size: 0.98rem;
  line-height: 1.65;
}

.szolg-card__list {
  padding-left: 1.15rem;
}

.szolg-card__list li {
  padding-left: 0.18rem;
  margin-bottom: 0.28rem;
}

.szolg-card__list li::marker {
  color: rgba(177, 196, 176, 0.4);
}

.szolg-card__cta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1.25rem;
  color: var(--cyan);
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: 0.035em;
  transition: color 200ms ease;
}

.szolg-card__cta:hover {
  color: var(--white);
}

.szolg-card__arrow {
  font-size: 1.25em;
  line-height: 1;
  transition: transform 200ms ease;
}

.szolg-card__cta:hover .szolg-card__arrow {
  transform: translateX(0.28rem);
}

/* ==========================================================================
   9. LÁBLÉC (FOOTER)
   ========================================================================== */
.site-footer {
  background: transparent;
  color: #b1c4b0;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 0 80px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
   margin-top: 40px;
}

.footer-left h3 {
  font-family: 'Manrope', sans-serif;
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
}

.footer-left p {
  margin: 0;
  font-size: 14px;
  line-height: 1.1;
}

.footer-left p strong {
  font-weight: 600;
  color: var(--white);
  margin-right: 5px;
}

.footer-left a {
  color: #b1c4b0;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-left a:hover {
  color: var(--white);
}

.footer-docs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.footer-docs a {
  font-weight: 400;
}

.facebook-link {
  display: inline-block;
  margin-top: 12px;
  color: #b1c4b0;
  transition: color 0.3s ease, transform 0.3s ease;
}

.facebook-link:hover {
  color: var(--white);
  transform: translateY(-3px);
}

.footer-right {
  display: flex;
  justify-content: flex-end; 
}

.footer-image-box {
  max-width: 600px; 
  width: 100%; 
  overflow: hidden;
   border-radius: 16px;
  border: 2px solid rgba(177, 196, 176, 0.3);
  box-shadow: 0 20px 50px rgba(177, 196, 176, 0.3);
  position: relative; 
}

.footer-image-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
  position: relative;
  z-index: 0;
}

.footer-image-box:hover img {
  transform: scale(1.03);
}

.footer-bottom {
  margin: 60px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.65rem;
  color: grey;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 0 20px;
  }
  
  .footer-right {
    justify-content: flex-start;
  }
}
/* ==========================================================================
   10. MÉDIA LEKÉRDEZÉSEK ÉS KÉSŐBBI FELÜLÍRÁSOK
   ========================================================================== */
.nav-shell {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(250, 252, 253, 0.2);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.17), inset 0 1px rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px) saturate(1.25);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
}
.brand {
  background: transparent;
}

@media (min-width: 701px) {
  .hero h1 {
    max-width: 690px;
    font-size: clamp(47px, 4.9vw, 78px);
  }
}

@media (min-width: 701px) and (max-width: 1050px) {
  .hero {
    display: grid;
    grid-template-rows: 390px auto;
    align-items: stretch;
  }
  .hero-still {
    background-size: auto 380px;
    background-position: right 50px;
    background-repeat: no-repeat;
  }
  .hero-video {
    top: 50px;
    height: 380px;
    object-fit: contain;
    object-position: right top;
  }
  .hero-content {
    grid-row: 2;
    padding-top: 28px;
    padding-bottom: 105px;
  }
  .hero h1 {
    max-width: 790px;
  }
  .hero-shade {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.57) 42%, rgba(0, 0, 0, 0.07) 82%);
  }
}

@media (max-width: 68rem) {
  .szolg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .szolg-card {
    min-height: 20rem;
  }
}

@media (max-width: 900px) {
  .page-wrap { width: min(calc(100% - 48px), var(--wrap)); }
  .nav-shell { width: calc(100% - 24px); }
  .hero h1 { max-width: 700px; }
  
  .rolunk-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .rolunk-image-box {
    order: -1;
  }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 88px; }
  .site-header { top: 1px; }
  .nav-shell { height: 64px; padding: 5px; border-radius: 12px; }
  .brand { height: 52px; width: 153px; }
  .brand img { width: 153px; height: 52px; }
  .menu-toggle {
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  .menu-toggle span {
    width: 22px;
    height: 2px;
    background: #fff;
    transition: transform 0.2s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    padding: 14px;
    background: rgba(14, 16, 19, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(20px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  }
  .nav-links.is-open { display: grid; gap: 0; }
  .nav-links a { padding: 15px 13px; font-size: 15px; }
  .nav-links a + a { border-top: 1px solid rgba(255, 255, 255, 0.1); }
  
  .hero { min-height: 750px; min-height: 100svh; align-items: end; }
  .hero-still { background-position: 65% top; background-size: auto 100%; }
  .hero-video { object-position: 65% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.79) 27%, rgba(0, 0, 0, 0.13) 64%, rgba(0, 0, 0, 0.06) 100%); }
  .hero-content { padding-top: 250px; padding-bottom: 105px; }
  .eyebrow { font-size: 9px; gap: 8px; margin-bottom: 19px; letter-spacing: 0.13em; }
  .eyebrow-line { width: 18px; }
  .hero h1 { max-width: 570px; font-size: clamp(42px, 9.8vw, 63px); letter-spacing: -0.064em; }
  .hero-subtitle { margin: 22px 0 27px; font-size: 15px; max-width: 380px; }
}

@media (max-width: 470px) {
  .page-wrap { width: calc(100% - 36px); }
  .hero-content { padding-top: 230px; padding-bottom: 105px; }
  .hero h1 { font-size: clamp(39px, 10.4vw, 49px); line-height: 1.13; }
  .hero-subtitle { font-size: 14px; }
  .hero-actions { gap: 9px; }
  .hero-actions .button { flex: 1; padding-inline: 12px; gap: 7px; min-width: 0; white-space: nowrap; font-size: 12px; }
}

@media (max-width: 40rem) {
  .szolg-grid {
    grid-template-columns: 1fr;
  }
  .szolg-card {
    min-height: 18rem;
  }
}

@media (max-width: 700px) {
  .hero-still {
    background-size: 100% auto;
    background-position: center 70px;
    background-repeat: no-repeat;
  }
  .hero-video {
    height: 45%;
    object-fit: contain;
    object-position: center 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-still, .color-phrase, .button, .szolg-card, .szolg-card__arrow { transition: none; }
  .szolg-card:hover, .szolg-card__cta:hover .szolg-card__arrow { transform: none; }
}