/* WhatsApp Quote Module
   Standalone, reusable and responsive promotional banner. */

.wa-quote {
  margin-top: 28px;
  margin-bottom: 8px;
}

.wa-quote__surface {
  position: relative;
  min-height: 270px;
  display: grid;
  grid-template-columns: minmax(340px, .82fr) 1.18fr;
  overflow: hidden;
  border-radius: var(--radius);
  background: #171b19;
  color: #fff;
  box-shadow: 0 22px 50px -32px rgba(13, 18, 15, .7);
  isolation: isolate;
}

.wa-quote__surface::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: inherit;
}

.wa-quote__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 34px 42px;
  background:
    radial-gradient(circle at 15% 10%, rgba(79,99,86,.34), transparent 46%),
    #171b19;
}

.wa-quote__copy::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -72px;
  width: 145px;
  z-index: -1;
  background: linear-gradient(90deg, #171b19 20%, rgba(23,27,25,0));
}

.wa-quote__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
  color: #bfcac2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.wa-quote__eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: #7f9486;
}

.wa-quote h2 {
  max-width: 390px;
  color: #fff;
  font-size: clamp(27px, 3vw, 37px);
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 650;
}

.wa-quote__description {
  max-width: 370px;
  margin-top: 13px;
  color: rgba(255,255,255,.67);
  font-size: 12.5px;
  line-height: 1.55;
}

.wa-quote__action {
  min-height: 42px;
  margin-top: 21px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.wa-quote__action svg {
  width: 17px;
  height: 17px;
  fill: #57d77b;
}

.wa-quote__surface:hover .wa-quote__action {
  background: rgba(37,211,102,.14);
  border-color: rgba(87,215,123,.55);
  transform: translateY(-2px);
}

.wa-quote__gallery {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  min-width: 0;
}

.wa-quote__visual {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-left: 1px solid rgba(255,255,255,.14);
}

.wa-quote__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.72) saturate(.82);
  transition: transform .8s cubic-bezier(.22,1,.36,1), filter .4s ease;
}

.wa-quote__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,15,13,.05), rgba(12,15,13,.32)),
    linear-gradient(90deg, rgba(12,15,13,.18), transparent 55%);
}

.wa-quote__surface:hover .wa-quote__visual img {
  transform: scale(1.035);
  filter: brightness(.82) saturate(.9);
}

.wa-quote__domain {
  position: absolute;
  right: 18px;
  bottom: 14px;
  z-index: 4;
  color: rgba(255,255,255,.58);
  font-size: 9px;
  letter-spacing: .07em;
}

@media (max-width: 900px) {
  .wa-quote__surface {
    min-height: 250px;
    grid-template-columns: minmax(310px, .9fr) 1.1fr;
  }

  .wa-quote__copy {
    padding: 30px 32px;
  }

  .wa-quote__description {
    max-width: 310px;
  }
}

@media (max-width: 640px) {
  .wa-quote {
    margin-top: 20px;
    margin-bottom: 4px;
  }

  .wa-quote__surface {
    grid-template-columns: 1fr;
  }

  .wa-quote__copy {
    min-height: 276px;
    padding: 31px 26px;
  }

  .wa-quote__copy::after {
    top: auto;
    left: 0;
    right: 0;
    bottom: -50px;
    width: auto;
    height: 100px;
    background: linear-gradient(180deg, #171b19 18%, rgba(23,27,25,0));
  }

  .wa-quote h2 {
    max-width: 330px;
    font-size: 31px;
  }

  .wa-quote__gallery {
    height: 168px;
  }

  .wa-quote__visual:first-child {
    border-left: 0;
  }

  .wa-quote__domain {
    right: 12px;
    bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-quote__action,
  .wa-quote__visual img {
    transition: none;
  }
}
