:root {
  --navy-950: #102b46;
  --navy-900: #163552;
  --navy-700: #4f6479;
  --navy-500: #7e8ea0;
  --paper: #ffffff;
  --paper-200: #f4f7fa;
  --paper-300: #edf2f6;
  --line: #d9e3ec;
  --accent: #f59b0c;
  --accent-strong: #b26d00;
  --shadow: 0 22px 60px rgba(16, 43, 70, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--navy-950);
  background: linear-gradient(180deg, #fbfcfe 0%, #f5f8fb 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(245, 155, 12, 0.45);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(217, 227, 236, 0.7);
}

.header-inner,
.footer-inner,
.header-actions,
.hero-cta,
.cta-band-inner {
  display: flex;
  align-items: center;
}

.header-inner {
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: auto;
  height: 34px;
}

.brand-logo-footer {
  height: 30px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.brand-mark {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.header-actions {
  gap: 12px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.72);
}

.language-button {
  min-width: 36px;
  min-height: 34px;
  padding: 0 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--navy-700);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  transition: color 160ms ease, background 160ms ease;
}

.language-button.is-active {
  background: var(--navy-950);
  color: var(--paper);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #1f2228;
  box-shadow: 0 12px 28px rgba(245, 155, 12, 0.22);
}

.button-primary:hover {
  background: #ffab20;
}

.button-secondary,
.button-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy-950);
  border-color: var(--line);
}

.button-ghost-light {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.25);
}

.button-block {
  width: 100%;
}

.hero {
  position: relative;
  min-height: calc(100svh - 78px);
  overflow: hidden;
  padding: 60px 0 88px;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(245, 155, 12, 0.18), transparent 24%),
    radial-gradient(circle at 72% 40%, rgba(22, 53, 82, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(237, 242, 246, 0.92) 60%, rgba(214, 226, 236, 0.96) 100%);
}

.hero-grid,
.split,
.product-grid {
  position: relative;
  display: grid;
  gap: 32px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) 404px;
  column-gap: 40px;
  row-gap: 55px;
  align-items: start;
}

.hero-heading {
  grid-column: 1 / -1;
}

.hero-copy {
  min-width: 0;
  max-width: 760px;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--navy-700);
  font-size: 0.92rem;
  font-weight: 500;
}

.eyebrow::before,
.section-label::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
}

h1,
h2,
h3,
.brand-mark {
  margin: 0;
}

h1,
h2 {
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

h1 {
  max-width: none;
  font-size: clamp(2.35rem, 3.55vw, 3.7rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: 1.18rem;
  line-height: 1.2;
}

.lead,
.section-head p,
.split-copy p,
.hero-panel p,
.site-footer p,
.callout p,
.faq-item p,
.booking-card,
.card p,
.feature-card p {
  color: var(--navy-700);
}

.lead {
  max-width: 60ch;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.72;
}

.hero-cta {
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.inline-facts,
.industry-row,
.logo-cloud {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
}

.inline-facts {
  max-width: 760px;
  margin: 28px 0 12px;
}

.industry-row {
  max-width: 820px;
}

.inline-facts li,
.industry-row li,
.logo-cloud span {
  padding: 10px 14px;
  border: 1px solid rgba(22, 53, 82, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--navy-900);
}

.inline-facts li {
  padding: 9px 12px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.hero-panel,
.card,
.feature-card,
.process-card,
.faq-item,
.booking-card,
.callout,
.logo-cloud span {
  box-shadow: var(--shadow);
}

.hero-panel {
  position: static;
  width: 430px;
  max-width: 100%;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(16, 43, 70, 0.92), rgba(22, 53, 82, 0.88));
  color: var(--paper);
}

.panel-kicker {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.hero-panel h2 {
  width: 100%;
  max-width: none;
  margin-bottom: 18px;
  font-size: clamp(1.7rem, 2.05vw, 2.15rem);
  line-height: 1.2;
}

.hero-panel p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: var(--navy-700);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue-arrow {
  position: relative;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(22, 53, 82, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  animation: scroll-cue-bob 1.8s ease-in-out infinite;
}

.scroll-cue-arrow::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 11px;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}

@keyframes scroll-cue-bob {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 0 rgba(245, 155, 12, 0.18);
  }

  50% {
    transform: translateY(6px);
    box-shadow: 0 0 0 8px rgba(245, 155, 12, 0);
  }
}

.logo-strip,
.section {
  padding: 40px 0 110px;
}

.surface {
  background: var(--paper-200);
}

#problemak,
#kapcsolat {
  scroll-margin-top: 90px;
}

.surface-dark,
.cta-band,
.site-footer {
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--paper);
}

.logo-cloud {
  margin: 0;
}

.logo-cloud span {
  min-width: 144px;
  justify-content: center;
  background: rgba(255, 255, 255, 0.94);
}

.section-head {
  display: grid;
  gap: 18px;
  max-width: 860px;
  margin-bottom: 34px;
}

.section-head h2 {
  max-width: 18ch;
}

#problemak .risk-title {
  max-width: 27ch;
}

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

.card,
.feature-card,
.process-card,
.faq-item,
.booking-card {
  border: 1px solid rgba(217, 227, 236, 0.8);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
}

.card {
  padding: 24px;
}

.card p,
.feature-card p {
  margin-bottom: 0;
  line-height: 1.65;
}

.callout {
  margin-top: 22px;
  padding: 24px 26px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(245, 155, 12, 0.2);
  background: linear-gradient(180deg, #fff8ed 0%, #fff2d8 100%);
}

.callout strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.split {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.stack {
  display: grid;
  gap: 18px;
}

.feature-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 22px;
}

.feature-index {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(245, 155, 12, 0.12);
  color: var(--accent-strong);
  font-weight: 700;
}

.section-label-inverse {
  color: rgba(255, 255, 255, 0.72);
}

.product-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
  align-items: center;
}

.surface-dark p,
.cta-band p {
  color: rgba(255, 255, 255, 0.72);
}

.process-card {
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.76)
}

.process-card ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 16px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 22px 24px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

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

.faq-item p {
  margin: 14px 0 0;
  line-height: 1.7;
}

.cta-band-inner {
  justify-content: space-between;
  align-items: start;
  gap: 32px;
}

.booking-card {
  width: min(100%, 720px);
  padding: 24px;
  color: var(--navy-950);
}

.booking-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(245, 155, 12, 0.35);
  border-radius: 14px;
  background: rgba(245, 155, 12, 0.12);
  color: var(--accent);
  font-weight: 700;
}

.booking-icon svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.booking-kicker {
  margin: 0 0 8px;
  color: var(--accent) !important;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.booking-card h3 {
  margin-bottom: 10px;
  color: var(--navy-950);
  font-size: 1.35rem;
}

.booking-card > div > p:last-child {
  margin: 0 0 22px;
  color: var(--navy-700);
  line-height: 1.6;
}

.booking-note {
  margin: 12px 0 0;
  color: var(--navy-700) !important;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer {
  padding: 34px 0 46px;
}

.footer-inner {
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.78);
}

.footer-link-button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.footer-link-button:hover,
.footer-links a:hover {
  color: var(--paper);
}

.consent-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  width: min(calc(100% - 48px), 860px);
  padding: 24px;
  border: 1px solid rgba(217, 227, 236, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 80px rgba(16, 43, 70, 0.24);
  color: var(--navy-950);
  backdrop-filter: blur(16px);
}

.consent-banner[hidden] {
  display: none;
}

.consent-copy h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.consent-copy p {
  max-width: 600px;
  margin: 0 0 8px;
  color: var(--navy-700);
  line-height: 1.5;
}

.consent-copy a {
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-actions {
  display: flex;
  gap: 10px;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .product-grid,
  .cta-band-inner,
  .grid-2x2 {
    grid-template-columns: 1fr;
  }

  .logo-strip,
  .section {
    padding: 34px 0 84px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: start;
  }

  .cta-band-inner {
    flex-direction: column;
  }

  .hero-grid {
    row-gap: 32px;
  }

  .hero {
    min-height: auto;
  }

  .hero-heading {
    grid-column: auto;
  }

  .hero-copy {
    max-width: none;
  }

  .inline-facts,
  .industry-row {
    max-width: none;
  }

  .brand-logo {
    height: 30px;
  }

  h1 {
    max-width: 12.5ch;
  }

  .desktop-break {
    display: none;
  }

  .hero-panel {
    position: static;
    width: 100%;
    max-width: none;
  }

  .scroll-cue {
    position: relative;
    left: auto;
    bottom: auto;
    width: max-content;
    margin: 32px auto 0;
    transform: none;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    position: static;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-logo {
    height: 26px;
  }

  .header-actions .button-secondary {
    display: none;
  }

  .header-actions .button-primary {
    min-height: 42px;
    padding-inline: 12px;
    font-size: 0.82rem;
  }

  .header-actions {
    gap: 8px;
  }

  .language-button {
    min-width: 32px;
    padding-inline: 7px;
  }

  .hero {
    padding: 42px 0 48px;
  }

  h1 {
    max-width: 9.6ch;
    font-size: clamp(2.2rem, 10vw, 3.3rem);
  }

  .lead {
    font-size: 1rem;
  }

  .hero-panel,
  .card,
  .feature-card,
  .process-card,
  .faq-item,
    .booking-card,
  .callout {
    border-radius: 20px;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .button {
    min-height: 46px;
    padding-inline: 14px;
  }

  .consent-banner {
    right: 14px;
    bottom: 14px;
    grid-template-columns: 1fr;
    gap: 18px;
    width: calc(100% - 28px);
    padding: 20px;
    border-radius: 20px;
  }

  .consent-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue-arrow {
    animation: none;
  }
}

/* Privacy notice */
.legal-page {
  background:
    radial-gradient(circle at 82% 4%, rgba(245, 155, 12, 0.1), transparent 28rem),
    linear-gradient(180deg, #f8fafc 0%, #edf3f8 100%);
}

.legal-main {
  padding: clamp(48px, 7vw, 88px) 0 clamp(72px, 9vw, 120px);
}

.legal-document {
  max-width: 960px;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.legal-document[hidden] {
  display: none;
}

.legal-hero {
  padding-bottom: clamp(28px, 4vw, 46px);
}

.legal-hero h1 {
  max-width: none;
  margin: 18px 0 14px;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.legal-updated {
  margin: 0 0 24px;
  color: var(--navy-700);
  font-weight: 600;
}

.legal-intro {
  max-width: 760px;
  margin: 0;
  color: var(--navy-700);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.legal-section {
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--line);
}

.legal-section:last-child {
  padding-bottom: 0;
}

.legal-section h2 {
  margin: 0 0 18px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.025em;
}

.legal-section h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.legal-section p,
.legal-list {
  color: var(--navy-700);
  line-height: 1.75;
}

.legal-section a {
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-list {
  padding-left: 1.3rem;
}

.legal-details {
  margin-bottom: 0;
}

.legal-process {
  margin-top: 22px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-200);
}

.legal-process p:last-child {
  margin-bottom: 0;
}

.legal-process code {
  padding: 0.12em 0.35em;
  border-radius: 5px;
  background: var(--paper-300);
  color: var(--navy-950);
}

.legal-footer .footer-inner {
  justify-content: space-between;
}

.legal-footer .brand-logo-footer {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .header-actions .legal-back {
    display: inline-flex;
    flex: 0 0 42px;
    width: 42px;
    min-height: 42px;
    max-height: 42px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    font-size: 0;
  }

  .legal-back::before {
    content: "←";
    color: var(--navy-950);
    font-size: 1.25rem;
  }

  .legal-document {
    border-radius: 20px;
  }

  .legal-process {
    padding: 18px;
  }
}

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

  .button {
    transition: none;
  }

  .language-button {
    transition: none;
  }
}
