/* Match the archived public site's spacing, typography, and section layout. */
@font-face {
  font-family: Montserrat;
  src: url('/assets/fonts/Montserrat-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Montserrat;
  src: url('/assets/fonts/Montserrat-Bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  --color-accent: #f05b62;
  --color-accent-dark: #f05b62;
  --color-heading: #4e4e4e;
  --color-text: #4e4e4e;
  --color-text-soft: #4e4e4e;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-quote: 'Montserrat', Arial, sans-serif;
  --max-width: 1100px;
}

body { font-size: 20px; line-height: 1.5; }
h1, h2, h3, h4 { font-family: var(--font-body); font-weight: 700; }
a { color: #f05b62; }
.site-header { border: 0; background: #fff; }
.site-header__bottom {
  max-width: 1100px;
  height: 112px;
  padding: 0;
  gap: 28px;
}
.site-logo img { width: 166px; }
.site-nav { flex-wrap: nowrap; gap: 34px; }
.site-nav--primary { margin-left: auto; flex: 0 1 auto; }
.site-nav--secondary { margin-left: 0; }
.site-nav__item, .site-nav__folder-title {
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #393939;
  white-space: nowrap;
}
.site-nav__folder-title .chevron { display: none; }
.site-nav__item[aria-current="page"] { border: 0; color: #393939; }
.site-nav--secondary .site-nav__item {
  color: #f05b62;
  background: #fff;
  border: 2px solid #f05b62;
  border-radius: 22px;
  padding: 9px 19px;
}
.site-nav--secondary .site-nav__item:hover { color: #fff; background: #f05b62; }
.site-header__social { display: flex; gap: 15px; align-items: center; }
.site-header__social a { color: #aaa; }
.site-header__social svg { width: 16px; height: 16px; }

.page-home .hero {
  background: #fff;
  min-height: 468px;
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 0 42px;
  text-align: left;
}
.hero__lines { max-width: none; margin: 0; }
.hero-mobile-break { display: none; }
.hero__lines p {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -.025em;
  color: #4e4e4e;
  margin: 0 0 24px;
  max-width: 940px;
}
.hero__lines p:nth-child(2) { max-width: 790px; }
.hero__slogan {
  font-family: var(--font-body);
  color: #f05b62;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.15;
  margin: 12px 0 0;
}
.hero__social {
  position: absolute;
  right: 0;
  bottom: 45px;
  display: flex;
  gap: 14px;
}
.hero__social a {
  width: 48px;
  height: 48px;
  color: white;
  text-decoration: none;
  background: #45609a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-size: 27px;
  font-weight: 700;
}
.hero__social a + a { background: #0877b5; font-size: 24px; }

.banner {
  height: 470px;
  background-position: center 70%;
  display: block;
  margin-bottom: 147px;
}
.banner::before { background: rgba(0, 0, 0, .1); }
.banner::after {
  content: "";
  position: absolute;
  top: 100%;
  height: 147px;
  width: 100%;
  background: #000;
}
.banner__links {
  max-width: 960px;
  height: 100%;
  margin: 0 auto;
  padding: 90px 0 0;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
}
.banner__links a {
  font-family: var(--font-body);
  font-size: 39px;
  font-weight: 700;
  line-height: 1.1;
  text-shadow: none;
}

.section, .section:nth-of-type(even) { background: #fff; }
.section { padding: 105px 20px 50px; }
.section .container { max-width: 1100px; padding: 0; }
.section__title {
  color: #4e4e4e;
  font-size: 39px;
  line-height: 1;
  margin: 0 auto 38px;
  max-width: 950px;
}
.section__rule {
  width: 950px;
  max-width: 100%;
  height: 1px;
  background: #dedede;
  margin: 0 auto 48px;
}
.service-row, .service-row--no-quote {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 195px;
  gap: 80px;
  border: 0;
  padding: 0 0 22px;
}
.section .service-row__icon { visibility: hidden; }
.section .section__rule + .service-row .service-row__icon { visibility: visible; }
.service-row__icon img { width: 155px; height: 155px; object-fit: contain; }
.service-row__body h3 {
  color: #f05b62;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.2;
  margin: 0 0 22px;
}
.service-row__body h4 {
  color: #333;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 20px 0 2px;
}
.service-row__body h3 + h4 { margin-top: 0; }
.service-row__body p { margin: 0 0 18px; }
.service-row__quote {
  border: 0;
  padding: 0;
  margin: 20px 0 0;
  color: #555;
  font-size: 20px;
  font-style: normal;
  line-height: 1.12;
  text-align: center;
}
.service-row__quote cite { color: #444; font-size: 16px; margin-top: 34px; }
.page-home .section .service-row { padding-bottom: 30px; }
.page-home .banner + .section .service-row { padding-bottom: 50px; }
.section__cta { margin: 8px auto 0; }
.btn, .btn-primary {
  font-family: var(--font-body);
  background: #f04d3e;
  border: 0;
  border-radius: 0;
  color: #fff;
  padding: 12px 24px;
  font-size: 14px;
  letter-spacing: 0;
}
.btn:hover, .btn-primary:hover { color: #fff; background: #e33d31; }

.page-header {
  max-width: 1100px;
  text-align: left;
  margin: 0 auto;
  padding: 65px 0 20px;
}
.page-header h1 { color: #4e4e4e; font-size: 42px; }
.prose { max-width: 950px; font-size: 20px; }
.page-about .page-header { display: none; }
.team-grid {
  max-width: 1100px;
  display: block;
  padding: 80px 0 40px;
}
.team-card {
  display: grid;
  grid-template-columns: 405px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  text-align: left;
  border-bottom: 1px solid #ddd;
  padding: 26px 0 38px;
  column-gap: 68px;
}
.team-card__photo {
  grid-column: 1;
  grid-row: 1 / 4;
  width: 275px;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 0;
  margin: 0 auto;
}
.team-card h2 {
  grid-column: 2;
  color: #f05b62;
  font-size: 20px;
  letter-spacing: .1em;
  margin: 0 0 18px;
}
.team-card a.email {
  grid-column: 2;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 18px;
}
.team-card p.bio {
  grid-column: 2;
  font-size: 20px;
  line-height: 1.5;
  color: #333;
}

.page-how .how-intro {
  max-width: 1100px;
  margin: 86px auto 32px;
  text-align: center;
  font-size: 20px;
  line-height: 1.5;
}
.how-intro p { margin: 0; }
.how-columns {
  display: grid;
  grid-template-columns: minmax(0, 535px) minmax(0, 1fr);
  column-gap: 125px;
  max-width: 1100px;
  margin: 0 auto;
}
.how-columns h1, .how-columns h2, .how-method h2 {
  color: #222;
  font-size: 30px;
  line-height: 1.15;
  text-align: center;
  margin: 0 0 24px;
}
.how-services .accordion { max-width: none; padding: 0; margin: 0; }
.how-services .accordion-item { border: 0; margin: 0 0 18px; }
.how-services .accordion-item__trigger {
  min-height: 40px;
  border: 2px solid #aeb4b8;
  padding: 6px 14px;
  color: #f05b62;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.how-services .accordion-item__trigger .chevron { display: none; }
.how-services .accordion-item__trigger::after { content: '+'; margin-left: 5px; }
.how-services .accordion-item__trigger[aria-expanded="true"]::after { content: '−'; }
.how-services .accordion-item__panel-inner { padding: 15px 10px 25px; }
.how-values .values-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: none;
  margin: 0;
  padding: 0;
}
.how-values .values-list span {
  background: none;
  border-radius: 0;
  padding: 0;
  color: #333;
  font-size: 18px;
  font-weight: 400;
}
.how-method { max-width: 1100px; margin: 26px auto 0; padding-bottom: 260px; }
.how-method h2 { margin: 0; }

.page-reference .page-header { padding-top: 70px; padding-bottom: 18px; }
.page-reference .page-header h1 {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}
.page-reference .reference-list {
  display: block;
  max-width: 1100px;
  padding: 0 0 70px;
}
.page-reference .reference-item {
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0 0 45px;
  font-size: 20px;
  line-height: 1.5;
}
.page-reference .reference-item h2 {
  color: #f05b62;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.2;
  margin: 0 0 23px;
}
.page-reference .reference-item p { margin-bottom: 22px; }
.page-reference .reference-item .meta {
  color: #333;
  font-size: 20px;
  line-height: 2.25;
  margin: 0 0 22px;
}
.page-reference .reference-item .meta strong { font-weight: 400; }
.page-reference .reference-item .meta br { display: block; content: ''; margin-bottom: 18px; }
.page-reference .reference-item .links { font-size: 20px; margin-top: 0; }
.page-reference .reference-item .links::before { content: 'linkek:'; display: block; margin-bottom: 18px; }
.page-reference--en .reference-item .links::before { content: 'links (Hungarian):'; }
.page-reference .reference-item .links a {
  display: block;
  font-size: 0;
  line-height: 1.5;
  overflow-wrap: anywhere;
  margin-bottom: 25px;
}
.page-reference .reference-item .links a::after { content: attr(href); font-size: 20px; }
.page-reference .reference-item:not(:first-child) .links a { font-size: 20px; }
.page-reference .reference-item:not(:first-child) .links a::after { display: block; }

.page-contact .page-header { padding-top: 70px; }
.page-contact .page-header p { margin-top: 60px; font-size: 20px; }
.contact-layout { max-width: 1100px; padding: 0 0 105px; }
.contact-layout form { width: 625px; max-width: 100%; }
.form-row { margin-bottom: 26px; }
.form-row--split { gap: 14px; }
.name-row__label { grid-column: 1 / -1; }
.name-row__hint { display: block; margin-top: 5px; font: 13px/1.4 Arial, sans-serif; color: #333; }
.contact-layout label {
  color: #333;
  font-size: 15px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 4px;
}
.contact-layout input[type=text], .contact-layout input[type=email],
.contact-layout input[type=tel], .contact-layout textarea {
  background: #fafafa;
  border: 1px solid #ccc;
  border-radius: 0;
  padding: 8px 10px;
  height: 42px;
}
.contact-layout textarea { min-height: 100px; height: 100px; }
.contact-layout select { width: auto; font-family: Arial, sans-serif; border-radius: 0; padding: 1px; }
.contact-layout .url-prefix span { display: none; }
.contact-layout .url-prefix input { border-radius: 0; }
.contact-layout form > .btn { display: block; margin: 30px auto 0; background: #fff; color: #f05b62; border: 2px solid #f05b62; border-radius: 25px; padding: 10px 35px; }

.site-footer {
  background: #363636;
  color: #eee;
  margin-top: 0;
  padding: 32px max(20px, calc((100% - 950px) / 2)) 55px;
  font-size: 20px;
  text-align: left;
}
.site-footer__legal p { margin: 0 0 20px; }
.mobile-footer-break { display: none; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer__links { font-size: 14px; margin-top: 20px; }

@media (max-width: 1160px) {
  .site-header__bottom, .page-header, .contact-layout, .team-grid { margin-left: 20px; margin-right: 20px; }
  .page-home .hero { margin-left: max(20px, calc((100% - 960px) / 2)); margin-right: max(20px, calc((100% - 960px) / 2)); }
  .banner__links { margin-left: max(20px, calc((100% - 960px) / 2)); margin-right: max(20px, calc((100% - 960px) / 2)); }
  .page-how .how-intro, .how-columns, .how-method { margin-left: 20px; margin-right: 20px; }
  .page-reference .reference-list { margin-left: 20px; margin-right: 20px; }
}

@media (max-width: 900px) {
  .site-nav--primary, .site-nav--secondary, .site-header__social { display: none; }
  .site-header__bottom { height: 66px; justify-content: space-between; }
  .mobile-bar-toggle { display: inline-flex; }
  .service-row, .service-row--no-quote { grid-template-columns: 1fr; gap: 0; }
  .service-row__quote { grid-column: 1; }
  .team-card { grid-template-columns: 280px 1fr; column-gap: 30px; }
}

@media (min-width: 641px) {
  .page-reference .page-header { padding-top: 92px; }
}

@media (max-width: 640px) {
  body { font-size: 20px; line-height: 1.5; }
  .site-header__bottom { margin: 0 20px; padding: 0; }
  .site-logo img { width: 80px; }
  .mobile-bar-toggle { color: #f05b62; }
  .mobile-bar-toggle svg { width: 25px; height: 25px; }
  .page-home .hero {
    margin: 0 20px;
    min-height: 0;
    padding: 30px 0 68px;
  }
  .hero__lines p { font-size: 24px; letter-spacing: 0; line-height: 1.02; margin-bottom: 20px; hyphens: auto; }
  .hero-mobile-break { display: block; }
  .hero__social { position: static; justify-content: center; margin: 22px 0 32px; }
  .hero__social a { width: 42px; height: 42px; font-size: 22px; }
  .hero__social a + a { font-size: 19px; }
  .hero__slogan { font-size: 15px; margin: 0; letter-spacing: .1em; }
  .banner { height: 430px; margin-bottom: 147px; background-position: center bottom; }
  .banner::after { height: 147px; }
  .banner__links { margin: 0 20px; padding: 134px 0 0; gap: 10px; }
  .banner__links a { font-size: 22px; }
  .section { padding: 100px 20px 45px; }
  .section .container { padding: 0; }
  .section__title { font-size: 24px; line-height: 1.1; margin-bottom: 30px; }
  .section__rule { margin-bottom: 51px; }
  .service-row, .service-row--no-quote { display: block; padding: 0 0 170px; }
  .page-home .section .service-row,
  .page-home .banner + .section .service-row { padding-bottom: 170px; }
  .section .service-row__icon { display: none; }
  .section .section__rule + .service-row .service-row__icon { display: block; }
  .service-row__icon img { width: 250px; height: 250px; margin: 0 auto 40px; }
  .service-row__body h3 { font-size: 17px; margin: 0 0 12px; }
  .service-row__body h4 { font-size: 20px; margin-top: 24px; }
  .service-row__body p { margin-bottom: 20px; }
  .service-row__quote { margin: 50px 0 0; padding: 0 5px; font-size: 20px; line-height: 1.1; }
  .service-row__quote cite { margin-top: 35px; font-size: 15px; }
  .section__cta { margin: 0 auto; }
  .page-header { margin: 0 20px; padding: 50px 0 15px; }
  .page-header h1 { font-size: 32px; }
  .prose { font-size: 19px; }
  .team-grid { margin: 0 20px; padding: 40px 0; }
  .team-card { display: block; padding: 40px 0; }
  .team-card__photo { width: 270px; max-width: 100%; height: auto; max-height: none; margin: 0 auto 35px; }
  .team-card h2 { font-size: 19px; margin-bottom: 20px; }
  .team-card a.email { font-size: 20px; }
  .team-card p.bio { font-size: 20px; margin-top: 20px; }
  .page-contact .page-header { padding-top: 67px; }
  .page-contact .page-header h1 { font-size: 25px; }
  .page-contact .page-header p { margin-top: 45px; }
  .contact-layout { margin: 0 20px; padding-bottom: 85px; }
  .form-row--split { grid-template-columns: 1fr 1fr; }
  .site-footer { padding: 30px 20px 45px; font-size: 20px; }
  .site-footer__legal { max-width: 320px; }
  .mobile-footer-break { display: block; }
  .page-how .how-intro { margin-top: 43px; margin-bottom: 65px; font-size: 20px; }
  .how-columns { display: block; }
  .how-columns h1, .how-columns h2, .how-method h2 { font-size: 30px; line-height: 1.05; }
  .how-services .accordion-item__trigger { font-size: 17px; }
  .how-values { margin-top: 48px; }
  .how-values .values-list { gap: 20px; }
  .how-method { margin-top: 28px; padding-bottom: 125px; }
  .page-reference .page-header { padding-top: 70px; padding-bottom: 22px; }
}
