:root {
  --blue: #0086ff;
  --blue-dark: #1863dc;
  --navy: #0a3273;
  --black: #000000;
  --text: #333333;
  --muted: #6b7378;
  --line: #e0e0e0;
  --tint: #f8fbff;
  --white: #ffffff;

  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Montserrat", "Segoe UI", Arial, sans-serif;

  --wrap: 1140px;
  --gutter: 20px;
  --radius-img: 32px;
  --radius-btn: 10px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
}

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

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

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
}

h3 {
  font-size: 1.1rem;
}

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

p {
  margin: 0;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}

.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy);
  text-decoration: none;
  margin-right: auto;
  white-space: nowrap;
}

.logo span {
  color: var(--blue);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--text);
  text-decoration: none;
}

.nav a:hover {
  color: var(--blue);
}

.lang {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  gap: 6px;
  color: var(--line);
}

.lang a {
  color: var(--muted);
  text-decoration: none;
}

.lang a:hover {
  color: var(--blue);
}

.lang strong {
  color: var(--black);
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .header .wrap {
    gap: 18px;
  }
}

/* Button */
.btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 11px 25px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.link {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--black);
  text-decoration: none;
}

.link:hover {
  color: var(--blue);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
}

@media (max-width: 480px) {
  .header .btn {
    display: none;
  }
}

/* Sections */
.section {
  padding-block: 80px;
}

.section.tint {
  background: var(--tint);
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.row>* {
  min-width: 0;
}

.text {
  display: grid;
  gap: 16px;
}

.text p {
  max-width: 34rem;
}

.text ul {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 6px;
}

.text li::marker {
  color: var(--blue);
}

.pic {
  border-radius: var(--radius-img);
  overflow: hidden;
  background: var(--tint);
}

.pic img {
  width: 100%;
}

.pic.contain {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  aspect-ratio: 4 / 3;
}

.pic.contain img {
  width: auto;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 860px) {
  .section {
    padding-block: 56px;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .row .pic {
    order: -1;
  }
}

/* Hero */
.hero {
  padding-block: 72px 80px;
}

.hero .sub {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem);
  color: var(--blue);
}

/* Tenders */
.tenders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.tender {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  text-decoration: none;
  color: var(--text);
}

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

.tender img {
  height: 90px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.tender h3 {
  font-size: 1rem;
}

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

/* Contact */
.contact {
  display: grid;
  gap: 4px;
}

.contact strong {
  font-family: var(--font-head);
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 12px;
}

.contact a {
  color: var(--black);
  text-decoration: none;
  font-size: 1.1rem;
}

.contact a:hover {
  color: var(--blue);
}

.map {
  border-radius: var(--radius-img);
  overflow: hidden;
  background: var(--tint);
}

.map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

/* Subpage */
.page-title {
  display: grid;
  gap: 24px;
}

.page-title img {
  max-width: 480px;
  width: 100%;
}

.facts {
  margin: 40px 0 0;
  border-top: 1px solid var(--line);
}

.facts div {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--muted);
}

.facts dd {
  margin: 0;
  color: var(--black);
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .facts div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

.prose {
  display: grid;
  gap: 16px;
  max-width: 46rem;
  margin-top: 48px;
}

.back {
  font-family: var(--font-head);
  font-size: 0.85rem;
  text-decoration: none;
}

.infoblock {
  margin-top: 48px;
  max-width: 480px;
}

/* Video */
.video-section {
  padding-top: 0;
}

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  border-radius: var(--radius-img);
  overflow: hidden;
  background: var(--tint);
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 40px 40px;
  font-size: 0.85rem;
}

.imprint {
  display: grid;
  gap: 2px;
}

.imprint strong {
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
}

.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.footer a {
  color: var(--text);
  text-decoration: none;
}

.footer a:hover {
  color: var(--blue);
}

.footer .copy {
  color: var(--muted);
}

.hero .pic {
  aspect-ratio: 4 / 3;
}

.hero .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
}

/* Széchenyi 2020 logo */
#szechenyi_2020_logo {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 888888;
  width: 220px;
  line-height: 0;
}

#szechenyi_2020_logo a {
  display: block;
}

#szechenyi_2020_logo img {
  border: none;
  padding: 0;
  margin: 0;
  display: inline-block;
  max-width: 100%;
  height: auto;
}

@media (max-width: 600px) {
  #szechenyi_2020_logo {
    width: 130px;
  }

  .footer {
    padding-bottom: 100px;
  }
}