@font-face {
  font-family: 'Barlow Regular';
  font-style: normal;
  font-weight: normal;
  src: local('Barlow Regular'), url('../fonts/Barlow-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Barlow Medium';
  font-style: normal;
  font-weight: normal;
  src: local('Barlow Medium'), url('../fonts/Barlow-Medium.woff') format('woff');
}

@font-face {
  font-family: 'Barlow SemiBold';
  font-style: normal;
  font-weight: normal;
  src: local('Barlow SemiBold'), url('../fonts/Barlow-SemiBold.woff') format('woff');
}

@font-face {
  font-family: 'Barlow Bold';
  font-style: normal;
  font-weight: normal;
  src: local('Barlow Bold'), url('../fonts/Barlow-Bold.woff') format('woff');
}

@font-face {
  font-family: 'Avenir Next LT Pro Regular';
  font-style: normal;
  font-weight: normal;
  src: local('Avenir Next LT Pro Regular'), url('../fonts/AvenirNextLTPro-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Avenir Next LT Pro Bold';
  font-style: normal;
  font-weight: normal;
  src: local('Avenir Next LT Pro Bold'), url('../fonts/AvenirNextLTPro-Bold.woff') format('woff');
}

@font-face {
  font-family: 'Avenir Next LT Pro Demi';
  font-style: normal;
  font-weight: normal;
  src: local('Avenir Next LT Pro Demi'), url('../fonts/AvenirNextLTPro-Demi.woff') format('woff');
}

@font-face {
  font-family: 'Avenir Next LT Pro Medium';
  font-style: normal;
  font-weight: normal;
  src: local('Avenir Next LT Pro Medium'), url('../fonts/AvenirNextLTPro-Medium.woff') format('woff');
}

@font-face {
  font-family: 'Avenir Next LT Pro Medium Italic';
  font-style: normal;
  font-weight: normal;
  src: local('Avenir Next LT Pro Medium Italic'), url('../fonts/AvenirNextLTPro-MediumIt.woff') format('woff');
}

body {
  font-family: 'Avenir Next LT Pro Regular' !important;
  /*cursor: url('../images/cursor.png'), auto;*/
  font-size: 1vw;
  background-color: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

.stage {
  position: relative;
  width: 100%;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background-color: #000;
  aspect-ratio: 16/9;
  container-type: size;
  container-name: stage;
}

@media (max-aspect-ratio: 16/9) {
  .stage {
    width: 100vw;
    height: calc(100vw * (9/16));
  }
}

@media (min-aspect-ratio: 16/9) {
  .stage {
    width: calc(100vh * (16/9));
    height: 100vh;
  }
}

#main {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.page-anim,
#page-trans,
#page-category {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

#page-home {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.viewport-notice {
  display: none;
  width: 100vw;
  max-width: calc(100vh * (16 / 9));
  margin: 0;
  padding: clamp(10px, 2vh, 16px) clamp(16px, 4vw, 24px);
  background-color: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Barlow Medium', 'Avenir Next LT Pro Regular', sans-serif;
  font-size: clamp(0.75rem, 2.5vw, 1rem);
  line-height: 1.35;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  box-sizing: border-box;
}

.viewport-notice.is-visible {
  display: block;
}

header {
  position: absolute;
  display: inline-block;
  bottom: 21px;
  right: 27px;
  width: 50px;
  height: 50px;
  z-index: 100;
}

header img:first-child {
  margin-right: 23px;
}

.video,
.video-trans,
.video-home {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hotspot {
  display: block;
  position: absolute;
  cursor: pointer;
  --hotspot-size: clamp(28px, 5vmin, 54px);
  --hotspot-size: clamp(28px, 5cqh, 54px);
  --hotspot-label-size: clamp(0.6rem, 1.15vmin, 1.1rem);
  --hotspot-label-size: clamp(0.6rem, 1.65cqh, 1.1rem);
  width: var(--hotspot-size);
  height: var(--hotspot-size);
  overflow: visible;
}

.hotspot a.icon {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
  z-index: 1000;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.hotspot a.icon:hover {
  width: 100%;
  height: 100%;
}

.hotspot a.icon-blue {
  background-color: transparent;
  background-image: url('../images/btn-plus-blue.png');
}

.hotspot a.icon-blue:hover {
  background-color: transparent;
  background-image: url('../images/btn-plus-blue.png');
}

.hotspot a.icon-red {
  background-color: transparent;
  background-image: url('../images/btn-plus-red.png');
}

.hotspot a.icon-red:hover {
  background-color: transparent;
  background-image: url('../images/btn-plus-red.png');
}

.hotspot a.icon-green {
  background-color: transparent;
  background-image: url('../images/btn-plus-green.png');
}

.hotspot a.icon-green:hover {
  background-color: transparent;
  background-image: url('../images/btn-plus-green.png');
}

.hotspot-popover {
  position: absolute;
  top: 50%;
  z-index: 999;
  pointer-events: none;
  transform: translateY(-50%);
}

.hotspot-category {
  display: flex;
  justify-content: center;
  overflow: visible;
}

.hotspot-popover > div {
  font-family: 'Avenir Next LT Pro Regular', sans-serif;
  font-size: var(--hotspot-label-size);
  height: var(--hotspot-size);
  min-height: var(--hotspot-size);
  width: auto;
  line-height: 1.1;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  border: none;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
}

.hotspot-blue-popover > div {
  background-color: rgb(11, 60, 110, 0.8);
}

.hotspot-red-popover > div {
  background-color: rgb(173, 26, 58, 0.8);
}

.hotspot-green-popover > div {
  background-color: rgb(18, 66, 9, 0.8);
}

.hotspot-popover-left {
  left: calc(100% - 0.25 * var(--hotspot-size));
  right: auto;
}

.hotspot-popover-left > div {
  border-radius: 0 clamp(6px, 0.75cqh, 8px) clamp(6px, 0.75cqh, 8px) 0;
  padding-left: clamp(12px, 3.7cqh, 40px) !important;
  padding-right: clamp(8px, 1.85cqh, 20px) !important;
}

.hotspot-popover-right {
  right: calc(100% - 0.25 * var(--hotspot-size));
  left: auto;
}

.hotspot-popover-right > div {
  border-radius: clamp(6px, 0.75cqh, 8px) 0 0 clamp(6px, 0.75cqh, 8px);
  padding-left: clamp(8px, 1.85cqh, 20px) !important;
  padding-right: clamp(12px, 3.7cqh, 40px) !important;
}

.hotspot-blue:active .hotspot-blue-popover div {
  background-color: white;
  color: rgb(11, 60, 110);
  box-shadow: 0px 5px 15px -1px rgba(0, 0, 0, 1);
}

.hotspot-red:active .hotspot-red-popover div {
  background-color: white;
  color: rgb(173, 26, 58);
  box-shadow: 0px 5px 15px -1px rgba(0, 0, 0, 1);
}

.hotspot-green:active .hotspot-green-popover div {
  background-color: white;
  color: rgb(18, 66, 9, 0.8);
  box-shadow: 0px 5px 15px -1px rgba(0, 0, 0, 1);
}

/* Commented out fixed widths - now using auto width for all hotspots
.mine div {
  width: 120px;
}

.people-safety-and-efficiency div {
  width: 330px;
}

.renewable div {
  width: 200px;
}

.utilities div {
  width: 160px;
}

.loading-unloading-facilities div {
  width: 300px;
}

.conveyors div {
  width: 220px;
}
*/

/* .hotspot-blue-popover div::after {
  content: url('../images/btn-plus-blue.png');
  position: absolute;
  top: 0;
  left: -30px;
}

.hotspot-blue-popover div:hover {
  background-color: white;
  color: rgb(11, 60, 110);
  box-shadow: 0px 5px 15px -1px rgba(0, 0, 0, 1);
} */

#main-menu {
  position: absolute;
  bottom: clamp(6px, 1.2vmin, 20px);
  bottom: clamp(6px, 1.85cqh, 20px);
  left: 0;
  z-index: 1000;
  background-color: rgb(11, 19, 20, 0.6);
  width: min(92vmin, clamp(200px, 27vmin, 520px));
  width: min(92cqw, clamp(200px, 27cqw, 520px));
  clip-path: polygon(90% 0, 100% 16%, 100% 100%, 0 100%, 0 0);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(6px, 1.2vmin, 20px);
  gap: clamp(6px, 1.85cqh, 20px);
  padding: clamp(6px, 1.2vmin, 16px) clamp(6px, 0.7vmin, 14px);
  padding: clamp(6px, 1.48cqh, 16px) clamp(6px, 0.73cqw, 14px);
}

.menu-item {
  font-family: 'Barlow Medium';
  width: 100%;
  min-height: clamp(36px, 5.2vmin, 74px);
  min-height: clamp(36px, 6.85cqh, 74px);
  clip-path: polygon(95% 0, 100% 26%, 100% 100%, 0 100%, 0 0);
  color: white;
  font-size: clamp(0.75rem, 1.2vmin, 1.5rem);
  font-size: clamp(0.75rem, 2.22cqh, 1.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 0.9vmin, 16px);
  gap: clamp(6px, 1.48cqh, 16px);
  padding: 0 clamp(8px, 1.2vmin, 20px);
  padding: 0 clamp(8px, 1.04cqw, 20px);
  box-sizing: border-box;
  line-height: 1.15;
  text-align: center;
}

.menu-item img {
  width: clamp(10px, 1.1vmin, 22px);
  width: clamp(10px, 2.04cqh, 22px);
  height: auto;
  flex: 0 0 auto;
}

.menu-item-blue {
  background: linear-gradient(90deg, rgb(0, 62, 126, 0.4) 42%, rgb(0, 174, 239, 0.4) 100%);
  letter-spacing: clamp(0.03em, 0.2vmin, 0.11em);
  letter-spacing: clamp(0.03em, 0.2cqw, 0.11em);
}

.menu-item-red {
  background: linear-gradient(90deg, rgb(205, 22, 63, 0.4) 42%, rgb(225, 75, 50, 0.4) 80%, rgb(245, 128, 37, 0.4) 100%);
  letter-spacing: clamp(0.02em, 0.16vmin, 0.08em);
  letter-spacing: clamp(0.02em, 0.16cqw, 0.08em);
}

.menu-item-green {
  background: linear-gradient(90deg, rgb(6, 69, 0, 0.4) 0%, rgb(21, 107, 1, 0.4) 55%);
  letter-spacing: clamp(0.01em, 0.12vmin, 0.06em);
  letter-spacing: clamp(0.01em, 0.12cqw, 0.06em);
}

.menu-item-blue:hover,
.menu-item-active-blue {
  background: linear-gradient(90deg, rgb(0, 62, 126, 1) 42%, rgb(0, 174, 239, 1) 100%);
}

.menu-item-red:hover,
.menu-item-active-red {
  background: linear-gradient(90deg, rgb(205, 22, 63, 1) 42%, rgb(225, 75, 50, 1) 80%, rgb(245, 128, 37, 1) 100%);
}

.menu-item-green:hover,
.menu-item-active-green {
  background: linear-gradient(90deg, rgb(6, 69, 0, 1) 0%, rgb(21, 107, 1, 1) 55%);
}

.page-title {
  position: absolute;
  display: flex;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  --title-height: clamp(36px, 6.67vmin, 72px);
  --title-height: clamp(36px, 6.67cqh, 72px);
  --title-width: clamp(280px, 35.4vmin, 680px);
  --title-width: clamp(280px, 35.4cqw, 680px);
  /* Badge anchor: % of title bar (680px design: right -251px, width 310px) */
  --badge-right: 45%;
  --badge-width: 45.59%;
  --status-shift: 8.82%;
  width: var(--title-width);
  height: var(--title-height);
  z-index: 10;
}

.page-title .col-left {
  background: url('../images/title-l.png') no-repeat left top;
  background-size: 100% 100%;
  width: 11.47%;
  flex: 0 0 11.47%;
  height: 100%;
}

.page-title .col-right {
  background: url('../images/title-r.png') no-repeat left top;
  background-size: 100% 100%;
  width: 11.47%;
  flex: 0 0 11.47%;
  min-width: 0;
  height: 100%;
}

.col-title {
  background: url('../images/title-bg.png') repeat-x left top;
  background-size: auto 100%;
  height: 100%;
  flex: 1 1 auto;
  min-width: 0;
  margin-left: -1px;
  margin-right: -1px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* #hotspots-green {
  transform: translateY(-16px);
} */

#title {
  font-family: 'Barlow Medium';
  font-size: clamp(0.85rem, 1.6vmin, 1.6rem);
  font-size: clamp(0.85rem, 2.37cqh, 1.6rem);
  line-height: clamp(1.2rem, 2.2vmin, 2.2rem);
  line-height: clamp(1.2rem, 3.26cqh, 2.2rem);
  background: -webkit-linear-gradient(45deg, #ce163f, #fe7001);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: clamp(0.04rem, 0.1vmin, 0.1rem);
  letter-spacing: clamp(0.04rem, 0.15cqh, 0.1rem);
}

.application-status-title {
  position: absolute;
  top: 5.56%;
  right: calc(-1 * var(--badge-right) + var(--status-shift));
  width: var(--badge-width);
  height: 94.44%;
  background: url('../images/btn-application-status.png') no-repeat 0 0;
  background-size: 100% 100%;
}

.btn-home {
  position: absolute;
  left: 0;
  top: 68px;
  background: transparent url('../images/i-home.png') no-repeat 12px center;
  height: 46px;
  width: 55px;
  display: flex;
  align-items: center;
  font-family: 'Avenir Next LT Pro Bold';
  z-index: 1001;
  cursor: pointer;
}

.btn-back {
  position: absolute;
  left: 0;
  top: 120px;
  background: transparent url('../images/back-button.png') no-repeat 12px center;
  height: 46px;
  width: 55px;
  display: flex;
  align-items: center;
  font-family: 'Avenir Next LT Pro Bold';
  z-index: 1001;
  cursor: pointer;
}

.btn-home span,
.btn-back span {
  display: none;
}

.btn-home:hover,
.btn-back:hover {
  background-color: #ce1c3f;
  width: 55px;
  border-radius: 0 5px 5px 0;
}

.btn-home:hover span,
.btn-back:hover span {
  display: none !important;
  padding-left: 0;
  display: inline;
  color: #ffffff;
}

/* .hotspot a.icon {
  background: transparent url('../images/btn-plus-blue.png') no-repeat;
  display: inline-block;
  width: 54px;
  height: 54px;
  position: relative;
  cursor: pointer;
  z-index: 999;
} */

/* .hotspot a.icon:hover {
  background: transparent url('../images/btn-plus-blue.png') no-repeat;
  width: 54px;
  height: 54px;
} */

.infoModal .modal-dialog {
  max-width: 1100px;
  width: 75%;
  font-family: 'Barlow Regular';
  color: #f4f4f4;
}

.infoModal .modal-header {
  justify-content: left;
  border-bottom: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  padding: 0 0 25px 0;
}

.infoModal h3 {
  font-size: 2.15rem;
}

.infoModal .modal-body {
  padding: 0;
}

.infoModal .modal-header span.i-ship {
  border: 5px solid #fff;
  border-radius: 150px;
  background: #2c3440 url(../images/i-ship.png) no-repeat center center;
  width: 150px;
  height: 150px;
  position: absolute;
  right: -16px;
  top: -32px;
}

.infoModal .modal-header span.i-plus {
  background: url(../images/i-plus.png) no-repeat center center;
  width: 79px;
  height: 80px;
  position: absolute;
  right: -14px;
  top: -16px;
}

#startModal .modal-header span.i-ship {
  background: #2c3440 url(../images/i-ship-white.png) no-repeat center center;
}

.infoModal strong {
  font-family: 'Barlow Bold';
}

.infoModal .orange {
  color: #e97900;
}

.infoModal .blue {
  color: #00a6f3;
}

.infoModal .modal-body a {
  text-decoration: none;
}

.infoModal .modal-body a:hover {
  text-decoration: underline;
}

.infoModal .modal-body ol {
  margin-left: 30px;
  margin-right: 50px;
}

.infoModal .modal-body li {
  padding-top: 20px;
}

.infoModal .modal-body ul {
  list-style-image: url('../images/i-marker-plus.png');
  padding-top: 30px;
  margin-left: 20px;
  margin-bottom: 50px;
  gap: 10px;
  display: flex;
  flex-direction: column;
}

.infoModal .modal-body ul li {
  padding-top: 15px;
  padding-left: 15px;
}

.infoModal .modal-content {
  background: rgba(44, 52, 64, 0.9);
  border: 5px solid #ffffff;
  border-radius: 15px;
  padding: 35px 65px 0 65px;
  font-size: 1.55rem;
}

.infoModal .modal-content p {
  text-align: justify;
}

#pano .infoModal .modal-dialog {
  font-family: 'Barlow Medium';
  width: 95%;
}

#pano .infoModal .modal-content {
  padding: 36px 65px 0 38px;
  font-size: 1.8rem;
  letter-spacing: 0.1rem;
}

#pano .infoModal h3,
#pano .infoModal h3 strong {
  font-family: 'Barlow Regular';
  font-size: 2.2rem;
  letter-spacing: 0.2rem;
}

.infoModal .modal-footer,
.section-padp-overview .section-footer {
  height: 40px;
  padding: 0;
  border-top: none;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

#pano .infoModal .modal-footer,
.section-padp-overview .section-footer {
  height: 60px;
}

.infoModal .modal-footer .btn-close {
  right: 50%;
  left: 50%;
  transform: translate(-50%, 0);
  background: transparent url('../images/btn-close.png') no-repeat;
  opacity: 1;
  border-radius: 30px;
  width: 64px;
  height: 64px;
  position: absolute;
  bottom: -55px;
  padding: 0;
  font-size: 20px;
}

.infoModal .modal-footer .btn-close:hover,
#vesselOverviewModal .modal-footer .btn-close:focus {
  /*background: transparent url("../images/btn-close-hover.png") no-repeat;*/
  background-position: -65px 0;
  box-shadow: none;
}
#startModal .modal-body {
  padding-bottom: 90px;
}

#startModal .modal-footer {
  justify-content: center;
  height: 93px;
}

#startModal .modal-footer .row {
  width: 100%;
}

.infoModal .modal-footer .col-left,
.section-padp-overview .section-footer .col-left {
  background: url(../images/i-footer-left.png) no-repeat right;
  width: 106px;
  height: 95px;
}

.infoModal .modal-footer .col-right,
.section-padp-overview .section-footer .col-right {
  background: url(../images/i-footer-right.png) no-repeat left;
  width: 106px;
  height: 95px;
}

.infoModal .modal-footer .col-content,
.section-padp-overview .section-footer .col-content {
  background: url(../images/i-footer-bg.png) repeat-x;
  height: 95px;
  max-width: 535px;
}

.col-content {
  font-size: 18px;
}

.oemmac-legend {
  position: fixed;
  top: 20px;
  right: 40px;
  max-width: 330px;
}

.oemmac-legend .modal-content {
  background-color: #2e3541;
  padding: 12px 20px;
  font-family: 'Barlow Regular';
  -webkit-box-shadow: 0px 5px 10px -1px rgba(0, 0, 0, 1);
  -moz-box-shadow: 0px 5px 10px -1px rgba(0, 0, 0, 1);
  box-shadow: 0px 5px 10px -1px rgba(0, 0, 0, 1);
}

.oemmac-legend h3 {
  font-family: 'Barlow Regular';
  font-size: 1.6rem;
}

.oemmac-legend .modal-header {
  justify-content: center;
  padding: 0 0 20px 0;
}

.modal-backdrop.show {
  opacity: 0.7;
}

.modal.right .modal-dialog,
.modal.left .modal-dialog {
  position: fixed;
  left: 0;
  margin: auto;
  width: 338px;
  height: 100%;
  -webkit-transform: translate3d(0%, 0, 0);
  -ms-transform: translate3d(0%, 0, 0);
  -o-transform: translate3d(0%, 0, 0);
  transform: translate3d(0%, 0, 0);
}

.modal.left .modal-dialog {
  left: auto;
  right: 0;
}

#menuModal .modal-dialog {
  /*background: linear-gradient(#ffffff, #ffffff) no-repeat 0 150px;*/
}

.modal.right .modal-content {
  height: 100%;
  overflow-y: auto;

  background: url('../images/menu-bg.png') no-repeat, linear-gradient(transparent, rgba(213, 49, 58, 0.8));
  /*background-image: linear-gradient(top, transparent 60px,rgba(39,39,39,.5) 60px, rgba(39,39,39,.5) 100%);*/
  /*background-image: -webkit-linear-gradient(top, transparent 60px,rgba(39,39,39,.5) 60px, rgba(39,39,39,.5) 100%);*/
  /*background-image: -moz-linear-gradient(top, transparent 60px,rgba(39,39,39,.5) 60px, rgba(39,39,39,.5) 100%);*/
  /*background-image: -ms-linear-gradient(top, transparent 60px,rgba(39,39,39,.5) 60px, rgba(39,39,39,.5) 100%);*/
  /*background-image: -o-linear-gradient(top, transparent 60px,rgba(39,39,39,.5) 60px, rgba(39,39,39,.5) 100%);*/
}

#menuModal .modal-body {
  margin: 0 0 15px 0;
  padding: 0;
  /**/
}

.modal.right.fade .modal-dialog {
  left: -310px;
  -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
  -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
  -o-transition: opacity 0.3s linear, left 0.3s ease-out;
  transition: opacity 0.3s linear, left 0.3s ease-out;
}

.modal.right.fade.show .modal-dialog {
  left: 0;
}

#menuModal .nav div.menu-top {
  float: left;
  /*background: transparent url('../images/menu-top.png') no-repeat;*/
  height: 60px;
  padding-top: 35px;
  padding-bottom: 27px;
  /*margin: 0 11px;*/
}

#menuModal .close {
  border: none;
  background: none;
  position: absolute;
  top: 27px;
  left: 17px;
  opacity: 1;
}

#menuModal .close span {
  line-height: 0em;
  font-size: 3rem;
  font-weight: 300;
  color: #ffffff;
  text-shadow: none;
}

#menuModal .close:hover span {
  color: #000000;
}

#menuModal .nav div.copy {
  padding: 20px 0 20px 20px;
  text-align: left;
  font-size: 0.75rem;
  color: #ffffff;
}

/* ----- MODAL STYLE ----- */
/* Центральные модалки (solutions, info и т.д.) — масштаб 90%. Боковое меню не трогаем. */
.modal:not(.right):not(.left):not(.solutions) .modal-dialog {
  transform-origin: center center;
}
.modal:not(.right):not(.left):not(.solutions).fade .modal-dialog {
  transform: translate(0, -50px) scale(0.9);
}
.modal:not(.right):not(.left):not(.solutions).show .modal-dialog {
  transform: scale(0.9);
}

.modal-content {
  border-radius: 0;
  border: none;
}

#menuModal button.close:hover {
  background-color: transparent;
}

#menuModal .modal-body {
  background: url('../images/main-logo.png') no-repeat center bottom;
  margin-bottom: 30px;
  padding-bottom: 130px;
}

#menuModal .nav-item {
  background-color: transparent;
  width: auto;
  position: relative;
  display: inline-block;
  height: auto;
  padding: 8px 12px;
  margin: 0 16px 0 16px;
  border-top: 1px solid transparent;
  border-bottom: 1px solid #fad9c8;
  font-family: 'Avenir Next LT Pro Medium';
  font-size: 0.9rem;
  color: #ffffff;
}

#menuModal .nav-item:first-of-type {
  border-top: 1px solid #fad9c8;
}

#menuModal .nav-item:hover {
  background-color: #f8caaf;
  color: #000000 !important;
  border-top: 1px solid #e8d1c3;
  margin: 0 16px 0 16px;
}

.solutions.modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  overflow: hidden;
  pointer-events: none;
}

.solutions.modal.show {
  display: block;
  pointer-events: auto;
}

.solutions .modal-dialog {
  position: absolute;
  left: 50%;
  top: clamp(48px, 9vmin, 85px);
  top: clamp(48px, 9cqh, 85px);
  transform: translateX(-50%);
  margin: 0;
  width: clamp(280px, 80cqw, 1545px);
  max-width: none;
  max-height: clamp(220px, 78vmin, 900px);
  max-height: clamp(220px, 78cqh, 900px);
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal.solutions.fade .modal-dialog {
  transform: translateX(-50%) translateY(-20px);
  transition: transform 0.25s ease-out;
}

.modal.solutions.show .modal-dialog {
  transform: translateX(-50%) translateY(0);
}

.solutions .modal-content {
  background-color: transparent;
  font-family: 'Barlow Regular';
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.solutions .modal-body {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  align-content: flex-start;
  flex: 1;
  min-height: 0;
  font-size: clamp(0.65rem, 1.3vmin, 0.8rem);
  font-size: clamp(0.65rem, 1.3cqh, 0.8rem);
  line-height: 1.3;
  overflow: hidden;
}

.solutions .col-content {
  flex: 1 1 0;
  min-width: 0;
  max-width: 50%;
  margin-right: clamp(10px, 1.8cqw, 25px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.solutions .col-img {
  flex: 1 1 0;
  min-width: 0;
  max-width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.solutions .col-img img,
.solutions-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: clamp(6px, 0.75vmin, 10px);
  border-radius: clamp(6px, 0.75cqh, 10px);
}

.solutions-image.is-loading {
  opacity: 0;
  visibility: hidden;
}

.solutions .col-content > div,
.solutions-content {
  padding: clamp(12px, 2.2cqh, 24px) clamp(10px, 1.8cqw, 18px) clamp(12px, 2cqh, 24px) clamp(8px, 1cqw, 10px);
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.solutions .key-solution {
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  flex-shrink: 0;
  margin-top: auto;
  width: 100%;
  gap: clamp(10px, 1.85cqh, 20px);
}

/* Stacked layout: image + text scroll together below 820px stage width */
@container stage (max-width: 819px) {
  .solutions .modal-body {
    flex-direction: column;
    flex-wrap: nowrap;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    align-content: flex-start;
  }

  .solutions .col-img {
    flex: 0 0 auto;
    min-width: 100%;
    width: 100%;
    max-height: none;
    height: auto;
    overflow: visible;
    margin-bottom: clamp(8px, 1.2cqh, 16px);
  }

  .solutions .col-img img,
  .solutions-image {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .solutions .col-content {
    flex: 0 0 auto;
    min-width: 100%;
    max-width: 100%;
    min-height: auto;
    margin-right: 0;
    overflow: visible;
  }

  .solutions .col-content > div,
  .solutions-content {
    height: auto;
    overflow: visible;
    overflow-y: visible;
  }

  .solutions .key-solution {
    margin-top: clamp(12px, 2cqh, 20px);
  }
}

#videoModal .modal-dialog {
  max-width: 80%;
  margin: 30px auto;
}

#videoModal .modal-body {
  position: relative;
  padding: 0px;
}
#videoModal .btn-close {
  z-index: 1000;
  border: 2px solid #ffffff;
  position: absolute;
  right: -35px;
  top: 0;
  color: #ffffff;
  border-radius: 30px;
  background-color: #ffffff;
}

.col-content .row {
  width: 100%;
  height: 100%;
}

.col-content .col:first-child {
  text-align: left !important;
}

.col-content .col:last-child {
  text-align: right !important;
}

.col-content {
  background-color: rgba(38, 79, 29, 0.9);
  border: 1px solid #fff;
  border-radius: 10px;
  margin-right: 25px;
  letter-spacing: 0.03rem;
  color: #fff;
  position: relative;
}
.col-content > div {
  padding: 24px 18px 105px 10px;
}
.col-content h4 {
  /* text-transform: uppercase; */
  text-align: center;
  font-size: 1.36rem;
  margin-bottom: 15px;
  font-family: 'Barlow SemiBold';
}

.col-content h5 {
  text-align: center;
  font-size: 1.24rem;
  margin-top: 25px;
  margin-bottom: 8px;
  font-family: 'Barlow SemiBold';
}

/* .col-content h6 {
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
} */

.col-content h4 span {
  display: inline-block;
  border-bottom: 1px solid #ffffff;
}

.col-content li {
  padding-left: 8px;
  line-height: 1.25;
}

#solutions-direct-lithium-extraction .col-content li {
  margin-bottom: 10px;
}
.col-content ul ul li::marker {
  content: '▶';
  font-size: 0.5rem;
}

.key-solution {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: absolute;
  bottom: 18px;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  padding: 0;
}

.key-solution h6,
.key-solution h6[style] {
  font-size: 1.08rem !important;
  font-family: 'Barlow SemiBold';
  margin: 0;
  display: flex;
  align-items: center;
  min-height: 72px;
  line-height: 1.15;
}

.key-solution h6:first-of-type {
  white-space: nowrap;
}

.key-solution h6:last-of-type,
.key-solution h6:last-of-type[style] {
  font-size: 0.95rem !important;
  line-height: 1.2;
}

.key-solution p,
.key-solution p[style] {
  margin: 0;
  height: 72px !important;
  align-self: center;
}

.solutions .col-content ul {
  margin-bottom: clamp(6px, 1cqh, 10px);
}

.solutions .col-content h4 + ul,
.solutions .col-content h5 + ul {
  margin-top: clamp(6px, 1cqh, 10px);
}

/* Solutions modal — overrides must follow global .col-content rules */
.solutions .col-content {
  margin-right: clamp(10px, 1.8cqw, 25px);
  border-radius: clamp(6px, 0.75cqh, 10px);
}

.solutions .col-content > div,
.solutions .solutions-content {
  padding: clamp(12px, 2.2cqh, 24px) clamp(10px, 1.8cqw, 18px) clamp(12px, 2cqh, 24px) clamp(8px, 1cqw, 10px) !important;
  font-size: clamp(0.65rem, 1.3cqh, 0.8rem) !important;
}

.solutions .col-content h4 {
  font-size: clamp(0.9rem, 2.2cqh, 1.36rem) !important;
  margin-bottom: clamp(8px, 1.4cqh, 15px) !important;
}

.solutions .col-content h5 {
  font-size: clamp(0.85rem, 2cqh, 1.24rem) !important;
  margin-top: clamp(12px, 2.3cqh, 25px) !important;
  margin-bottom: clamp(6px, 0.75cqh, 8px) !important;
}

.solutions .col-content h4[style],
.solutions .col-content h5[style] {
  font-size: clamp(0.85rem, 2cqh, 1.24rem) !important;
  padding: clamp(6px, 1.1cqh, 20px) !important;
  margin: 0 0 clamp(6px, 0.75cqh, 10px) !important;
}

.solutions .col-content li {
  padding-left: clamp(4px, 0.75cqh, 8px);
  line-height: 1.25;
  font-size: inherit !important;
}

.solutions .col-content ul[style*='gap'] {
  gap: clamp(4px, 0.9cqh, 10px) !important;
}

.solutions .col-content ul[style*='font-size'] {
  font-size: inherit !important;
}

.solutions .key-solution h6,
.solutions .key-solution h6[style] {
  font-size: clamp(0.75rem, 1.75cqh, 1.08rem) !important;
  min-height: clamp(32px, 5.5cqh, 72px) !important;
}

.solutions .key-solution h6:last-of-type,
.solutions .key-solution h6:last-of-type[style] {
  font-size: clamp(0.7rem, 1.55cqh, 0.95rem) !important;
}

.solutions .key-solution p,
.solutions .key-solution p[style] {
  height: clamp(32px, 5.5cqh, 72px) !important;
}

.solutions .key-solution[style] {
  padding: clamp(8px, 1.2cqh, 20px) clamp(8px, 1.2cqw, 20px) !important;
}

.solutions-powered-by .key-solution p,
.solutions-powered-by .key-solution p[style] {
  height: clamp(40px, 7cqh, 95px) !important;
}

.solutions-powered-by .key-solution img {
  max-height: clamp(24px, 4.5cqh, 40px);
  width: auto;
}

@media all and (max-height: 768px) {
  body {
    background-color: #000000;
  }
}
