:root {
  --navy: #062c4d;
  --navy-deep: #031d34;
  --blue: #0a66a8;
  --cyan: #00a3e0;
  --cyan-soft: #dff5fd;
  --ink: #102235;
  --muted: #526879;
  --line: #d9e5ed;
  --surface: #f5f8fa;
  --surface-strong: #edf4f8;
  --white: #ffffff;
  --amber: #bc8a21;
  --shadow: 0 18px 52px rgba(6, 44, 77, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body[data-lang="hu"] .i18n-en,
body[data-lang="en"] .i18n-hu {
  display: none;
}

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

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

.container {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 216px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 760;
  line-height: 1.1;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
}

.site-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--navy);
  background: var(--surface);
  outline: none;
}

.language-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  width: 92px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.language-button {
  min-height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 760;
}

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

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 38%;
  background: var(--navy);
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 8px;
  background: var(--cyan);
}

.hero-mark {
  position: absolute;
  z-index: 1;
  right: 6%;
  top: 50%;
  width: 380px;
  height: 380px;
  object-fit: contain;
  opacity: 0.25;
  transform: translateY(-50%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 96px 0 104px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--navy-deep);
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 690px;
  margin: 26px 0 0;
  color: #334b5e;
  font-size: 19px;
  line-height: 1.68;
}

.value-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.value-points li {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(0, 163, 224, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--navy);
  font-size: 14px;
  font-weight: 760;
  box-shadow: 0 12px 32px rgba(6, 44, 77, 0.06);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button,
.contact-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 780;
  line-height: 1.2;
}

.button-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue);
  outline: none;
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(0, 163, 224, 0.65);
  background: var(--cyan-soft);
  outline: none;
}

.phone-symbol {
  position: relative;
  width: 17px;
  height: 17px;
  display: inline-block;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-left-width: 4px;
  border-bottom-width: 4px;
  border-radius: 5px 5px 5px 8px;
  transform: rotate(-36deg);
}

.phone-symbol::before,
.phone-symbol::after {
  content: "";
  position: absolute;
  left: 2px;
  width: 7px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.phone-symbol::before {
  top: 1px;
}

.phone-symbol::after {
  bottom: 1px;
}

.mail-symbol {
  position: relative;
  width: 18px;
  height: 13px;
  display: inline-block;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.mail-symbol::before,
.mail-symbol::after {
  content: "";
  position: absolute;
  top: 1px;
  width: 10px;
  height: 2px;
  background: currentColor;
}

.mail-symbol::before {
  left: 1px;
  transform: rotate(35deg);
  transform-origin: left center;
}

.mail-symbol::after {
  right: 1px;
  transform: rotate(-35deg);
  transform-origin: right center;
}

.section {
  padding: 92px 0;
}

.section-about,
.section-method {
  background: var(--white);
}

.section-services {
  background: var(--surface-strong);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 84px;
  align-items: start;
}

.section-heading {
  position: relative;
}

.section-heading::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 28px;
  background: var(--cyan);
}

.section-heading-wide {
  max-width: 760px;
  margin-bottom: 42px;
}

.section h2 {
  margin: 0;
  color: var(--navy-deep);
  font-size: 36px;
  line-height: 1.16;
  letter-spacing: 0;
}

.copy-block {
  max-width: 760px;
}

.copy-block p,
.method-intro,
.service-card p,
.contact-copy {
  margin: 0;
  color: #3f5668;
  font-size: 17px;
  line-height: 1.74;
}

.copy-block p + p {
  margin-top: 22px;
}

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

.service-card {
  min-height: 430px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(6, 44, 77, 0.07);
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 32px;
  border-left: 4px solid var(--cyan);
  color: var(--blue);
  font-size: 13px;
  font-weight: 820;
}

.service-card h3 {
  min-height: 68px;
  margin: 24px 0 14px;
  color: var(--navy);
  font-size: 23px;
  line-height: 1.18;
  letter-spacing: 0;
}

.service-card .service-intro {
  min-height: 78px;
  margin-bottom: 18px;
  color: var(--navy-deep);
  font-size: 16px;
  font-weight: 760;
  line-height: 1.5;
}

.service-card p {
  font-size: 15px;
  line-height: 1.68;
}

.method-content {
  max-width: 760px;
}

.process-list {
  display: grid;
  gap: 18px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
}

.process-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.process-step {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 820;
}

.process-list h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.process-list p {
  margin: 0;
  color: #4b6173;
  font-size: 16px;
  line-height: 1.65;
}

.section-contact {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
}

.section-contact::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  background: var(--cyan);
}

.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}

.section-contact .section-kicker {
  color: var(--cyan);
}

.section-contact h2 {
  color: var(--white);
}

.contact-copy {
  max-width: 640px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-links {
  display: grid;
  gap: 12px;
  min-width: 260px;
}

.contact-link {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  overflow-wrap: anywhere;
}

.contact-link:hover,
.contact-link:focus-visible {
  background: var(--cyan);
  color: var(--navy-deep);
  outline: none;
}

.site-footer {
  background: #021522;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
}

.footer-inner span {
  color: var(--white);
  font-weight: 760;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: var(--cyan);
  outline: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
}

@media (max-width: 1080px) {
  .container {
    width: min(100% - 40px, 980px);
  }

  .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 14px 0;
  }

  .site-nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero h1 {
    max-width: 640px;
    font-size: 46px;
  }

  .hero::before {
    width: 34%;
  }

  .hero-mark {
    right: 2%;
    width: 320px;
    height: 320px;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    min-height: 360px;
  }

  .service-card h3,
  .service-card .service-intro {
    min-height: 0;
  }
}

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

  .brand {
    min-width: 0;
    font-size: 16px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .site-nav {
    gap: 4px;
  }

  .site-nav a {
    padding: 8px 10px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    width: 100%;
    height: 150px;
    inset: auto 0 0;
    clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
  }

  .hero-mark {
    right: -90px;
    top: auto;
    bottom: 44px;
    width: 260px;
    height: 260px;
    opacity: 0.14;
    transform: none;
  }

  .hero-inner {
    padding: 68px 0 92px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.12;
  }

  .hero-lead {
    font-size: 17px;
    line-height: 1.62;
  }

  .value-points li {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .contact-link {
    width: 100%;
  }

  .section {
    padding: 68px 0;
  }

  .section h2 {
    font-size: 29px;
    line-height: 1.22;
  }

  .copy-block p,
  .method-intro,
  .contact-copy {
    font-size: 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
    padding: 24px;
  }

  .process-list li {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-inner {
    min-height: 96px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .header-inner {
    gap: 12px;
  }

  .language-switch {
    width: 86px;
  }

  .site-nav a {
    min-height: 36px;
    padding: 7px 9px;
  }

  .hero h1 {
    font-size: 31px;
  }
}
