@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500&family=Barlow+Semi+Condensed:ital,wght@0,400;0,500;0,600;0,700;1,600;1,500&family=Barlow:wght@400;500;600;700&display=swap');
:root {
  --brand-dark: #001d38;
  --brand-light: #fafafa;
  --brand-green: #81bc00;
  --text-default: #888;
  --text-dark-400: #555;
  --text-light-200: #a5a5a5;
  --line-color: #a5a5a5;
  --site-margin: 10%;
  --row-margin: 120px;
  --content-gap: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Barlow', sans-serif;
  color: var(--text-default);
  background: var(--brand-light);
}

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

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

ul {
  list-style: none;
}

/* ---------- Layout helpers ---------- */
.row {
  width: 100%;
  padding: var(--row-margin) max(var(--site-margin), calc((100% - 1280px) / 2));
  display: flex;
  flex-direction: column;
  gap: var(--content-gap);
}

.heading {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1280px;
}

.heading-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.breadcrumb {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: var(--brand-green);
}

.heading h1 {
  font-weight: 600;
  font-size: 64px;
  line-height: 80px;
  letter-spacing: 1px;
}

.heading .subheading {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 1px;
}

.on-dark .heading h1 {
  color: #fff;
}

.on-dark .heading .subheading {
  color: #c1c1c1;
}

.on-light .heading h1,
.on-light .heading .subheading {
  color: var(--brand-dark);
}

/* ---------- Buttons ---------- */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-width: 240px;
  padding: 15px 32px 17px;
  border: 2px solid var(--brand-green);
  border-radius: 4px;
  background: transparent;
  color: var(--brand-green);
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0.48px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
}

.btn:active {
  background: #679600;
  border-color: #679600;
  color: #fff;
}

.btn.btn-auto {
  width: auto;
}

/* ---------- Top bar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--content-gap);
  background: var(--brand-dark);
  color: var(--text-default);
}

.topbar .slogan {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.32px;
}

.topbar .contact-details {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 40px;
  letter-spacing: 0.32px;
  white-space: nowrap;
}

.topbar .contact-details a,
.topbar .contact-details span.accent {
  color: var(--brand-green);
}

.phd-link, .emd-link {
  display: inline;
}
.phm-link, .emm-link {
  display: none;
}

/* ---------- Hero ---------- */
#hero {
  display: flex;
  align-items: flex-start;
  gap: 80px;
  padding: var(--row-margin) max(var(--site-margin), calc((100% - 1280px) / 2));
  background: var(--brand-light);
}

.logo-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 48px;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  padding-right: 40px;
}

.logo-stack {
  position: relative;
  width: 297px;
  height: 71px;
}

.logo-stack img {
  position: absolute;
}

.logo-stack.bright {
  width: 266px;
  height: 64px;
}

.main-content {
  display: flex;
  flex-direction: column;
  gap: 64px;
  flex: 1 0 0;
  min-width: 0;
}

.main-content .title {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 700;
  font-size: 64px;
  line-height: 72px;
  color: var(--brand-dark);
}

.main-content .description {
  margin-top: 16px;
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 1px;
  color: var(--text-default);
  /* max-width: 649px; */
}

.key-metric {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 700;
  font-size: 136px;
  line-height: 136px;
  color: var(--text-dark-400);
}

.main-content .btn {
  max-width: 360px;
}

.main-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.main-menu a {
  padding: 15px 40px 17px;
  border-right: 1px solid rgba(0,0,0,0.2);
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: var(--brand-green);
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, border-width 0.2s;
}

.main-menu a:hover {
  color: #000;
  border-right: 8px solid var(--brand-green);
  cursor: pointer;
}

.main-menu a:active {
  color: #000;
  border-right: 8px solid #000;
}

/* ---------- Section row variants ---------- */
.row.on-dark {
  background: var(--brand-dark);
  color: var(--text-default);
}

.row.on-light {
  background: var(--brand-light);
}

/* ---------- Section background images ---------- */
#hero,
#szolgaltatasaink, #services,
#modszerunk, #method,
#rolunk, #about,
#kapcsolat, #contact {
  position: relative;
  isolation: isolate;
  margin: auto;
}

#hero {
  min-height: calc(100vh - 80px);
}

#szolgaltatasaink, #services,
#modszerunk, #method,
#rolunk, #about,
#kapcsolat, #contact {
  min-height: 100vh;
}

#hero::before,
#szolgaltatasaink::before, #services::before,
#modszerunk::before, #method::before,
#rolunk::before, #about::before,
#kapcsolat::before, #contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-attachment: fixed;
  background-position: bottom center;
  background-size: auto 100vh;
  background-repeat: no-repeat;
  z-index: -1;
  pointer-events: none;
}

#hero::before {
  background-image: url('../assets/img/bg-hero.jpg');
  opacity: 0.30;
}

#szolgaltatasaink::before, #services::before {
  background-image: url('../assets/img/bg-services.jpg');
  opacity: 1;
}

#modszerunk::before, #method::before {
  background-image: url('../assets/img/bg-method.jpg');
  opacity: 0.15;
}

#rolunk::before, #about::before {
  background-image: url('../assets/img/bg-about.jpg');
  opacity: 1;
}

#kapcsolat::before, #contact::before {
  background-image: url('../assets/img/bg-contact.jpg');
  opacity: 0.15;
}

/* ---------- Expandable detail toggling ---------- */
.row .long-content {
  display: none;
}

.row.expanded .short-content {
  display: none;
}

.row.expanded .long-content {
  display: block;
}

/* ---------- Services (short) ---------- */
.icon-boxes {
  display: flex;
  gap: 80px 40px;
  width: 100%;
  /* max-width: 1280px; */
}

.icon-box-wrap {
  display: flex;
  gap: 80px 40px;
  flex: 1 1 0;
  /* min-width: 560px; */
}

.icon-box {
  flex: 1 1 0;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.icon-box .idea-img {
  position: relative;
  width: 100%;
  max-height: 290px;
  aspect-ratio: 302/302;
  overflow: hidden;
  background: #888;
}

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

.icon-box .divider {
  display: flex;
  flex-direction: column;
  padding-bottom: 24px;
}

.icon-box .divider .line {
  height: 1px;
  background: var(--line-color);
  margin-bottom: -1px;
}

.icon-box .divider .line-bold {
  height: 4px;
  width: 64px;
  background: var(--brand-green);
}

.service-block .divider {
  display: flex;
  flex-direction: column;
  padding-bottom: 24px;
}

.service-block .divider .line {
  height: 1px;
  background: var(--line-color);
  margin-bottom: -1px;
}

.service-block .divider .line-bold {
  height: 4px;
  background: var(--brand-green);
}

.icon-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box .icon-frame,
.flow-item .icon-frame {
  width: 64px;
  height: 64px;
}

.icon-list .icon-frame {
  width: 24px;
  height: 24px;
}

.social-icons .icon-frame {
  width: 40px;
  height: 40px;
}

.service-block .icon-frame,
.method-step .icon-frame {
  width: 80px;
  height: 80px;
}

.icon-frame img {
  width: 100%;
  height: 100%;
}


.icon-box h3 {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 36px;
  letter-spacing: 1px;
  color: #fff;
}

.icon-box p {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 1px;
  color: var(--text-default);
}

/* ---------- Method (short) ---------- */
.method-flow-row {
  display: flex;
  gap: var(--content-gap);
  align-items: center;
  width: 100%;
  max-width: 1280px;
  padding: 0 var(--content-gap);
  flex-wrap: wrap;
}

.method-flow {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.flow-item {
  display: flex;
  flex-direction: column;
  min-height: 80px;
  justify-content: center;
}

.flow-item:first-child,
.flow-item:last-child {
  min-height: 72px;
}

.flow-item .flow-line {
  flex: 1 0 0;
  min-height: 1px;
  width: 64px;
  position: relative;
}

.flow-item .flow-line::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #c1c1c1;
}

.flow-item .flow-block {
  display: flex;
  gap: 24px;
  align-items: center;
}

.flow-item .flow-icon {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.flow-item h3 {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0.48px;
  color: var(--brand-dark);
  padding-bottom: 8px;
}

.method-separator {
  width: 1px;
  align-self: stretch;
  background: var(--line-color);
}

.method-content {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-width: 280px;
}

.method-content p {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 1px;
  color: var(--text-default);
  margin-bottom: 16px;
}

.method-long-side .method-content p {
  font-size: 16px;
  line-height: 24px;
}

.method-content .highlight {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 1px;
  color: var(--brand-green);
  margin-bottom: 0;
}

/* ---------- About ---------- */
.about-content {
  display: flex;
  gap: var(--content-gap);
  align-items: center;
  width: 100%;
  max-width: 1280px;
  padding-left: var(--content-gap);
  flex-wrap: wrap;
}

.about-numbers {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 16px;
}

.count-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.count-box .number {
  display: flex;
  align-items: flex-end;
  color: var(--brand-green);
  white-space: nowrap;
}

.count-box .number .value {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 80px;
  line-height: 80px;
}

.count-box .number .unit {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 44px;
  letter-spacing: 2px;
}

.count-box .label {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 36px;
  letter-spacing: 1px;
  color: var(--text-light-200);
}

.about-divider {
  width: 1px;
  align-self: stretch;
  background: var(--line-color);
}

.quote-block {
  flex: 1 0 0;
  display: flex;
  gap: 24px;
  align-items: center;
  min-width: 280px;
}

.quote-block img {
  width: 220px;
  height: 330px;
  object-fit: cover;
  flex-shrink: 0;
}

.quote-text {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  gap: 27px;
}

.quote-text blockquote {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: 32px;
  line-height: 48px;
  color: #fff;
}

.credit {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.credit .name {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  color: var(--brand-green);
}

.credit .divider {
  display: flex;
  flex-direction: column;
  padding-bottom: 8px;
}

.credit .divider .line {
  height: 1px;
  background: var(--line-color);
  margin-bottom: -1px;
}

.credit .divider .line-bold {
  height: 4px;
  width: 160px;
  background: var(--brand-green);
}

.credit .title {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-light-200);
}

/* ---------- Contact ---------- */
.contact-content {
  display: flex;
  gap: var(--content-gap);
  align-items: flex-start;
  width: 100%;
  max-width: 1280px;
  flex-wrap: wrap;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}

.contact-info .icon-list .icon-frame {
  width: 32px;
  height: 32px;
}

.contact-info .icon-list p {
  font-size: 20px;
  line-height: 32px;
}

.icon-list {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.icon-list p {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 1px;
  color: var(--text-default);
}

.contact-address {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-questions {
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex: 1 0 0;
}

.contact-questions h3 {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0.4px;
  color: var(--brand-dark);
}

.contact-question-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-divider {
  width: 1px;
  align-self: stretch;
  background: var(--line-color);
}

.contact-form {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--content-gap);
  min-width: 320px;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid var(--text-default);
  border-left: 1px solid var(--text-default);
  border-bottom-left-radius: 4px;
  padding: 0 16px 16px;
}

.form-field label {
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  letter-spacing: 0.32px;
  color: var(--text-default);
}

.form-field input,
.form-field textarea {
  border: none;
  padding: 0;
  font-family: 'Barlow', sans-serif;
  font-size: 24px;
  letter-spacing: 0.48px;
  color: #3c3c3c;
  background: transparent;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
}

.form-field:focus-within {
  border-color: var(--brand-green);
}

/* ---------- Footer ---------- */
.footer {
  display: flex;
  gap: var(--content-gap);
  align-items: flex-start;
  padding: var(--row-margin) max(var(--site-margin), calc((100% - 1280px) / 2));
  border-top: 8px solid var(--brand-green);
  background: var(--brand-dark);
  flex-wrap: wrap;
}

.footer-content {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 280px;
}

.footer-content .copyright {
  font-family: 'Barlow', sans-serif;
}

.footer-content .copyright .title {
  font-weight: 500;
  font-size: 18px;
  line-height: 32px;
  letter-spacing: 0.36px;
  color: #dedede;
  margin-bottom: 16px;
}

.footer-content .copyright p {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.32px;
  color: var(--text-default);
  margin-bottom: 16px;
}

.footer-content .privacy {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 0.32px;
  color: var(--brand-green);
  border-left: 1px solid var(--text-dark-400);
  padding-left: 16px;
  transition: border-color 0.2s, border-width 0.2s;
}

.footer-content .privacy:hover {
  border-left: 4px solid var(--brand-green);
  cursor: pointer;
}

.footer-content .privacy:active {
  border-left: 4px solid #000;
}

.footer-divider {
  width: 1px;
  align-self: stretch;
  background: var(--line-color);
}

.footer-secondary {
  display: flex;
  min-width: 208px;
  flex-direction: column;
  gap: 32px;
  padding-top: 38px;
  white-space: nowrap;
}

.footer-heading {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.64px;
  color: #dedede;
  text-align: left;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 0.32px;
  color: var(--brand-green);
}

.footer-nav a {
  border-left: 1px solid var(--text-dark-400);
  padding-left: 16px;
  transition: border-color 0.2s, border-width 0.2s;
}

.footer-nav a.sub {
  padding-left: 32px;
}

.footer-nav a:hover {
  border-left: 4px solid var(--brand-green);
  cursor: pointer;
}

.footer-nav a:active {
  border-left: 4px solid #000;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 38px;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons .icon-frame {
  color: var(--brand-green);
  transition: color 0.2s;
}

.social-icons .icon-frame:hover {
  color: #9fcc3d;
  cursor: pointer;
}

.social-icons .icon-frame:active {
  color: #fff;
}

/* ---------- Detail pages (Long variants) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px;
  width: 100%;
  max-width: 1280px;
}

.service-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-block .service-img {
  width: 100%;
  height: 290px;
  object-fit: cover;
}

.service-block .icon-lg {
  width: 100%;
  height: 100%;
}

.service-block .icon-lg[src*="svc-icon-color2"] {
  width: 73.0625px;
  height: 68px;
}

.service-block .content-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-block .content-block .icon-frame {
  margin-bottom: 8px;
}

.service-block .content-block > div:not(.body-text) {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-block h3 {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: 1px;
  color: var(--text-heading, #fff);
}

.service-block .sub {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 1px;
}

.service-block .body-text {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--text-default);
}

.service-block .body-text ul {
  list-style: disc;
  margin: 0 0 16px 24px;
}

.service-block .body-text li {
  margin-bottom: 8px;
  line-height: 24px;
}

.service-block .body-text p {
  line-height: 24px;
  margin-bottom: 16px;
}

.service-block .highlight {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 1px;
  color: var(--brand-green);
}

.on-dark .service-block h3 {
  color: #fff;
}

.on-dark .service-block .sub {
  color: #c1c1c1;
}

.on-light .service-block h3,
.on-light .service-block .sub {
  color: var(--brand-dark);
}

/* Method long */
.method-long-content {
  display: flex;
  gap: var(--content-gap);
  align-items: flex-start;
  padding-left: var(--content-gap);
  width: 100%;
  max-width: 1280px;
  flex-wrap: wrap;
}

.method-long-side {
  display: flex;
  flex-direction: column;
  gap: var(--content-gap);
  width: 300px;
  flex-shrink: 0;
}

.method-long-main {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--content-gap);
  min-width: 320px;
}

.count-boxes {
  display: flex;
  justify-content: center;
  gap: 0;
  width: 100%;
}

.count-box-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 200px;
}

.count-box-step .value {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 80px;
  line-height: 80px;
  color: var(--brand-green);
}

.count-box-step .label {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 36px;
  letter-spacing: 1px;
  color: var(--brand-dark);
  text-align: center;
}

.method-step {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  width: 100%;
  padding-top: 40px;
  position: relative;
}

.method-step:first-child {
  padding-top: 0;
}

.method-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 80px;
  bottom: -40px;
  left: 40px;
  width: 1px;
  background: #c1c1c1;
}

.method-step:not(:first-child):not(:last-child)::after {
  top: 120px;
}

.method-step .icon-lg {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.method-step .icon-lg[src*="method-icon-color3"] {
  width: 59.0312px;
  height: 64px;
}

.method-step .icon-lg[src*="method-icon-color4"] {
  width: 70.0625px;
  height: 53.9764px;
}

.method-step .step-content {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 10px;
}

.method-step .step-content > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.method-step h3 {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: 1px;
  color: var(--brand-dark);
}

.method-step .sub {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 1px;
  color: var(--brand-dark);
}

.method-step ul {
  list-style: disc;
  margin-left: 24px;
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--text-default);
}

.method-step li {
  margin-bottom: 8px;
  line-height: 24px;
}

.genius-model {
  position: relative;
  width: 100%;
  aspect-ratio: 840.22 / 813.51;
}

.genius-model img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.genius-model .layer { position: absolute; }
.genius-model .l-bg, .genius-model .l-vector { inset: 0 -0.08% -0.04% 0; }
.genius-model .l-center { inset: 39.36% 38.05% 36.04% 38.13%; }
.genius-model .l-vector1 { inset: 5.17% 3.95% 6.55% 3.71%; }

.method-long-footer {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 1px;
  color: var(--brand-green);
}

/* ---------- Fixes ---------- */
.vertical-middle {
  margin: auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--content-gap);
}
.vertical-middle.content-horisontal {
  flex-direction: row;
}

/* ---------- Responsive ---------- ------------------------------------------------------------------------------------------------------------------------- */

@media (max-width: 1450px) {
  .icon-boxes {
    flex-wrap: wrap;
  }

  .icon-box-wrap {
    flex: 1 1 100%;
  }
}

@media (max-width: 1400px) {

  :root {
    --row-margin: 80px;
  }

  .key-metric {
    font-size: 80px;
    line-height: 80px;
  }

  .main-content .title {
    font-size: 48px;
    line-height: 1.2;
  }

}

@media (max-width: 900px) {

  :root {
    --row-margin: 48px;
    --content-gap: 40px;
  }

  .topbar {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .phd-link, .emd-link {
    display: none;
  }
  .phm-link, .emm-link {
    display: inline;
  }

  .heading h1 {
    font-size: 40px;
    line-height: 1.2;
  }

  .heading .subheading {
    font-size: 22px;
    line-height: 1.3;
  }

  .logo-menu {
    width: 100%;
  }

  #hero .content-horisontal {
    flex-direction: column;
    width: 100%;
  }

  .services-grid,
  .method-flow-row,
  .about-content,
  .contact-content,
  .method-long-content {
    flex-direction: column;
  }

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

  .method-separator,
  .about-divider,
  .contact-divider,
  .footer-divider {
    display: none;
  }

  .contact-info,
  .method-long-side {
    width: 100%;
  }

  .method-long-content {
    padding-left: 0;
  }

  .method-flow-row {
    padding: 0;
  }

  .footer {
    flex-direction: column;
  }

}

@media (max-width: 700px) {

  .icon-box-wrap {
    flex-direction: column;
  }

  .phd-link, .emd-link {
    display: none;
  }
  .phm-link, .emm-link {
    display: inline;
  }

  /* --- Mobile Settings --- */

  .btn {
    padding: 9px 32px 11px;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.4px;
    color: #fff;
    background: var(--brand-green);
  }

  .topbar .slogan {
    font-size: 12px;
    line-height: 1.2;
  }
  .topbar .contact-details {
    font-size: 14px;
    line-height: 1.2;
  }
  .logo-menu {
    align-items: flex-start;
  }
  .logo {
    padding-right: 0;
    margin: 0 auto;
  }
  .main-menu {
    align-items: flex-start;
  }
  .main-menu a {
    padding: 15px 40px 17px 0;
    border: none;
    font-size: 20px;
    line-height: 28px;
  }

  #hero .title {
    font-size: 32px;
    line-height: 1.2;
  }
  .key-metric {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 500;
    font-size: 56px;
    line-height: 1;
  }

  .main-content {
    gap: 32px;
  }

  .breadcrumb {
    font-size: 16px;
    line-height: 24px;
  }

  .main-content .description {
    margin-top: 24px;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 1px;
  }

  .heading {
    gap: 16px;
  }

  .heading h1 {
    font-size: 28px;
  }
  .heading .subheading {
    font-size: 18px;
    line-height: 1.4;
  }

  .icon-boxes,
  .icon-box-wrap {
    gap: 40px 40px;
  }
  .icon-box .idea-img {
    width: 100%;
    max-height: 160px;
  }
  .icon-box .divider {
    padding-bottom: 0;
  }
  .icon-box .divider .line-bold {
    width: 48px;
  }
  .icon-box h3 {
    font-size: 22px;
    line-height: 30px;
  }
  .icon-box p {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
  }
  .icon-box .icon-frame, .flow-item .icon-frame {
    width: 48px;
    height: 48px;
  }

  /* Method :: begin */

  .method-content {
    gap: 16px;
  }
  .icon-box .icon-frame, .flow-item .icon-frame {
    width: 48px;
    height: 48px;
  }
  .method-content p {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
  }
  .method-content .highlight {
    font-weight: 500;
    font-size: 20px !important;
    line-height: 28px !important;
    letter-spacing: 0.5px;
  }
  .method-flow-row {
    align-items: start;
  }
  .flow-item {
    min-height: 48px;
  }
  .flow-item .flow-line::before {
    left: 16px;
  }
  .flow-item:first-child, .flow-item:last-child {
    min-height: 45px;
  }
  .flow-item .flow-block {
    gap: 8px;
  }
  .flow-item h3 {
    font-size: 18px;
    line-height: 32px;
    padding-bottom: 2px;
  }

  /* Method :: Long :: begin */

  .method-long-main {
    min-width: 0;
  }
  .method-long-content .method-step {
    padding-top: 16px;
    gap: 16px;
  }
  .method-long-content .method-step .icon-frame {
    width: 40px;
    height: 40px;
  }
  .method-long-content .method-step .step-content {
    padding-top: 0;
  }
  .method-long-content .method-step .step-content > div {
    gap: 0;
  }
  .method-long-content .method-step h3 {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 40px;
    letter-spacing: 0.5px;
    color: var(--brand-dark);
  }
  .method-long-content .method-step .sub {
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0.5px;
  }
  .method-long-content .count-boxes .count-box-step {
    width: calc(100% / 3);
  }
  .method-long-content .count-boxes .count-box-step .value {
    font-weight: 600;
    font-size: 64px;
    line-height: 64px;
  }
  .method-long-content .count-boxes .count-box-step .label {
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0.5px;
  }
  .method-long-content .method-step:first-of-type {
    padding-top: 0;
  }
  .method-step:not(:last-child)::after {
    top: 48px;
    left: 20px;
    bottom: -8px;
  }
  .method-step:not(:first-child):not(:last-child)::after {
    top: 64px;
  }

  /* Method :: Long :: end */

  /* Method :: end */

  .about-content {
    align-items: start;
    padding-left: 0;
  }
  .about-content .about-numbers {
    width: 100%;
    gap: 16px;
    padding-bottom: 0;
  }
  .count-box {
    gap: 0;
  }
  .count-box .number .value {
    font-size: 40px;
    line-height: 40px;
  }
  .count-box .number .unit {
    font-weight: 600;
    font-size: 24px;
    line-height: 26px;
    letter-spacing: 0;
  }
  .about-content .count-box .label {
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
  }
  .quote-block {
    flex-direction: column;
    align-items: start;
  }
  .quote-text blockquote {
    font-weight: 500;
    font-size: 24px;
    letter-spacing: 1px;
    line-height: 32px;
  }
  .credit .name {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
  }
  .credit .divider .line-bold {
    width: 140px;
  }
  .credit .title {
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
  }

  .contact-info .icon-list .icon-frame {
    width: 24px;
    height: 24px;
  }
  .icon-list p {
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.5px;
  }
  .contact-info .icon-list p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
  }
  .contact-questions {
    gap: 20px;
  }
  .contact-questions h3 {
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.2px;
  }
  .icon-list .icon-frame {
    width: 16px;
    height: 16px;
  }

  .footer-content .copyright p:last-of-type {
    margin-bottom: 0;
  }
  .footer-secondary,
  .footer-contacts {
    padding-top: 0;
  }

  .long-content .services-grid .service-block {
    gap: 16px;
  }
  .long-content .services-grid .service-block .service-img {
    height: 160px;
  }
  .services-grid {
    gap: 40px;
  }
  .service-block .divider {
    padding-bottom: 0px;
  }
  .service-block .divider .line-bold {
    width: 48px !important;
  }
  .service-block .content-block .icon-frame {
    width: 48px;
    height: 48px;
    margin-bottom: 0;
  }
  .service-block h3 {
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 1px;
  }
  .service-block .sub {
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0.5px;
  }
  .service-block .body-text {
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.5px;
  }
  .service-block .content-block {
    gap: 16px;
  }
  .service-block .highlight,
  .method-long-footer {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0.5px;
  }

}
