.map-text ul {
  list-style: disc;
}

.map-text ul li {
  margin-left: 1rem;
  list-style: disc;
}

.map-text ul li + li {
  margin-top: 1em;
}

.map-text ul li a {
  text-decoration: underline;
  display: block;
  font-size: 12px;
  color: inherit;
}

.map-text ul li a:hover {
  text-decoration: none;
}

.map-text ul li a:hover {
  text-decoration: none;
}

.case-cards {
  width: 100%;
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
}

.case-card {
  width: 100%;
  border: 1px solid #D6D8DC;
}

.case-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 348 / 240;
  overflow: hidden;
}

.case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card__flag {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 24px;
}

.case-card__flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card__content {
  padding: 36px;
  display: flex;
  flex-direction: column;
}

.case-card__title {
  font-size: 18px;
  font-weight: 400;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
}

.case-card__link {
  font-size: 14px;
  font-weight: 700;
  color: #1F6FB9;
  text-align: center;
  width: 100%;
  margin-top: 16px;
  text-transform: uppercase;
}

.case-study-header {
  width: 100%;
  position: relative;
  padding-top: 120px;
}

.case-study-header__image {
  position: relative;
  width: 100%;
}

.case-study-header__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.case-study-header__flag {
  position: absolute;
  top: 36px;
  right: 36px;
  width: 54px;
  height: 36px;
}

.case-study-header__flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  width: 100%;
  padding-top: 80px;
  padding-bottom: 80px;

  @media (max-width: 768px) {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

.section-title-container {
  width: 100%;
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 36px;
}

.section-title-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 52px;
  height: 3px;
  background-color: #000;
}

.section-title {
  font-size: 48px;
  line-height: calc(56 / 48);
  font-weight: 400;
}

.flex {
  display: flex;
  gap: 36px;

  @media (max-width: 1279px) {
    flex-direction: column;
  }
}

.flex-item {
  flex: 1 0 50%;

  @media (max-width: 1279px) {
    flex: 1 0 100%;
  }
}

.fact-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.fact-table tr {
  border-bottom: 1px solid #D6D8DC;

  @media (max-width: 768px) {
    display: block;
  }
}

.fact-table tr:first-child {
  border-top: 1px solid #D6D8DC;
}

.fact-table td {
  padding: 24px 0;

  @media (max-width: 768px) {
    display: block;
    padding: 16px 0;
  }
}

.fact-table tr td:first-child {
  font-size: 48px;
  font-weight: 700;
  white-space: nowrap;
  padding-right: 18px;

  @media (max-width: 768px) {
    padding-bottom: 0;
    font-size: 36px;
  }
}

.bg-grey {
  background-color: #F4F4F4;
}

.text-block ul {
  list-style: disc;
  margin-left: 1.5em;
}

.text-block ul li {
  margin-bottom: .8em;
  list-style: disc;
}

.logos {
  display: flex;
  gap: 24px;
  margin-top: 24px;

  @media (max-width: 768px) {
    gap: 16px;
  }
}

.logos-logo  img, svg {
  height: 80px;
  width: auto;
  object-fit: contain;

  @media (max-width: 768px) {
    width: 100%;
    height: auto;
  }
}

.solution {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;

  @media (max-width: 768px) {
    grid-template-columns: 60px 1fr;
  }
}

.solution:has(.solution__logo) {
  grid-template-columns: 72px 1fr 120px;

  @media (max-width: 768px) {
    grid-template-columns: 60px 1fr;
  }
}

.solution__icon {
  width: 72px;
  height: 72px;
  align-self: center;

  @media (max-width: 768px) {
    width: 60px;
    height: 60px;
  }
}

.solution__icon svg {
  width: 100%;
  height: 100%;
}

.solution__text {
  align-self: center;
}

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

.solution__logo {
  width: 120px;
  height: auto;
  align-self: center;

  @media (max-width: 768px) {
    display: none;
  }
}

.solution__logo img, svg {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.solution + .solution {
  margin-top: 24px;

  @media (max-width: 768px) {
    margin-top: 16px;
  }
}


.learning {
  padding: 24px 0;
  border-top: 1px solid #D6D8DC;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 36px;

  @media (max-width: 767px) {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.learning__group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;

  @media (max-width: 1279px) {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.learning__block:has(.learning__number) {
  display: flex;
  gap: 36px;

  @media (max-width: 767px) {
    gap: 0;
    display: block;
  }
}

.learning__block:has(.learning__icon) {
  display: flex;
  gap: 36px;

  @media (max-width: 767px) {
    gap: 0;
    display: block;
  }
}

.learning__icon {
  width: 72px;
  height: 72px;
  min-width: 72px;

  @media (max-width: 767px) {
    min-width: 0;
    width: 60px;
    height: 60px;
    margin-bottom: 24px;
    transform: rotate(90deg);
  }
}

.learning__icon svg {
  width: 100%;
  height: 100%;
}

.learning__number {
  font-size: 48px;
}

.video-block {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  margin-top: 80px;

  @media (max-width: 768px) {
    margin-top: 60px;
    aspect-ratio: 344 / 237;
  }
}

.video-block__image {
  width: 100%;
  height: 100%;
}

.video-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.video-block__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 120px;
}

.video-play {
  width: 80px;
  height: 80px;
  background-color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}

.video-play svg {
  width: 16px;
  height: 16px;
}

.video-block__text-inner {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 16px;
  color: #FFF;
  z-index: 2;
  text-align: center;
}

.player {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #000;
  z-index: -1;
  display: flex;
  align-items: center;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease-in-out;

}

.player__close {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 16px;
  background-color: #FFF;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 2;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player__close svg {
  width: 24px;
  height: 24px;
}

.player__video {
  width: 100%;
  max-height: 100vh;
  font-size: 0;
}


.player__video iframe {
  height: auto;
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 100vh;
}

.player.is-open {
  opacity: 1;
  pointer-events: all;
  z-index: 100;
}

.form-image {
  height: 100%;

  @media (max-width: 768px) {
    height: auto;
  }

}

.form-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  @media (max-width: 768px) {
    height: auto;
    object-fit: contain;
  }
}



.form {
  --clr-form-passive: #949493;
  --clr-text: #000;
  --clr-border: #D6D8DC;
  --clr-error: #FF0000;
  --clr-white: #FFF;
}


.form__input {
  position: relative;
  margin-bottom: 16px;
}

.form__input label {
  color: var(--clr-form-passive);
  font-size: 16px;
  line-height: 1.2;
  position: absolute;
  padding: 0;
  top: 18px;
  left: 16px;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  transform: translate3d(0, 0, 0);
  transition: font-size 250ms ease-in-out, top 250ms ease-in-out;
}


.form__input textarea {
  transition: height 150ms ease-in-out;
}

.form__input input,
.form__input textarea  {
  border: none;
  width: 100%;
  height: 60px;
  font-size: 16px;
  line-height: 1.2;
  background: transparent;
  padding: 28px 16px 8px;
  border: 1px solid var(--clr-border);
  position: relative;
  transition: border-color 250ms ease-in-out;
  overflow: hidden;
  color: var(--clr-text);
}

.form__input input.has-value + label,
.form__input input.has-focus + label,
.form__input textarea.has-value + label,
.form__input textarea.has-focus + label {
  font-size: 12px;
  line-height: 1.2;
  top: 8px;
  width: fit-content;
  height: min-content;
}

.form__input input.has-focus,
.form__input textarea.has-focus {
  border-color: var(--clr-text);
  color: var(--clr-text);
}


.form__input input:hover,
.form__input textarea:hover {
  border-color: var(--clr-text);
}

.form__input input.hidden-input,
.form__input textarea.hidden-input {
  position: fixed;
  opacity: 0;
  pointer-events: none;
}

.form__input textarea {
  height: 120px;
  resize: none;
}

.form__input .error-message {
  color: var(--clr-error);
  font-size: 12px;
  line-height: 1;
  position: absolute;
  top: 100%;
  left: 16px;
  display: none;
}

.form__input.error .error-message {
  display: block;
}

.form__input.error input,
.form__input.error textarea {
  border-color: var(--clr-error);
}

/* .form__input.error label {
  color: var(--clr-error);
} */




.form__button-holder {
  width: 100%;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .form__button-holder {
    flex-direction: column;
    margin-top: 24px;
    align-items: flex-start;
  }

  .form__button-holder .form__button {
    width: 100%;
    margin-top: 16px;
  }
}

.form__button {
  position: relative;
  overflow: hidden;
}

.form__button[disabled] {
  pointer-events: none;
}

.form__button .form__button-sending {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  background-color: var(--clr-text);
  transform: translateY(-100%);
  transition: transform 150ms ease-in-out;
}

.form__button.sending .form__button-sending {
  transform: translateY(0);
}

.form input[type="checkbox"] {
  appearance: none;
  width: 0;
  height: 0;
  padding: 0;
}

.form__checkbox {
  position: relative;
  padding: 0 0 0 26px;
  height: 24px;
  display: flex;
  align-items: center;
}

.form__checkbox .checkmark {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 18px;
  height: 18px;
  padding: 1px 5px;
  background-color: transparent;
  cursor: pointer;
  border: 1px solid var(--clr-border);
}

.form__checkbox .checkmark:after {
  content: '';
  position: absolute;
  display: none;
  width: 6px;
  height: 12px;
  border: solid;
  border-width: 0px 2px 2px 0px;
  transform: rotate(45deg);
}

.form__checkbox span,
.form__checkbox a {
  white-space: nowrap;
}

.form__checkbox input:checked ~ .checkmark {
  background-color: var(--clr-text);
  border-color: var(--clr-text);
}

.form__checkbox input:checked ~ .checkmark:after {
  display: block;
  border-color: var(--clr-white);
}

.form__checkbox input:hover ~ .checkmark {
  border-color: var(--clr-text);
}

.form__checkbox input:hover ~ .checkmark:after {
  display: block;
  border-color: var(--clr-text);
}

.form__checkbox input:checked:hover ~ .checkmark:after {
  display: block;
  border-color: var(--clr-white);
}

.form__checkbox .checkbox-error-message {
  display: none;
  position: absolute;
  color: var(--clr-error);
  font-size: 12px;
  line-height: 1.5;
  top: 100%;
  margin-top: 0;
}

.form__checkbox.error .checkmark {
  border-color: var(--clr-error);
}

.form__checkbox.error .checkbox-error-message {
  display: block;
}

.form__checkboxes {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.form__checkboxes .form__checkbox + .form__checkbox {
  margin-top: 16px;
}

.form__privacy {
  color: var(--clr-text);
  text-decoration: underline;
}

.form__agree {
  display: block;
}

.form .global-error-message {
  width: 100%;
  text-align: center;
  padding: 12px 32px 4px;
  display: none;
  font-size: 16px;
  line-height: 1.375;
  color: var(--clr-error);
}

.qwrap {
  position: absolute;
  top: -50000px;
  left: -50000px;
}

/* */

.flex-item-3 {
  flex: 1 0 33%;

  @media (max-width: 1279px) {
    flex: 1 0 100%;
  }
}

.triple-block {
  @media (min-width: 1280px) {
    width: calc(100% + 36px);
    gap: 0 !important;
    border-top: 1px solid #d6d8dc;
  }
  padding-top: 36px;
  margin-top: 75px;

  @media (max-width: 1279px) {
    margin-top: 35px;
  }
}

.triple-block .flex-item-3:not(:first-child) {
  @media (min-width: 1280px) {
    padding-left: 36px;
  }
}

.triple-block .flex-item-3:last-child {
  @media (max-width: 1279px) {
    padding-top: 35px;
    border-top: 1px solid #d6d8dc;
  }
}

.triple-block img {
  width: 100%;
  height: auto;
}

.double-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.double-column .content .text-block p:last-child {
  margin: 0;
}

.double-column .content:last-child {
  @media (max-width: 1279px) {
    padding-top: 25px;
  }
}

/* Sticky Footer Solution - Ensures footer stays at bottom of viewport */
html {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
}

/* Content wrapper that grows to fill available space */
/* For default layout - start-content wrapper */
.start-content {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

/* For product_inner layout - #content wrapper */
#content {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

/* For non-default layouts: make main content sections grow */
/* Target the first content element after header (common pattern) */
body.inners > .layer:first-of-type,
body.inners > form:first-of-type,
body.inners > div:first-of-type:not(#header):not(#video-overlay):not(#video-element):not(#overlay) {
  flex: 1 0 auto;
}

/* Ensure footer stays at bottom */
/* Footer inside start-content (default layout) */
.start-content > .footer {
  flex-shrink: 0;
  margin-top: auto;
}

/* Footer outside content wrapper (other layouts) */
body > .footer,
.footer {
  flex-shrink: 0;
  margin-top: auto;
}
