:root {
  --navy: #0b1f3a;
  --navy-2: #132a4a;
  --blue: #2f6fed;
  --blue-soft: #e8f0ff;
  --ink: #101828;
  --muted: #667085;
  --line: #d0d5dd;
  --paper: #f7f9fc;
  --white: #ffffff;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --text: "Public Sans", system-ui, sans-serif;
  --pad: clamp(1.2rem, 4vw, 2.6rem);
  --max: 70rem;
  --h: 4rem;
  --r: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue);
}

h1,
h2,
h3,
.mark,
.splash-brand,
.reach-links .big {
  font-family: var(--display);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h1 {
  margin: 0.4rem 0 0.85rem;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 600;
  max-width: 18ch;
}

h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  font-weight: 700;
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

.inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.inner.slim {
  width: min(44rem, 100%);
}

.tag {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.tag.light {
  color: #9ec0ff;
}

.muted {
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 2rem;
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--h);
  padding: 0.65rem var(--pad);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.mark {
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--navy);
}

.links {
  display: none;
  gap: 1.25rem;
  margin-left: auto;
}

.links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.94rem;
}

.links a:hover {
  color: var(--navy);
}

.phone {
  margin-left: auto;
  text-decoration: none;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.burger {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.burger i {
  display: block;
  width: 1rem;
  height: 2px;
  background: var(--navy);
}

.sheet {
  position: sticky;
  top: var(--h);
  z-index: 45;
  display: grid;
  gap: 0.3rem;
  padding: 1rem var(--pad) 1.2rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.sheet[hidden] {
  display: none;
}

.sheet a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 0.55rem 0;
}

@media (min-width: 900px) {
  .links {
    display: flex;
  }

  .phone {
    margin-left: 0;
  }

  .burger,
  .sheet {
    display: none !important;
  }
}

/* Buttons */
.cta,
.ghost,
.soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  border-radius: var(--r);
  font-family: var(--text);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.cta:active,
.ghost:active,
.soft:active {
  transform: translateY(1px);
}

.cta {
  background: var(--blue);
  color: #fff;
}

.cta:hover {
  background: #1f5bd6;
  color: #fff;
}

.cta.dark {
  background: var(--navy);
}

.cta.dark:hover {
  background: var(--navy-2);
  color: #fff;
}

.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.ghost:hover {
  border-color: #fff;
  color: #fff;
}

.soft {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.soft:hover {
  border-color: var(--navy);
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* Hero */
.splash {
  position: relative;
  min-height: calc(100svh - var(--h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.splash-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: slow-zoom 16s var(--ease) forwards;
}

.splash-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 31, 58, 0.25) 0%,
    rgba(11, 31, 58, 0.2) 35%,
    rgba(11, 31, 58, 0.88) 100%
  );
}

.splash-body {
  position: relative;
  z-index: 1;
  width: min(42rem, 100%);
  padding: clamp(2.5rem, 8vw, 5rem) var(--pad) clamp(3rem, 9vw, 5.5rem);
  animation: up 0.9s var(--ease) both;
}

.splash-brand {
  margin: 0;
  font-size: clamp(2.8rem, 11vw, 5.2rem);
  font-weight: 800;
  color: #fff;
}

.splash-lead {
  color: rgba(255, 255, 255, 0.84);
  max-width: 34ch;
  margin-bottom: 1.7rem;
}

/* Trust band */
.band {
  display: grid;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.band-item {
  padding: 1.2rem var(--pad);
  border-bottom: 1px solid var(--line);
}

.band-item:last-child {
  border-bottom: 0;
}

.band-item b {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.band-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (min-width: 760px) {
  .band {
    grid-template-columns: repeat(4, 1fr);
  }

  .band-item {
    border-bottom: 0;
    border-right: 1px solid var(--line);
    padding: 1.4rem 1.2rem;
  }

  .band-item:last-child {
    border-right: 0;
  }
}

/* Chunks */
.chunk {
  padding: clamp(4rem, 9vw, 6rem) 0;
}

.track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  counter-reset: none;
}

@media (min-width: 820px) {
  .track {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.track li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--r) + 4px);
  padding: 1.4rem 1.3rem 1.5rem;
}

.track span {
  display: inline-flex;
  width: 2.2rem;
  height: 2.2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-family: var(--display);
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.track p {
  margin: 0;
  color: var(--muted);
}

/* Cash / forint */
.cash {
  padding: clamp(4rem, 9vw, 6rem) 0;
  background: var(--white);
}

.cash-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .cash-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 3.5rem;
  }
}

.cash-pic {
  margin: 0;
  position: relative;
}

.cash-pic::before {
  content: "";
  position: absolute;
  inset: 8% -5% -8% 8%;
  background: var(--blue-soft);
  border-radius: 22px;
  z-index: 0;
}

.cash-pic img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(11, 31, 58, 0.16);
  transform: rotate(-2deg);
  transition: transform 0.35s var(--ease);
}

.cash-pic:hover img {
  transform: rotate(-1deg) translateY(-4px);
}

.cash-pic figcaption {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}

/* Range */
.range {
  position: relative;
  min-height: 24rem;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.range-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.range-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(11, 31, 58, 0.92) 0%,
    rgba(11, 31, 58, 0.55) 60%,
    rgba(11, 31, 58, 0.35) 100%
  );
}

.range-copy {
  position: relative;
  z-index: 1;
  padding-block: clamp(3rem, 7vw, 4.5rem);
}

.range-copy h2 {
  color: #fff;
  max-width: 14ch;
}

.range-copy ul {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  max-width: 28rem;
}

@media (min-width: 600px) {
  .range-copy ul {
    grid-template-columns: 1fr 1fr;
  }
}

.range-copy li {
  font-weight: 600;
  padding-left: 0.85rem;
  border-left: 3px solid #7eb0ff;
}

/* Form */
.form-chunk {
  background: var(--blue-soft);
}

.wizard {
  margin-top: 0.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  box-shadow: 0 16px 40px rgba(11, 31, 58, 0.06);
}

.meter {
  height: 4px;
  border-radius: 999px;
  background: #e4eaf3;
  overflow: hidden;
  margin-bottom: 1rem;
}

.meter-fill {
  height: 100%;
  width: 33%;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  transition: width 0.3s ease;
}

.pills {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.pills li {
  text-align: center;
  padding: 0.65rem 0.3rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--paper);
}

.pills li.is-active {
  color: #fff;
  background: var(--navy);
}

.pills li.is-done {
  color: var(--blue);
  background: var(--blue-soft);
}

.pane {
  margin: 0;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}

.pane[hidden] {
  display: none;
}

.pane legend {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding: 0;
}

.fields {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .fields {
    grid-template-columns: 1fr 1fr;
  }

  .wide {
    grid-column: 1 / -1;
  }
}

.wizard label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.wizard label em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
}

.wizard input,
.wizard select,
.wizard textarea {
  font: inherit;
  font-weight: 500;
  padding: 0.85rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.wizard input:focus,
.wizard select:focus,
.wizard textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.18);
}

.wizard input.invalid,
.wizard select.invalid {
  border-color: #d92d20;
}

.wizard textarea {
  resize: vertical;
  min-height: 6rem;
}

.nav-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.3rem;
}

.check {
  display: grid;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.check div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px dashed var(--line);
  font-size: 0.98rem;
}

.check div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.check .k {
  color: var(--muted);
  font-weight: 600;
}

.check .v {
  font-weight: 700;
  text-align: right;
}

.note {
  margin: 1rem 0 0;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--navy);
  font-weight: 600;
}

.note[hidden] {
  display: none;
}

.note.is-error {
  background: #fee4e2;
  color: #b42318;
}

.tiny {
  margin: 1.1rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.tiny a {
  font-weight: 600;
}

/* FAQ */
.qa {
  display: grid;
  gap: 0.55rem;
}

.qa details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.15rem 1.1rem;
}

.qa details[open] {
  border-color: #b7cffc;
  background: #f3f7ff;
}

.qa summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.95rem 0;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa summary::after {
  content: "+";
  float: right;
  color: var(--blue);
}

.qa details[open] summary::after {
  content: "–";
}

.qa p {
  margin: 0 0 1rem;
  color: var(--muted);
}

/* Contact */
.reach {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: clamp(4rem, 9vw, 6rem) 0;
}

.reach-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reach-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(11, 31, 58, 0.94) 0%,
    rgba(19, 42, 74, 0.88) 55%,
    rgba(11, 31, 58, 0.75) 100%
  );
}

.reach-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .reach-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: end;
  }
}

.reach h2 {
  color: #fff;
}

.reach p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 32ch;
}

.reach-links {
  display: grid;
  gap: 0.65rem;
}

.reach-links .big {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 700;
  text-decoration: none;
  color: #9ec0ff;
}

.reach-links a:nth-child(2) {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  word-break: break-all;
}

.reach-links span {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

/* Footer */
.foot {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.65);
  padding: 2rem 0 5.5rem;
}

.foot-row {
  display: grid;
  gap: 0.6rem;
  text-align: center;
}

.foot .mark {
  margin: 0;
  color: #fff;
}

.foot a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.copy {
  margin: 0;
  font-size: 0.85rem;
}

.float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  padding: 0.9rem 1.2rem;
  border-radius: var(--r);
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.28);
}

@media (min-width: 900px) {
  .float {
    display: none;
  }

  .foot {
    padding-bottom: 2.25rem;
  }
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes up {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes slow-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .splash-img,
  .splash-body,
  .reveal {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}
