/* ==========================================================================
   Home (hero + trusted row + certifications)
   Scope: .site-header--home, .certifications-row
   Depends on: site-header.css
   ========================================================================== */

.site-header--home .site-header-wrapper-content {
  min-height: 868px;
}

.site-header--home .site-header__row--hero {
  display: flex;
  margin-top: 67px;
  margin-left: 119px;
}

.site-header--home .site-header__row--trusted {
  padding: 13px;
  background-image: url("data:image/svg+xml,%3Csvg width='1454' height='130' viewBox='0 0 1454 130' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath opacity='0.9' d='M1454 120C1454 125.523 1449.52 130 1444 130L28.7079 130C26.017 130 23.4395 128.915 21.5581 126.992L2.85022 107.86C1.02307 105.992 0 103.482 0 100.869V9.99996C0 4.47711 4.47717 -3.05176e-05 10 -3.05176e-05H1412.07C1414.6 -3.05176e-05 1417.04 0.961151 1418.89 2.68941L1450.82 32.4894C1452.85 34.3807 1454 37.0282 1454 39.8V120Z' fill='%2325282D'/%3E%3C/svg%3E%0A");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  margin-top: 81px;
  max-width: 1454px;
}

/* ==========================================================================
   Hero panel (home layout)
   ========================================================================== */

.site-header--home .hero-panel__inner {
  grid-template-columns: 1080px 60px;
  gap: 16px;
}

.site-header--home .hero-panel__body {
  position: relative;
  min-height: 405px;
  display: grid;
  grid-template-columns: 86px 385px 610px;
}

.site-header--home .hero-panel__spot {
  width: 86px;
  height: 100%;
  position: relative;
}

.site-header--home .hero-panel__spot::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 35px;
  height: 37px;
  background-image: url("data:image/svg+xml,%3Csvg width='35' height='37' viewBox='0 0 35 37' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.999996 37L0.999998 6C0.999998 3.23858 3.23858 1 6 1L35 1' stroke='%23FF9040' stroke-width='2'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
}

.site-header--home .hero-panel__spot--left {
  top: 0;
  left: 0;
}

.site-header--home .hero-panel__center {
  position: relative;
}

.site-header--home .hero-panel__socials {
  position: absolute;
  display: flex;
  flex-direction: column;
  top: 57px;
  right: -22px;
  z-index: 1;
}

.site-header--home .hero-panel__follow {
  margin-top: auto;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 10px;
  letter-spacing: 14px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  position: absolute;
  bottom: -39px;
  right: 6px;
}

.site-header--home .hero-card {
  position: relative;
  height: 100%;
  width: 100%;
}

.site-header--home .hero-card__surface {
  position: absolute;
  bottom: 35px;
  left: 0;
  width: 385px;
  height: 213px;
  background-image: url("data:image/svg+xml,%3Csvg width='385' height='213' viewBox='0 0 385 213' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3CforeignObject x='-46.0537' y='-46.0537' width='477.107' height='305.107'%3E%3Cdiv xmlns='http://www.w3.org/1999/xhtml' style='backdrop-filter:blur(23.03px);clip-path:url(%23bgblur_0_2_75_clip_path);height:100%25;width:100%25'%3E%3C/div%3E%3C/foreignObject%3E%3Cpath opacity='0.8' data-figma-bg-blur-radius='46.0537' d='M0 5C0 2.23857 2.23858 0 5 0H369.003C370.368 0 371.674 0.558241 372.617 1.54513L383.614 13.0504C384.504 13.9808 385 15.2183 385 16.5053V208C385 210.761 382.761 213 380 213H5C2.23858 213 0 210.761 0 208V5Z' fill='%23FF9040'/%3E%3Cdefs%3E%3CclipPath id='bgblur_0_2_75_clip_path' transform='translate(46.0537 46.0537)'%3E%3Cpath d='M0 5C0 2.23857 2.23858 0 5 0H369.003C370.368 0 371.674 0.558241 372.617 1.54513L383.614 13.0504C384.504 13.9808 385 15.2183 385 16.5053V208C385 210.761 382.761 213 380 213H5C2.23858 213 0 210.761 0 208V5Z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
}

.site-header--home .hero-card__copy {
  position: relative;
  z-index: 1;
  padding: 13px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
}

.site-header--home .hero-card__title {
  margin: 0;
  font-size: 58px;
  font-weight: 400;
  line-height: 56px;
  text-align: right;
  text-transform: uppercase;
  padding-left: 15px;
}

.site-header--home .hero-card__subtitle {
  margin: 16px 0 0;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.site-header--home .hero-card__action {
  position: absolute;
  bottom: -36px;
  right: 0;
}

.site-header--home .hero-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.site-header--home .hero-media__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.site-header--home .hero-media__corner {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 100px;
}

.site-header--home .hero-media__corner::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35px;
  height: 37px;
  background-image: url("data:image/svg+xml,%3Csvg width='35' height='37' viewBox='0 0 35 37' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.999996 37L0.999998 6C0.999998 3.23858 3.23858 1 6 1L35 1' stroke='%23FF9040' stroke-width='2'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  transform: rotate(180deg);
}

/* ==========================================================================
   Trusted row
   ========================================================================== */

.site-header--home .trusted-row {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 0;
}

.site-header--home .trusted-row__logos {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 1126px;
  margin-right: 0;
}

.site-header--home .trusted-row__logos:not(.slick-initialized) {
  display: flex;
  gap: 13px;
  align-items: center;
}

.site-header--home .trusted-row__logos .slick-list {
  margin: 0 -6.5px;
}

.site-header--home .trusted-row__logos .slick-slide {
  padding: 0 6.5px;
  box-sizing: border-box;
}

.site-header--home .trusted-row__item {
  height: 97px;
  background-image: url("data:image/svg+xml,%3Csvg width='211' height='97' viewBox='0 0 211 97' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath opacity='0.05' d='M0 5C0 2.23858 2.23858 0 5 0H193.358C194.747 0 196.073 0.577822 197.019 1.59498L209.661 15.1892C210.522 16.1143 211 17.3308 211 18.5942V92C211 94.7614 208.761 97 206 97H17.1698C15.8566 97 14.5962 96.4834 13.6607 95.5618L1.49096 83.5724C0.537086 82.6327 0 81.3496 0 80.0106V5Z' fill='white'/%3E%3C/svg%3E%0A");
  background-size: 100% 100%;
  background-position: top center;
  background-repeat: no-repeat;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.site-header--home .trusted-row__item-inner {
  max-width: 102px;
  max-height: 27px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-header--home .trusted-row__logo {
  max-width: 102px;
  max-height: 27px;
  width: auto;
  height: auto;
}

.site-header--home .trusted-row__description {
  color: #ff9040;
  font-weight: 400;
  font-size: 27px;
  line-height: 26px;
  padding-left: 16px;
  margin-right: 13px;
  max-width: 284px;
}

.site-header--home .trusted-row__empty {
  color: rgba(226, 232, 240, 0.7);
}

/* ==========================================================================
   Certifications & Organizations (home)
   ========================================================================== */

.certifications-row {
  margin-top: 48px;
  margin-bottom: 48px;
  width: 100%;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  box-sizing: border-box;
}

.certifications-row h2 {
  color: #25282D;
  text-align: center;
  font-size: 42px;
  line-height: 42px;
  font-weight: 600;
  margin: 0 0 24px;
}

.certifications-row__inner {
  display: block;
  width: 100%;
  overflow: hidden;
}

.certifications-row__logos {
  width: 100%;
  margin: 0;
}

.certifications-row__logos:not(.slick-initialized) {
  display: flex;
  gap: 13px;
  align-items: center;
  justify-content: flex-start;
}

.certifications-row__logos .slick-list {
  margin: 0;
  overflow: hidden;
}

.certifications-row__logos .slick-slide {
  padding: 0 6.5px;
  box-sizing: border-box;
}

.certifications-row__item {
  width: 100%;
  height: 176px;
  margin: 0;
  box-sizing: border-box;
  background-image: url(../images/cerf-bg2.png);
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.certifications-row__item-inner {
  max-width: 88px;
  max-height: 82px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certifications-row__logo {
  max-width: 88px;
  max-height: 82px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ==========================================================================
   Manufacturing band (full-bleed)
   ========================================================================== */

.home-manufacturing {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  height: 670px;
  padding: 20px 0;
  background-image: url(../images/man-bg.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: auto;
  overflow: hidden;
}

.home-manufacturing__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0px 24px;
  box-sizing: border-box;
}

.home-manufacturing__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  width: 100%;
}

.home-manufacturing__title {
  margin: 0;
  color: #ffffff;
  font-size: 42px;
  line-height: 1.15;
  font-weight: 600;
  text-align: center;
}

.home-manufacturing__button.silver-corner-btn.silver-corner-btn--manufacturing {
  margin-top: 40px;
  margin-left: 0;
  background: rgba(20, 24, 5, 0.3);
  color: #ffffff;
  --col: #ffffff;
}

.home-manufacturing__button.silver-corner-btn.silver-corner-btn--manufacturing:hover,
.home-manufacturing__button.silver-corner-btn.silver-corner-btn--manufacturing:focus-visible {
  background: rgba(20, 24, 5, 0.7);
  color: #ffffff;
  --col: var(--color-accent, #ff9040);
  text-decoration: none;
}

.home-manufacturing__button.silver-corner-btn.silver-corner-btn--manufacturing:active {
  background: rgba(20, 24, 5, 0.7);
  color: #ffffff;
  --col: var(--color-accent, #ff9040);
}

.home-manufacturing__bottom-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.home-manufacturing__bottom-link:hover,
.home-manufacturing__bottom-link:focus-visible {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.88;
}

.home-manufacturing__bottom-icon {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  background: var(--color-accent, #ff9040);
}

.home-manufacturing__bottom-text {
  color: inherit;
}

/* ==========================================================================
   Feature blocks (HMI, Flexible Electronics, …)
   ========================================================================== */
.home .site-main {
  padding-top: 0;
}

.home-feature-block {
  position: relative;
  width: 100%;
  padding: 14px;
  background-color: var(--almax-background-color, var(--color-background, #e8e9e3));
  /* Light default in CSS; dark jpg is set via --home-feature-bg by JS only in dark theme. */
  background-image: var(--home-feature-bg, url(../images/home-prod-bg-nocent.jpg));
  background-repeat: no-repeat;
  background-position: center center;
  min-height: var(--home-feature-min-height, 1230px);
}

.home-feature-block + .home-feature-block {
  margin-top: -223px;
}

.home-feature-block__row {
  box-sizing: border-box;
  margin-inline: auto;
}

.home-feature-block__row--intro {
  width: min(100% - 48px, 1550px);
  min-height: 390px;
  display: grid;
  /* First column +50px, second -50px vs equal split (gap 48px). */
  grid-template-columns: minmax(0, calc((100% - 48px) / 2 + 50px)) minmax(0, calc((100% - 48px) / 2 - 50px));
  gap: 40px 48px;
  align-items: start;
  margin-bottom: 0px;
}

.home-feature-block__row--tabs {
  position: relative;
  width: min(100% - 48px, 1200px);
  min-height: 400px;
  display: grid;
  grid-template-columns: 257px minmax(0, 1fr);
  gap: 40px 48px;
  align-items: start;
  padding-top: 42px;
}

.home-feature-block__connector {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  height: 1px;
  width: 0;
  background: var(--color-accent, #ff9040);
  transform-origin: 0 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-feature-block__connector.is-visible {
  opacity: 1;
}

.home-feature-block__connector.is-instant {
  transition: none;
}

.home-feature-block__intro,
.home-feature-block__lead {
  min-width: 0;
}
.home-feature-block__intro {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-bottom: 83px;
}
.home-feature-block__title {
  max-width: 530px;
  margin: 0;
  font-size: 42px;
  line-height: 42px;
  font-weight: 600;
  z-index: 3;
}

.home-feature-block__menu-text {
  position: absolute;
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 6px;
  opacity: 0.85;
  z-index: 3;
  bottom: -16px;
  right: -36px;
}

.home-feature-block__lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: 260px;
  margin-left: 41px;
  padding: 87px 18px 10px;
  letter-spacing: 1.4px;
  position: relative;
  transform-style: preserve-3d;
}
.home-feature-block__lead::before {
  content: "";
  position: absolute;
  width: 80%;
  height: 100px;
  border-radius: 50%;
  left: 50%;
  bottom: -50px;
  background: radial-gradient(ellipse, rgb(255 191 151 / 75%) 0%, #ff904000 77%);
  z-index: 1;
  animation: isolatedPulse 3s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
.home-feature-block__lead::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images/fu-desc-bg.png);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-color: var(--almax-background-color, var(--color-background, #e8e9e3));
  z-index: 2; 
}
@keyframes isolatedPulse {
  0% {
    transform: translateX(-50%) scale(1);
    opacity: 0.95;
  }
  100% {
    transform: translateX(-50%) scale(0.6);
    opacity: 0.2;
  }
}

.home-feature-block__subtitle {
  margin: 0 0 13px;
  font-size: 28px;
  font-weight: 500;
  line-height: 30px;
  max-width: 380px;
  z-index: 3;
}

.home-feature-block__short-description,
.home-feature-block__detail-description {
  font-size: 12px;
  line-height: 17px;
  color: var(--color-muted);
}

.home-feature-block__short-description {
  margin: 0;
  z-index: 3;
  max-width: 380px;
}

.home-feature-block__short-description p,
.home-feature-block__detail-description p {
  margin: 0 0 12px;
}

.home-feature-block__short-description p:last-child,
.home-feature-block__detail-description p:last-child {
  margin-bottom: 0;
}

.home-feature-block__tabs {
  position: relative;
  width: 257px;
  background-color: #25282d;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  margin-left: 7px;
  padding: 0px 0px 50px 34px;
}

.home-feature-block__tabs::before {
  content: "";
  position: absolute;
  top: -41px;
  left: 0;
  width: 100%;
  height: 41px;
  background-image: url(../images/menu-part-top.png);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 41px;
  pointer-events: none;
}

.home-feature-block__tabs::after {
  content: "";
  position: absolute;
  left: -13px;
  bottom: -41px;
  width: 259px;
  height: 249px;
  background-image: url(../images/menu-part2.png);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 259px 249px;
  pointer-events: none;
}

.home-feature-block__tabs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.home-feature-block__tabs-link {
  display: block;
  width: calc(100% - 34px);
  padding: 10px 14px 10px 0px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  text-transform: uppercase;
  transition: color 0.2s ease, border-bottom-color 0.2s ease, width 0.2s ease;
  border-bottom: 1px solid #6A6A6A;
  box-sizing: border-box;
}

.home-feature-block__tabs-link:hover,
.home-feature-block__tabs-link:focus-visible,
.home-feature-block__tabs-link.is-active {
  width: 100%;
  color: var(--color-accent, #ff9040);
  border-bottom-color: var(--color-accent, #ff9040);
  text-decoration: none;
  outline: none;
}

.home-feature-block__tabs-link:hover::before,
.home-feature-block__tabs-link:focus-visible::before,
.home-feature-block__tabs-link.is-active::before {
  content: "[ ";
  color: var(--color-accent, #ff9040);
}

.home-feature-block__tabs-link:hover::after,
.home-feature-block__tabs-link:focus-visible::after,
.home-feature-block__tabs-link.is-active::after {
  content: " ]";
  color: var(--color-accent, #ff9040);
}

.home-feature-block__details {
  position: relative;
  min-width: 0;
}

.home-feature-block__detail {
  display: grid;
  grid-template-columns: minmax(0, 587px) minmax(0, 1fr);
  gap: 0px;
  align-items: flex-end;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  max-width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: none;
}

.home-feature-block__detail.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.home-feature-block__detail--no-media {
  grid-template-columns: minmax(0, 1fr);
}

.home-feature-block__detail-media {
  position: relative;
  width: 587px;
  max-width: 100%;
  min-height: 360px;
  overflow: visible;
  opacity: 0;
  transform: translateY(10px);
  transition: none;
}

.home-feature-block__detail.is-active .home-feature-block__detail-media {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.home-feature-block__detail-image {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  transform: translate(-50%, -50%);
}

.home-feature-block__detail-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  transition: none;
  gap: 19px;
  padding-bottom: 45px;

}

.home-feature-block__detail.is-active .home-feature-block__detail-content {
  opacity: 1;
  transition: opacity 0.35s ease;
}

.home-feature-block__detail-description {
  position: relative;
  margin: 0 0 24px;
  padding: 0 26px;
  background-image: url(../images/kva-bg.png);
  background-repeat: repeat;
}

.home-feature-block__detail-description::before {
  content: "";
  position: absolute;
  top: -29px;
  left: 0;
  width: 100%;
  height: 29px;
  background-image: url(../images/prod-det-top.png);
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% 29px;
  pointer-events: none;
}

.home-feature-block__detail-description::after {
  content: "";
  position: absolute;
  bottom: -26px;
  left: 0;
  width: 100%;
  height: 26px;
  background-image: url(../images/prod-det-bot.png);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 26px;
  pointer-events: none;
}

.home-feature-block__detail-cta.silver-corner-btn {
  margin-left: 0;
}

@media (prefers-reduced-motion: reduce) {
  .home-feature-block__detail,
  .home-feature-block__detail-media,
  .home-feature-block__detail-content,
  .home-feature-block__connector {
    transition: none;
  }

  .home-feature-block__detail-media {
    transform: none;
  }
}

/* ==========================================================================
   Responsive (home)
   ========================================================================== */

@media (max-width: 1280px) {
  .site-header--home .hero-panel__inner {
    grid-template-columns: 1fr;
  }

  .site-header--home .hero-panel__body {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-header--home .hero-panel__side {
    display: none;
  }

  .site-header--home .trusted-row {
    flex-wrap: wrap;
  }

  .site-header--home .trusted-row__logos {
    max-width: 100%;
  }

  .certifications-row__logos {
    max-width: 100%;
  }

  .home-feature-block__row--intro,
  .home-feature-block__row--tabs {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
  }

  .home-feature-block__connector {
    display: none;
  }

  .home-feature-block__lead {
    margin-left: 0;
  }

  .home-feature-block__detail,
  .home-feature-block__detail--no-media {
    grid-template-columns: 1fr;
  }

  .home-feature-block__detail-media {
    width: 100%;
    min-height: 280px;
  }
}
