/* Refined proof layout: shared dark surface + active case-study panel */
.aqa-proof-section{
  overflow: hidden;
  margin-top: -1px;
  padding: calc(clamp(88px, 7.4vw, 118px) + 1px) 0 clamp(92px, 7.6vw, 124px);
  background: var(--tp-common-black);
  isolation: isolate;
}
.aqa-proof-section .tp-section-it-subtitle,
.aqa-proof-title{
  color: #ffffff !important;
}
.aqa-proof-title .tp-text-common-black-4{
  color: #B4E717 !important;
}
.aqa-proof-intro{
  color: rgba(255, 255, 255, 0.68) !important;
}
.aqa-proof-section .container-fluid{
  position: relative;
  z-index: 1;
}
.aqa-proof-header{
  margin-bottom: clamp(38px, 5vw, 58px);
}
.aqa-proof-title{
  max-width: 800px;
  font-size: clamp(42px, 4.6vw, 64px);
  line-height: 1.06;
}
.aqa-proof-intro{
  max-width: 570px;
  font-size: 18px;
  line-height: 1.55;
}
.aqa-proof-grid{
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(300px, 0.92fr);
  gap: clamp(16px, 1.8vw, 24px);
  align-items: start;
}
.aqa-proof-active-panels{
  position: relative;
  display: grid;
  min-height: clamp(455px, 34vw, 530px);
}
.aqa-proof-panel,
.aqa-proof-card{
  --proof-card-bg: rgba(249, 250, 245, 0.92);
  --proof-card-border: rgba(255, 255, 255, 0.42);
  --proof-card-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  --proof-title-color: #10302a;
  --proof-muted-color: rgba(16, 48, 42, 0.58);
  --proof-description-color: rgba(16, 48, 42, 0.68);
  --proof-label-color: #10302a;
  --proof-label-bg: rgba(255, 255, 255, 0.58);
  --proof-label-border: rgba(16, 48, 42, 0.075);
  --proof-pill-color: rgba(16, 48, 42, 0.72);
  --proof-pill-bg: rgba(255, 255, 255, 0.62);
  --proof-pill-border: rgba(16, 48, 42, 0.075);
  --proof-cta-bg: #10302a;
  --proof-cta-border: #10302a;
  --proof-cta-color: #ffffff;
  position: relative;
  border: 1px solid var(--proof-card-border);
  overflow: hidden;
  color: var(--proof-title-color);
  background: var(--proof-card-bg);
  box-shadow: var(--proof-card-shadow);
  outline: 0;
  backdrop-filter: blur(10px);
}
.aqa-proof-panel::before,
.aqa-proof-panel::after,
.aqa-proof-card::before,
.aqa-proof-card::after{
  content: "";
  position: absolute;
  pointer-events: none;
}
.aqa-proof-panel > *,
.aqa-proof-card > *{
  position: relative;
  z-index: 1;
}
.aqa-proof-panel{
  grid-area: 1 / 1;
  display: none;
  min-height: 100%;
  padding: clamp(26px, 2.7vw, 42px);
  border-radius: 26px;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 250, 245, 0.965) 100%);
  border-color: rgba(255, 255, 255, 0.64);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.86);
}
.aqa-proof-panel.is-active{
  display: flex;
  animation: aqa-proof-panel-in 0.28s ease both;
}
.aqa-proof-panel::before{
  inset: 0;
  opacity: 1;
  background:
    radial-gradient(circle at 88% 9%, rgba(180, 231, 23, 0.115), transparent 32%),
    radial-gradient(circle at 8% 92%, rgba(16, 48, 42, 0.038), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
}
.aqa-proof-panel::after{
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  opacity: 0.58;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
}
.aqa-proof-stack{
  display: grid;
  gap: 8px;
  min-height: 0;
}
.aqa-proof-card{
  display: flex;
  min-height: 0;
  padding: clamp(13px, 1.15vw, 17px);
  border-radius: 16px;
  align-items: flex-start;
  flex-direction: column;
  gap: 0;
  justify-content: flex-start;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}
.aqa-proof-card::before{
  inset: 0;
  opacity: 0.48;
  transition: opacity 0.22s ease, background 0.22s ease;
  background:
    radial-gradient(circle at 90% 12%, rgba(180, 231, 23, 0.055), transparent 31%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0));
}
.aqa-proof-card::after{
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  opacity: 0;
  transition: opacity 0.22s ease;
  background: linear-gradient(90deg, transparent, rgba(180, 231, 23, 0.56), transparent);
}
.aqa-proof-card:hover,
.aqa-proof-card:focus,
.aqa-proof-card:focus-within,
.aqa-proof-card.is-active{
  --proof-card-bg: rgba(255, 255, 255, 0.96);
  --proof-card-border: rgba(255, 255, 255, 0.62);
  --proof-card-shadow: 0 13px 34px rgba(0, 0, 0, 0.15);
}
.aqa-proof-card.is-active{
  --proof-muted-color: rgba(16, 48, 42, 0.7);
}
.aqa-proof-card.is-active::before{
  opacity: 0.82;
}
.aqa-proof-card:hover::after,
.aqa-proof-card:focus::after,
.aqa-proof-card:focus-within::after,
.aqa-proof-card.is-active::after{
  opacity: 0.36;
}
.aqa-proof-card:focus-visible{
  box-shadow: 0 0 0 3px rgba(180, 231, 23, 0.24), var(--proof-card-shadow);
}
.aqa-proof-card-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: clamp(16px, 1.8vw, 26px);
}
.aqa-proof-card-label,
.aqa-proof-card-category{
  display: inline-flex;
  align-items: center;
  font-family: var(--tp-ff-inter);
  font-weight: 700;
  font-size: 10.5px;
  line-height: 1;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.aqa-proof-card-label{
  color: var(--proof-label-color);
  background: var(--proof-label-bg);
  border: 1px solid var(--proof-label-border);
  border-radius: 999px;
  padding: 6px 10px;
  white-space: nowrap;
  gap: 7px;
}
.aqa-proof-card-label::before{
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b4e717;
  box-shadow: 0 0 0 3px rgba(180, 231, 23, 0.12);
  flex: 0 0 auto;
}
.aqa-proof-card-dot{
  display: inline-block;
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(16, 48, 42, 0.28);
  box-shadow: 0 0 0 3px rgba(16, 48, 42, 0.055);
  flex: 0 0 auto;
  transition: background 0.22s ease, box-shadow 0.22s ease;
}
.aqa-proof-card.is-active .aqa-proof-card-dot{
  background: #b4e717;
  box-shadow: 0 0 0 3px rgba(180, 231, 23, 0.18);
}
.aqa-proof-card-category{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--proof-muted-color);
  white-space: normal;
  justify-content: flex-start;
  text-align: left;
}
.aqa-proof-card-body{
  min-width: 0;
  margin-top: 0;
}
.aqa-proof-card-title{
  margin: 6px 0 0;
  color: var(--proof-title-color);
  font-size: clamp(15px, 1.08vw, 18px);
  line-height: 1.22;
  transition: color 0.22s ease;
}
.aqa-proof-panel .aqa-proof-card-title{
  max-width: 740px;
  margin-bottom: 18px;
  font-size: clamp(33px, 3.55vw, 52px);
  line-height: 1.05;
}
.aqa-proof-panel .aqa-proof-card-body{
  margin-top: auto;
}
.aqa-proof-panel .aqa-proof-card-category{
  justify-content: flex-end;
  text-align: right;
}
.aqa-proof-card-outcome{
  color: var(--proof-muted-color);
  font-size: 14px;
  line-height: 1.42;
  transition: color 0.22s ease;
}
.aqa-proof-panel .aqa-proof-card-outcome{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 590px;
  color: rgba(16, 48, 42, 0.66);
  font-size: 13px;
  font-weight: 600;
}
.aqa-proof-panel .aqa-proof-card-outcome::before{
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(16, 48, 42, 0.36);
  box-shadow: 0 0 0 3px rgba(16, 48, 42, 0.045);
  flex: 0 0 auto;
}
.aqa-proof-card-detail{
  max-width: 690px;
  margin-top: clamp(20px, 2.2vw, 28px);
}
.aqa-proof-card-description{
  max-width: 620px;
  color: var(--proof-description-color);
  font-size: 16px;
  line-height: 1.62;
}
.aqa-proof-card-pills{
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}
.aqa-proof-card-pills span{
  display: inline-flex;
  align-items: center;
  color: var(--proof-pill-color);
  border: 1px solid var(--proof-pill-border);
  border-radius: 999px;
  background: var(--proof-pill-bg);
  padding: 7px 11px;
  font-family: var(--tp-ff-inter);
  font-weight: 600;
  font-size: 11.5px;
  line-height: 1;
  letter-spacing: -0.02em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}
.aqa-proof-card-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--proof-cta-color);
  border: 1px solid var(--proof-cta-border);
  border-radius: 999px;
  background: var(--proof-cta-bg);
  padding: 12px 17px;
  font-size: 12.5px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.aqa-proof-card-cta:hover,
.aqa-proof-card-cta:focus-visible{
  color: #10302a;
  border-color: rgba(16, 48, 42, 0.35);
  background: rgba(255, 255, 255, 0.82);
}
@keyframes aqa-proof-panel-in{
  from{
    opacity: 0;
    transform: translateY(8px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1199px){
  .aqa-proof-grid{
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.95fr);
  }
  .aqa-proof-active-panels,
  .aqa-proof-stack{
    min-height: 0;
  }
  .aqa-proof-active-panels{
    min-height: 500px;
  }
  .aqa-proof-panel .aqa-proof-card-title{
    font-size: clamp(31px, 3.4vw, 44px);
  }
}
@media (max-width: 991px){
  .aqa-proof-section{
    padding: 88px 0 96px;
  }
  .aqa-proof-grid{
    grid-template-columns: 1fr;
  }
  .aqa-proof-active-panels{
    min-height: 0;
  }
  .aqa-proof-panel{
    min-height: 520px;
  }
  .aqa-proof-stack{
    min-height: 0;
  }
}
@media (max-width: 767px){
  .aqa-proof-header{
    margin-bottom: 34px;
  }
  .aqa-proof-title{
    font-size: clamp(36px, 11vw, 50px);
  }
  .aqa-proof-intro{
    margin-top: 18px;
    font-size: 16px;
  }
  .aqa-proof-panel{
    min-height: 0;
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  }
  .aqa-proof-panel,
  .aqa-proof-card{
    backdrop-filter: none;
  }
  .aqa-proof-panel .aqa-proof-card-title{
    font-size: clamp(29px, 8vw, 38px);
  }
  .aqa-proof-card{
    padding: 16px;
  }
  .aqa-proof-card-top{
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
  .aqa-proof-card-category{
    justify-content: flex-start;
    text-align: left;
  }
  .aqa-proof-card-cta{
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce){
  .aqa-proof-panel.is-active{
    animation: none;
  }
  .aqa-proof-card,
  .aqa-proof-card::before,
  .aqa-proof-card::after,
  .aqa-proof-card-cta{
    transition: none;
  }
}
