:root {
  --bg: #FFFFFF;
  --bg-soft: #F5F7FA; 
  --ink: #0B0C0E;
  --ink-soft: #5B616B;
  --line: rgba(11, 12, 14, 0.10);
  --accent: #1CA8EB;
  --accent-blue: #2490FD;
  --accent-hover: #1796d4;
  --accent-ink: #FFFFFF;
  --accent-soft: #EAF0FF;
  --surface: #FFFFFF;
  --surface-2: #F2F4F7;
  --green: #12B76A;
  --green-soft: #E7F9F1;
  --red: #F04438;
  --red-soft: #FEECEB;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  padding-top: 100px;
  line-height: 1.5;
}

::selection {
  background: var(--accent-blue);
  color: #ffffff;
}

/* CÍMSOROK (LOGÓHOZ ILLŐ BALOO 2) */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Baloo 2', cursive, sans-serif;
  margin-top: 0;
}

.wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 24px 120px;
}

#contractForm input[type="text"] {
  text-transform: uppercase;
}

/* ---------- HEADER & NAV (EGYSÉGES MINDEN OLDALON) ---------- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 100px;
  padding: 0 40px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.logo-mark img {
  height: 40px;
  width: auto;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
}

nav ul li {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

nav ul li a {
  color: var(--ink);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-blue);
  transition: width 0.2s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--accent-blue);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

/* ---------- RESPONSIVE HEADER & HAMBURGER MENU ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: var(--ink);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

/* Hamburger animáció nyitott állapotban (X ikon) */
.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-13px) rotate(-45deg);
}

/* Mobil töréspont (900px alatt) */
@media (max-width: 900px) {
  header {
    padding: 0 20px;
    height: 80px;
  }

  body {
    padding-top: 80px;
  }

  .hamburger {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--surface);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
  }

  nav.open {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  nav ul li {
    font-size: 18px;
  }
}

/* ---------- GOMBOK ---------- */
.cta-button, .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-blue);
  color: #ffffff;
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(36, 144, 253, 0.3);
  transition: all 0.2s ease;
}

.cta-button:hover, .btn-primary:hover:not(:disabled) {
  background-color: #1a78d6;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(36, 144, 253, 0.4);
}

.btn-secondary {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-secondary:hover:not(:disabled) {
  border-color: var(--ink-soft);
  background: var(--bg-soft);
}

/* ---------- HOME / COLABORARE HERO ---------- */
.hero {
  position: relative;
  height: calc(100vh - 100px);
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('/Media/486525179_1621459291947662_9026406712776786859_n.jpg') no-repeat center center / cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.65);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  padding: 0 24px;
  color: #ffffff;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  margin: 0 0 16px 0;
  color: var(--accent);
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 32px;
  opacity: 0.95;
  line-height: 1.6;
}

/* ---------- FORM PÁRHUZAMOS HERO ---------- */
section.hero {
  height: auto;
  min-height: auto;
  background: transparent;
  padding: 40px 24px 20px;
}

.hero-inner {
  max-width: 920px;
  margin: 0 auto;
}

.hero-inner h1 {
  font-size: 36px;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 16px;
}

.hero-inner span {
  color: var(--accent-blue);
}

.hero-inner p {
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0;
}

/* ---------- BEMUTATKOZÓ SZEKCIÓK (KÉK - FEHÉR VÁLTAKOZÁS) ---------- */
.servicii-section, .avantaje-section, .about-section.bg-blue {
  background: var(--accent-blue);
  color: #ffffff;
  padding: 80px 0;
}

.servicii-intro h1, .header-avantaje h2, .about-section.bg-blue h1 {
  color: #ffffff;
}

.serviciu-card, .avantaj-card, .bg-blue .value-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(4px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.serviciu-card:hover, .avantaj-card:hover, .bg-blue .value-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.18);
}

.clienti-section, .callTOapply, .about-section.bg-soft {
  background: var(--bg-soft);
  padding: 80px 0;
}

/* ---------- INFO PANEL (FORMOKHOZ) ---------- */
.info-section {
  padding: 24px 24px 8px;
}

.info-inner {
  max-width: 920px;
  margin: 0 auto;
}

.info-kicker {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.info-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
}

.info-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-card h3 .tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: .08em;
  background: var(--accent-soft);
  color: var(--accent-blue);
  border-radius: 5px;
  padding: 2px 7px;
}

.info-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 8px;
}

.info-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.65;
}

.figure {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent-blue);
  font-weight: 600;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 15px;
}

.whatsapp-btn:hover {
  opacity: .85;
}

/* ---------- MODE SELECTOR ---------- */
.mode-section {
  padding: 24px 24px 8px;
}

.mode-inner {
  max-width: 920px;
  margin: 0 auto;
}

.mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.mode-card {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  cursor: pointer;
  transition: border-color .15s, transform .1s, background .15s;
  position: relative;
}

.mode-card:hover {
  border-color: #c7d3f5;
}

.mode-card.active {
  border-color: var(--accent-blue);
  background: var(--accent-soft);
}

.mode-card .check {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #ffffff;
}

.mode-card.active .check {
  border-color: var(--accent-blue);
  background: var(--accent-blue);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'><path d='M7.5 13.5L4 10l-1.4 1.4L7.5 16.3 17.4 6.4 16 5z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px;
}

.mode-card .tag2 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 8px;
  display: block;
}

.mode-card h4 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 8px;
  padding-right: 30px;
}

.mode-card p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

/* ---------- STEPPER & ROUTE ---------- */
.route {
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 18px;
  margin-top: 24px;
}

.stop-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stop-rail .line {
  position: absolute;
  top: 14px;
  bottom: -14px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: var(--line);
}

.stop-rail:last-child .line {
  display: none;
}

.stop-marker {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-soft);
  z-index: 1;
  transition: all .25s ease;
  flex-shrink: 0;
}

.stop-marker.done {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #ffffff;
}

section.stop {
  padding-bottom: 40px;
}

.stop-head {
  padding-top: 2px;
  margin-bottom: 16px;
}

.stop-kicker {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 5px;
}

.stop-title {
  font-size: 23px;
  font-weight: 700;
}

.stop-sub {
  color: var(--ink-soft);
  font-size: 13.5px;
  margin-top: 5px;
  line-height: 1.55;
  max-width: 560px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 1px 2px rgba(11, 12, 14, .03);
}

/* ---------- FORM ELEMEK ---------- */
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field.span2 {
  grid-column: 1 / -1;
}

label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

label .opt {
  color: var(--ink-soft);
  font-weight: 400;
  font-size: 12px;
}

input[type=text], input[type=email], input[type=tel], select {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, background .15s;
}

input:focus, select:focus {
  border-color: var(--accent-blue);
  background: #ffffff;
}

input.err {
  border-color: var(--red);
  background: var(--red-soft);
}

.auto-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.auto-chip {
  flex: 1;
  min-width: 200px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}

.auto-chip .k {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

.auto-chip .v {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  color: var(--accent-blue);
}

/* ---------- UPLOAD / DROPZONE ---------- */
.upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

.dropzone {
  border: 1.5px dashed #C7CDD6;
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  cursor: pointer;
  background: var(--surface-2);
  transition: border-color .15s, background .15s;
  position: relative;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.dropzone:hover {
  border-color: var(--accent-blue);
}

.dropzone.has-file {
  border-style: solid;
  border-color: var(--green);
  background: var(--green-soft);
}

.dropzone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.dropzone .lbl {
  font-size: 13px;
  font-weight: 600;
}

.dropzone .sub {
  font-size: 11.5px;
  color: var(--ink-soft);
}

/* ---------- RADIO & CHECKBOX GROUP ---------- */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.radio-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.radio-option:hover {
  border-color: var(--accent-blue);
  background: #ffffff;
}

.radio-option input[type="radio"], .radio-option input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--accent-blue);
  cursor: pointer;
  flex-shrink: 0;
}

.radio-option span {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
}

/* ---------- REVIEW LIST ---------- */
.review-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  background: var(--surface-2);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.review-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 12px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 13.5px;
}

.review-row .k { color: var(--ink-soft); font-weight: 500; }
.review-row .v { font-family: 'IBM Plex Mono', monospace; color: var(--ink); font-weight: 600; text-align: right; word-break: break-word; }

/* ---------- SIGNATURE CANVAS ---------- */
.signature-container {
  position: relative;
  border: 1.5px dashed var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}

#sigCanvas {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  touch-action: none;
  cursor: crosshair;
  width: 100%;
  max-width: 500px;
  height: 150px;
}

.btn-clear {
  margin-top: 8px;
  background: transparent;
  border: 1px solid var(--red);
  color: var(--red);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  align-self: flex-end;
  font-weight: 600;
  transition: all 0.15s ease;
}

.btn-clear:hover {
  background: var(--red-soft);
}

/* ---------- SUPPORTED BY ---------- */
.supportedBy {
  background: var(--accent-blue);
  color: #ffffff;
  padding: 60px 24px;
  text-align: center;
}

.supportedBy-header { max-width: 840px; margin: 0 auto 36px; }
.supportedBy-header h2 { font-size: 16px; font-weight: 500; line-height: 1.6; margin: 0; color: #ffffff; }
.supportedBy-content { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; }
.supportedBy-content img { max-width: 140px; height: auto; }

/* ---------- FOOTER ---------- */
footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 30px 24px;
  color: var(--ink-soft);
  font-size: 14px;
  margin-top: 40px;
}

footer img { height: 40px; width: auto; }
footer a { color: var(--accent-blue); text-decoration: none; font-weight: 600; }
footer a:hover { text-decoration: underline; }

/* ---------- UTILS & RESPONSIVE ---------- */
.hidden { display: none !important; }

@media (max-width: 1024px) {
  header { padding: 0 20px; }
  nav ul { gap: 20px; }
  footer { flex-direction: column; gap: 16px; text-align: center; }
}