/*
  Proof / conversion override
  Load this file after styles.css. The primary meeting CTA can receive its
  Calendly URL directly on .contact-choice.meeting when it is available.
*/

/* Client proof: retain the moving rail but make every mark legible at a glance. */
.clients .logo-river {
  margin-top: clamp(54px, 6vw, 94px);
}

.clients .logo-track {
  gap: clamp(82px, 10vw, 180px);
}

.clients .logo-track img {
  height: clamp(46px, 4.25vw, 68px);
  max-width: clamp(155px, 13vw, 230px);
  opacity: .8;
}

.clients .logo-track img:hover {
  transform: scale(1.04);
}

/* AICEL: replace the abstract numbered motif with an accreditation-led layout. */
.trust {
  min-height: min(760px, 100svh);
  grid-template-columns: minmax(0, 1.2fr) minmax(190px, .38fr);
  gap: clamp(32px, 6vw, 110px);
  padding-block: clamp(92px, 11vw, 180px);
  background:
    linear-gradient(105deg, #f7f5ef 0%, #f1efe9 67%, #e6ecef 100%);
}

.trust-symbol {
  display: none;
}

.trust-copy {
  max-width: 780px;
}

.trust-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid rgba(21, 23, 27, .32);
  border-radius: 999px;
  background: rgba(255, 255, 255, .52);
  color: #1b202a;
}

.trust-copy .eyebrow::before {
  content: '';
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(238, 120, 35, .14);
}

.trust h2 {
  max-width: 800px;
  margin: 28px 0 25px;
  font-size: clamp(50px, 5.7vw, 94px);
  line-height: .9;
}

.trust-copy > p:not(.eyebrow) {
  max-width: 700px;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.72;
  color: rgba(21, 23, 27, .8);
}

.trust-points {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 760px;
  margin: 36px 0;
}

.trust-points span {
  min-height: 58px;
  padding: 12px 0 0;
  font-size: 9px;
  line-height: 1.45;
}

.trust > img {
  width: min(100%, 220px);
  max-width: 220px;
  justify-self: end;
  filter: drop-shadow(0 18px 25px rgba(21, 23, 27, .12));
}

/* Certification assets have different proportions: give them a stable logo stage. */
.cert-grid {
  gap: 18px;
}

.cert-grid article {
  min-height: 450px;
  display: grid;
  grid-template-rows: auto 132px auto 1fr;
  padding: clamp(26px, 2.5vw, 42px);
  border: 1px solid rgba(255, 255, 255, .11);
  background: linear-gradient(145deg, #252a32, #1c2027);
}

.cert-grid article:hover {
  background: linear-gradient(145deg, #303640, #20252d);
}

.cert-grid img {
  width: 100%;
  max-width: 210px;
  height: 92px;
  max-height: 92px;
  margin: auto 0;
  object-fit: contain;
  object-position: left center;
  filter: grayscale(1) brightness(2.35) contrast(.9);
}

.cert-grid h3 {
  align-self: end;
  font-size: clamp(31px, 2.55vw, 45px);
  line-height: .95;
}

.cert-grid p {
  align-self: end;
  max-width: 34ch;
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .76);
}

/* Final conversion: a conversation is the primary action; email is supporting only. */
.contact {
  min-height: auto;
  padding-block: clamp(94px, 12vw, 180px);
}

.contact h2 {
  max-width: 1120px;
  margin-bottom: clamp(38px, 5vw, 68px);
}

.contact-choices {
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .75fr);
  max-width: 980px;
  gap: 18px;
}

.contact-choice {
  min-height: 250px;
  padding: clamp(27px, 3vw, 43px);
}

.contact-choice.meeting {
  order: -1;
  color: #17181b;
  border-color: var(--orange);
  background: linear-gradient(135deg, #ffb568, var(--orange) 58%, #e26331);
  box-shadow: 0 22px 56px rgba(238, 120, 35, .22);
}

.contact-choice.meeting:hover,
.contact-choice.meeting:focus-visible {
  background: linear-gradient(135deg, #ffc47f, #ee7823 60%, #d95734);
}

.contact-choice.meeting small,
.contact-choice.meeting span {
  color: rgba(23, 24, 27, .76);
}

.contact-choice.meeting strong {
  margin-top: auto;
  font-size: clamp(30px, 3.15vw, 48px);
  line-height: .92;
}

.contact-choice.whatsapp strong {
  margin-top: auto;
}

.contact-email {
  margin-top: 18px;
  color: rgba(255, 255, 255, .48);
  font-size: 8px;
}

.contact-email a {
  min-height: 32px;
  padding-bottom: 1px;
  border-bottom-color: rgba(255, 255, 255, .26);
}

@media (max-width: 1120px) {
  .trust {
    grid-template-columns: minmax(0, 1fr) minmax(160px, .34fr);
  }

  .trust-points {
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: 600px;
  }

  .trust-points span {
    min-height: 0;
  }

  .cert-grid article {
    min-height: 300px;
    grid-template-columns: 54px minmax(150px, .6fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 28px;
    align-items: center;
  }

  .cert-grid article > span { grid-column: 1; grid-row: 1; }
  .cert-grid img { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
  .cert-grid h3 { grid-column: 3; grid-row: 1; }
  .cert-grid p { grid-column: 3; grid-row: 2; }
}

@media (max-width: 900px) {
  .clients .logo-track { gap: 74px; }
  .clients .logo-track img { height: 44px; max-width: 180px; }

  .trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 88px;
  }

  .trust h2 { font-size: clamp(49px, 12vw, 69px); }
  .trust-copy > p:not(.eyebrow) { font-size: 16px; }
  .trust > img { justify-self: start; margin: 0; }

  .cert-grid article {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 104px auto auto;
    gap: 0;
  }

  .cert-grid article > span,
  .cert-grid img,
  .cert-grid h3,
  .cert-grid p { grid-column: 1; grid-row: auto; }
  .cert-grid img { margin: auto 0; }

  .contact-choices { grid-template-columns: 1fr; }
  .contact-choice.meeting { order: -1; min-height: 242px; }
  .contact-choice.meeting strong { font-size: clamp(33px, 9vw, 46px); }
}

@media (prefers-reduced-motion: reduce) {
  .clients .logo-track img { transform: none !important; }
}
