/* Homepage: manufacturers + certificates shared section */
.aw-home-section--brand-trust,
.aw-home-brand-trust {
  width: 100%;
}

.aw-home-brand-trust {
  --aw-brand-panel-desktop-height: 536px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.aw-home-brand-trust__panel {
  min-width: 0;
}

.aw-home-brand-trust__panel .aw-brand-panel {
  height: var(--aw-brand-panel-desktop-height);
  min-height: var(--aw-brand-panel-desktop-height);
}

.aw-brand-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px 26px 22px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at 34% 0%, rgba(227,113,17,0.12), transparent 34%),
    linear-gradient(180deg, rgba(34,37,42,0.98) 0%, rgba(24,27,31,0.99) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 20px 48px rgba(0,0,0,0.18);
  overflow: hidden;
}

.aw-brand-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.aw-brand-panel__eyebrow {
  display: none;
}

.aw-brand-panel__title {
  margin: 0;
  color: #F2F3F5;
  font-family: var(--aw-font-headings, Montserrat, Arial, sans-serif);
  font-size: clamp(28px, 2.5vw, 42px);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: -.03em;
}

.aw-brand-panel__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  color: #F17912;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  text-decoration: none !important;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}

.aw-brand-panel__link:hover,
.aw-brand-panel__link:focus-visible {
  border-color: rgba(227,113,17,0.30);
  background: rgba(255,255,255,0.05);
  color: #fff;
  transform: translateY(-1px);
  outline: none;
}

.aw-brand-panel__body {
  flex: 1 1 auto;
}

.aw-brand-panel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
}

.aw-brand-slider__nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aw-brand-slider__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin: 0;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  color: #C8CCD2;
  font-size: 18px;
  line-height: 1;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease, color .2s ease, opacity .2s ease;
}

.aw-brand-slider__button:hover,
.aw-brand-slider__button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(227,113,17,0.30);
  background: rgba(255,255,255,0.05);
  color: #fff;
  outline: none;
}

.aw-brand-slider__button:disabled {
  opacity: .38;
  pointer-events: none;
}

.aw-brand-slider__pagination {
  position: static;
  width: auto;
  min-width: 84px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.aw-brand-slider__bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  opacity: 1;
  transition: width .2s ease, background-color .2s ease;
}

.aw-brand-slider__bullet.is-active {
  width: 28px;
  background: #E37111;
}

.aw-brand-pages {
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.aw-brand-page {
  display: none;
}

.aw-brand-page.is-active {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
}

.aw-brand-grid {
  display: grid;
  gap: 16px;
}

.aw-brand-grid--manufacturers {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aw-brand-grid--manufacturers-slider {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aw-brand-grid--certificates {
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 14px;
  height: 100%;
}

.aw-brand-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 176px;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(39,43,48,0.92) 0%, rgba(28,31,36,0.98) 100%);
  text-decoration: none !important;
  transition: transform .24s ease, border-color .24s ease, background-color .24s ease, box-shadow .24s ease;
  overflow: hidden;
}

.aw-brand-card--compact {
  min-height: 170px;
  padding: 18px;
  border-radius: 24px;
}

.aw-brand-card:hover,
.aw-brand-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(227,113,17,0.28);
  background: linear-gradient(180deg, rgba(44,48,54,0.94) 0%, rgba(31,34,39,0.98) 100%);
  box-shadow: 0 16px 32px rgba(0,0,0,0.18);
  outline: none;
}

.aw-brand-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 88px;
}

.aw-brand-card__media img {
  display: block;
  max-width: 100%;
  max-height: 78px;
  object-fit: contain;
}

.aw-brand-card__placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  min-height: 78px;
  padding: 0 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #F2F3F5;
  font-family: var(--aw-font-headings, Montserrat, Arial, sans-serif);
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .04em;
}

.aw-cert-card {
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  position: relative;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 0;
  height: 100%;
  padding: 12px 14px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(39,43,48,0.92) 0%, rgba(28,31,36,0.98) 100%);
  text-decoration: none !important;
  transition: transform .24s ease, border-color .24s ease, background-color .24s ease, box-shadow .24s ease;
  overflow: hidden;
}

.aw-cert-card--compact {
  min-height: 0;
  height: 100%;
}

.aw-cert-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(227,113,17,0.12), transparent 34%);
  opacity: 0;
  transition: opacity .24s ease;
  pointer-events: none;
}

.aw-cert-card:hover,
.aw-cert-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(227,113,17,0.28);
  background: linear-gradient(180deg, rgba(44,48,54,0.94) 0%, rgba(31,34,39,0.98) 100%);
  box-shadow: 0 16px 32px rgba(0,0,0,0.18);
  outline: none;
}

.aw-cert-card:hover::before,
.aw-cert-card:focus-visible::before {
  opacity: 1;
}

.aw-cert-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  padding: 8px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}

.aw-cert-card__media::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.aw-cert-card__media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 64px;
  object-fit: contain;
}

.aw-cert-card__file-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 64px;
  border-radius: 10px;
  background: #ffffff;
  color: #17181A;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
}

.aw-cert-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.aw-cert-card__title {
  margin: 0;
  color: #F2F3F5;
  font-family: var(--aw-font-headings, Montserrat, Arial, sans-serif);
  font-size: 17px;
  line-height: 1.28;
  font-weight: 700;
}

.aw-cert-card__text {
  display: none;
}

.aw-cert-card__zoom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  color: #F17912;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: .02em;
}

.aw-cert-card__zoom::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(241,121,18,0.28);
  background: rgba(241,121,18,0.10);
  box-shadow: inset 0 0 0 4px rgba(241,121,18,0.04);
}

.aw-cert-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(7,8,10,0.92);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .24s ease, visibility .24s ease;
}

.aw-cert-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.aw-cert-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: zoom-out;
}

.aw-cert-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(100%, 1080px);
  max-height: min(100%, calc(100vh - 64px));
}

.aw-cert-lightbox__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.aw-cert-lightbox__title {
  min-width: 0;
  margin: 0;
  color: #F2F3F5;
  font-family: var(--aw-font-headings, Montserrat, Arial, sans-serif);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
  font-weight: 700;
}

.aw-cert-lightbox__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color: #F2F3F5;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}

.aw-cert-lightbox__close:hover,
.aw-cert-lightbox__close:focus-visible {
  border-color: rgba(227,113,17,0.30);
  background: rgba(255,255,255,0.09);
  color: #ffffff;
  transform: translateY(-1px);
  outline: none;
}

.aw-cert-lightbox__frame {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-height: 0;
  padding: 18px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at 20% 0%, rgba(227,113,17,0.10), transparent 24%),
    linear-gradient(180deg, rgba(30,33,37,0.98) 0%, rgba(16,18,20,0.99) 100%);
  box-shadow: 0 24px 64px rgba(0,0,0,0.32);
  overflow: auto;
}

.aw-cert-lightbox__frame img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 196px);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(0,0,0,0.24);
}

body.aw-cert-lightbox-open {
  overflow: hidden;
}

@media (max-width: 1199.98px) {
  .aw-home-brand-trust {
    grid-template-columns: 1fr;
  }

  .aw-home-brand-trust__panel .aw-brand-panel {
    height: auto;
    min-height: 0;
  }

  .aw-brand-grid--manufacturers-slider {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aw-brand-grid--certificates {
    height: auto;
    grid-template-rows: none;
  }

  .aw-cert-card,
  .aw-cert-card--compact {
    height: auto;
  }
}

@media (max-width: 767.98px) {
  .aw-brand-panel {
    padding: 20px 18px 18px;
    border-radius: 24px;
  }

  .aw-brand-panel__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
  }

  .aw-brand-panel__title {
    font-size: 28px;
  }

  .aw-brand-panel__footer {
    margin-top: 16px;
  }

  .aw-brand-slider__button {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .aw-brand-grid--manufacturers,
  .aw-brand-grid--manufacturers-slider {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .aw-brand-card,
  .aw-brand-card--compact {
    min-height: 138px;
    padding: 16px;
    border-radius: 22px;
  }

  .aw-brand-card__media img {
    max-height: 64px;
  }

  .aw-cert-card {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    min-height: 96px;
    padding: 12px;
    border-radius: 20px;
  }

  .aw-cert-card__media {
    min-height: 72px;
    padding: 6px;
    border-radius: 16px;
  }

  .aw-cert-card__media::after {
    inset: 6px;
    border-radius: 10px;
  }

  .aw-cert-card__media img {
    height: 56px;
  }

  .aw-cert-card__content {
    gap: 6px;
  }

  .aw-cert-card__title {
    font-size: 15px;
  }

  .aw-cert-lightbox {
    padding: 20px 14px;
  }

  .aw-cert-lightbox__dialog {
    gap: 12px;
    max-height: calc(100vh - 40px);
  }

  .aw-cert-lightbox__toolbar {
    gap: 12px;
  }

  .aw-cert-lightbox__frame {
    padding: 12px;
    border-radius: 24px;
  }

  .aw-cert-lightbox__frame img {
    max-height: calc(100vh - 160px);
  }
}


/* Homepage: clients + side trust stack */
.aw-home-section--proof {
  width: 100%;
}

.aw-home-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: 24px;
  align-items: stretch;
}

.aw-home-proof__main,
.aw-home-proof__side {
  min-width: 0;
}

.aw-home-proof__side {
  display: grid;
  gap: 24px;
  grid-auto-rows: minmax(0, 1fr);
}

.aw-home-proof__main--clients {
  align-self: stretch;
}

.aw-home-proof__main--clients .aw-brand-panel__head {
  justify-content: flex-start;
}

.aw-home-proof__main--clients > .aw-brand-panel,
.aw-home-proof__main--clients .aw-brand-panel--clients {
  min-height: 760px;
  height: 760px;
}

.aw-brand-panel--clients .aw-brand-pages {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.aw-brand-panel--clients .aw-brand-page {
  flex: 1 1 auto;
  min-height: 0;
}

.aw-brand-panel--clients .aw-brand-page.is-active {
  display: block;
}

.aw-brand-grid--clients {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 16px;
  min-height: 586px;
  height: 586px;
}

.aw-brand-card--client {
  min-height: 184px;
  height: 184px;
  padding: 20px;
  border-radius: 26px;
  cursor: default;
  text-decoration: none !important;
}

.aw-brand-card--client,
.aw-brand-card--client:hover,
.aw-brand-card--client:focus-visible {
  transform: none;
  border-color: rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(39,43,48,0.92) 0%, rgba(28,31,36,0.98) 100%);
  box-shadow: none;
  outline: none;
}

.aw-brand-card--client .aw-brand-card__media {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.aw-brand-card--client .aw-brand-card__media img {
  width: 100%;
  max-width: 100%;
  max-height: 102px;
  height: auto;
  object-fit: contain;
}

.aw-brand-card--ghost {
  pointer-events: none;
  opacity: .16;
}

.aw-brand-card--ghost .aw-brand-card__media {
  border-radius: 18px;
  background: rgba(255,255,255,0.02);
}

@media (max-width: 1399.98px) {
  .aw-home-proof {
    grid-template-columns: minmax(0, 0.86fr) minmax(300px, 1.14fr);
  }

  .aw-home-proof__main--clients > .aw-brand-panel,
  .aw-home-proof__main--clients .aw-brand-panel--clients {
    min-height: 736px;
    height: 736px;
  }

  .aw-brand-grid--clients {
    min-height: 562px;
    height: 562px;
  }

  .aw-brand-card--client {
    min-height: 176px;
    height: 176px;
  }
}

@media (max-width: 1199.98px) {
  .aw-home-proof {
    grid-template-columns: 1fr;
  }

  .aw-home-proof__main--clients > .aw-brand-panel,
  .aw-home-proof__main--clients .aw-brand-panel--clients {
    min-height: auto;
    height: auto;
  }

  .aw-brand-grid--clients {
    min-height: auto;
    height: auto;
    grid-template-rows: none;
  }

  .aw-brand-card--client {
    min-height: 172px;
    height: 172px;
  }

  .aw-proof-industries__grid {
    min-height: auto;
    height: auto;
    grid-template-rows: none;
  }

  .aw-proof-industries__item,
  .aw-proof-industries__ghost {
    min-height: 96px;
    height: auto;
  }
}

@media (max-width: 767.98px) {
  .aw-brand-grid--clients {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 14px;
  }

  .aw-brand-card--client {
    min-height: 140px;
    height: 140px;
    padding: 16px;
  }

  .aw-brand-card--client .aw-brand-card__media img {
    max-height: 74px;
  }

  .aw-proof-industries__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .aw-proof-industries__item,
  .aw-proof-industries__ghost {
    min-height: 88px;
    padding: 14px 16px;
    border-radius: 20px;
  }

  .aw-proof-industries__title {
    font-size: 18px;
  }
}


/* Homepage: right stack module (industries + reviews) */
.aw-home-proof-wrap {
  width: 100%;
}

.aw-home-proof--clients-reviews {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 1.22fr);
  gap: 24px;
  align-items: stretch;
}

.aw-home-proof__side--stack > .aw-proof-stack {
  height: 100%;
}

.aw-proof-stack {
  display: grid;
  gap: 24px;
  grid-template-rows: minmax(0, 1.08fr) minmax(0, 0.92fr);
  min-height: 100%;
}

.aw-proof-side__panel {
  min-width: 0;
}

.aw-proof-industries {
  min-height: 0;
}

.aw-proof-industries .aw-brand-pages {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.aw-proof-industries .aw-brand-page {
  flex: 1 1 auto;
  min-height: 0;
}

.aw-proof-industries .aw-brand-page.is-active {
  display: block;
}

.aw-proof-industries__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-height: 224px;
  height: 224px;
}

.aw-proof-industries__item,
.aw-proof-industries__ghost {
  position: relative;
  min-height: 0;
  height: 100%;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(39,43,48,0.82) 0%, rgba(28,31,36,0.94) 100%);
}

.aw-proof-industries__ghost {
  pointer-events: none;
  opacity: .16;
}

.aw-proof-industries__index {
  display: block;
  margin-bottom: 10px;
  color: #979DA6;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .12em;
}

.aw-proof-industries__title {
  margin: 0;
  color: #F2F3F5;
  font-family: var(--aw-font-headings, Montserrat, Arial, sans-serif);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.aw-proof-reviews {
  min-height: 0;
}

.aw-proof-reviews .aw-brand-panel__head {
  margin-bottom: 14px;
}

.aw-proof-reviews .aw-brand-panel {
  padding-top: 22px;
  padding-bottom: 18px;
}

.aw-proof-review {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.aw-proof-review__name {
  margin: 0 0 8px;
  color: #F2F3F5;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
}

.aw-proof-review__stars {
  margin-bottom: 10px;
  color: #F17912;
  font-size: 16px;
  letter-spacing: .18em;
}

.aw-proof-review__text {
  margin: 0;
  color: #C8CCD2;
  font-size: 14px;
  line-height: 1.58;
}

.aw-proof-review__cta {
  margin-top: auto;
  padding-top: 12px;
  color: #979DA6;
  font-size: 13px;
  line-height: 1.5;
}

.aw-proof-review__cta a {
  color: #F17912;
  text-decoration: none;
}

.aw-proof-review__cta a:hover,
.aw-proof-review__cta a:focus-visible {
  color: #ffffff;
}

@media (max-width: 1399.98px) {
  .aw-home-proof--clients-reviews {
    grid-template-columns: minmax(0, 0.84fr) minmax(320px, 1.16fr);
  }

  .aw-proof-industries__title {
    font-size: 18px;
  }
}

@media (max-width: 1199.98px) {
  .aw-home-proof--clients-reviews {
    grid-template-columns: 1fr;
  }

  .aw-proof-stack {
    grid-template-rows: auto auto;
  }
}

@media (max-width: 767.98px) {
  .aw-proof-industries__grid {
    grid-template-columns: 1fr;
  }

  .aw-proof-industries__item {
    min-height: 84px;
    padding: 14px 16px;
  }

  .aw-proof-industries__title {
    font-size: 18px;
  }

  .aw-proof-review__name {
    font-size: 17px;
  }

  .aw-proof-review__text {
    font-size: 13px;
    line-height: 1.55;
  }
}
