/* Shared page sections: logo wall, CTA band, case showcase, testimonials,
   industries rail, FAQ and the closing split CTA. */

.head-center--tight { margin-bottom: 44px; }
.grid-auto--280 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ---------- logo wall ---------- */

.logo-wall-section { padding-bottom: 104px; }

.logo-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.logo-wall__cell { display: flex; align-items: center; justify-content: center; height: 128px; padding: 14px; border: .5px solid var(--line); }

.logo-wall__cell img {
  width: auto;
  max-width: 72%;
  max-height: 42px;
  object-fit: contain;
  opacity: .9;
  transition: opacity .3s, transform .3s;
}
.logo-wall__cell img:hover { opacity: 1; transform: scale(1.06); }

/* ---------- CTA band + inline email form ---------- */

.cta-band { position: relative; overflow: hidden; padding: 96px var(--gutter) 112px; background: var(--paper); text-align: center; }
.cta-band__dots { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .05; pointer-events: none; }
.cta-band__inner { position: relative; max-width: 820px; margin: 0 auto; }
.cta-band__icon { margin: 0 auto 26px; }
.cta-band__title { text-wrap: balance; }

.inline-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 56px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid var(--ink);
}
.inline-form__input { flex: 1; min-width: 200px; padding: 4px 0; border: 0; outline: none; background: transparent; font-size: 17px; }
.inline-form .form-status { flex-basis: 100%; margin: 0; text-align: left; }

/* Phones: the underline sits under the email field, the button goes full width below. */
@media (max-width: 720px) {
  .inline-form { flex-direction: column; align-items: stretch; gap: 16px; padding-bottom: 0; border-bottom: 0; }
  .inline-form__input { min-width: 0; padding: 10px 0 14px; border-bottom: 1.5px solid var(--ink); }
  .inline-form .btn { width: 100%; }
}


/* ---------- case showcase ---------- */

.showcase { background: radial-gradient(950px 520px at 88% 104%, rgb(76 134 240 / 8%), transparent 56%), var(--sand-2); }
.showcase .lead { margin: 16px auto 0; max-width: 520px; font-size: 16px; }
.showcase__stage { display: flex; gap: 10px; height: 620px; overflow-x: auto; }

.showcase__panel {
  display: flex;
  flex: 0 0 clamp(330px, 30%, 410px);
  min-width: 0;
  padding: 32px 28px;
  border: 1px solid #e7e4dc;
  border-radius: 18px;
  background: var(--white);
}
.showcase__detail { display: flex; flex-direction: column; width: 100%; }
.showcase__detail[hidden] { display: none; }
.showcase__detail .eyebrow { margin-bottom: 10px; }
.showcase__title { margin-bottom: 24px; font-weight: 700; font-size: 26px; line-height: 1.08; letter-spacing: -.8px; color: #1b1b1d; }
.showcase__facets { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-bottom: 18px; }
.showcase__label { margin-bottom: 8px; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: #9a968c; }
.showcase__label--gap { margin-top: 22px; }
.showcase__result { font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.showcase__stats { display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 26px 0 0; }
.showcase__stats dt { margin-bottom: 6px; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: #9a968c; }
.showcase__stats dd { margin: 0; font-weight: 600; font-size: 18px; letter-spacing: -.3px; color: #1b1b1d; }

.showcase__cta { margin-top: auto; }

.slat {
  position: relative;
  flex: 0 1 62px;
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
  color: var(--night-ink);
  transition: flex-grow .55s cubic-bezier(.4, 0, .2, 1), flex-basis .55s cubic-bezier(.4, 0, .2, 1), min-width .55s cubic-bezier(.4, 0, .2, 1);
}
.slat.is-active { flex: 1 1 0%; min-width: 120px; }
.slat--edge { background: #0b0d10; }
.slat--panda { background: #0f4a2c; }
.slat--mashreq { background: #15110f; }
.slat--bfl { background: #ffd200; color: #111; }
.slat--omantel { background: #071a33; }

.slat__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
  transform: scale(1.08);
  transition: opacity .5s ease, transform .8s var(--ease);
}

/* Each image is placed so the active (near-square) slat frames the work itself. */
.slat--edge .slat__img { object-position: left center; }
.slat--panda .slat__img { object-position: 30% center; }
.slat--omantel .slat__img { object-position: 18% center; }
.slat.is-active .slat__img { opacity: 1; transform: none; }
.slat__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgb(0 0 0 / 55%)); opacity: .6; transition: opacity .5s ease; }
.slat.is-active .slat__shade { opacity: 1; }

.slat__name {
  position: absolute;
  left: 16px;
  bottom: 22px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .5px;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.slat.is-active .slat__name { left: 24px; font-size: 22px; letter-spacing: -.4px; color: var(--white); writing-mode: horizontal-tb; transform: none; }

.slat__go {
  position: absolute;
  right: 24px;
  bottom: 22px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 18px;
}
.slat.is-active .slat__go { display: flex; }

/* ---------- testimonials ---------- */

.quotes { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 20px; }
.quote--wide,
.video-quote--wide { grid-column: span 2; }

.quote {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 30px 32px;
  border: 1px solid var(--night-line);
  border-radius: 20px;
  background: var(--night-card);
}
.stars { display: flex; gap: 3px; margin-bottom: 16px; }
.quote blockquote { flex: 1; margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: #d6d9e2; }
.quote--wide blockquote { font-size: 16px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote figcaption > span:last-child { display: flex; flex-direction: column; }
.quote__name { font-weight: 600; font-size: 14px; color: var(--white); }
.quote__role { font-size: 12.5px; color: var(--night-muted); }
.avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; }
.avatar--blue { background: linear-gradient(135deg, var(--blue), #8b6fd4); }
.avatar--teal { background: linear-gradient(135deg, #2fb08c, #3b9fe8); }
.avatar--orange { background: linear-gradient(135deg, #e88a4a, #e06a9a); }
.avatar--green { background: linear-gradient(135deg, #2fb08c, #8b6fd4); }

.video-quote { position: relative; min-height: 300px; overflow: hidden; border-radius: 20px; }
.video-quote__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-quote::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 40%, rgb(10 14 22 / 78%)); }
.video-quote--blue { background: linear-gradient(150deg, #2e4a7b, var(--blue)); }
.video-quote--violet { background: linear-gradient(150deg, #5b4b8a, #8b6fd4); }
/* The client-results card holds a square image: keep it square on tablets and phones so nothing is cropped. */
@media (max-width: 900px) { .video-quote--violet { min-height: 0; aspect-ratio: 1 / 1; } }
.video-quote__tag { z-index: 2; position: absolute; top: 22px; left: 24px; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: rgb(255 255 255 / 80%); }

.video-quote__play {
  z-index: 2;
  border: 0;
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  padding-left: 4px;
  border-radius: 50%;
  background: rgb(255 255 255 / 92%);
  transform: translate(-50%, -50%);
}
.video-quote.is-playing .video-quote__play { opacity: 0; }
.video-quote.is-playing:hover .video-quote__play { opacity: 1; }
.video-quote__who { z-index: 2; position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; flex-direction: column; }
.video-quote__who .quote__name { font-weight: 700; font-size: 18px; }
.video-quote__who .quote__role { color: rgb(255 255 255 / 72%); }

.review-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 66px; margin-top: 56px; padding-top: 44px; border-top: 1px solid #263148; }
.review-logos img { height: 62px; object-fit: contain; opacity: .85; transition: opacity .3s; }
.review-logos img:hover { opacity: 1; }
.review-logos .review-logos__lg { height: 82px; }

@media (max-width: 1100px) {
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .showcase__stage { flex-direction: column; height: auto; }
  .showcase__panel { flex-basis: auto; }
  .showcase__cta { margin-top: 28px; }
  .slat,
  .slat.is-active { flex: none; height: 72px; }
  .slat.is-active { height: 260px; }
  .slat__name { writing-mode: horizontal-tb; transform: none; left: 24px; }
}

@media (max-width: 720px) {
  .logo-wall-section { padding-bottom: 72px; }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
  .logo-wall__cell { height: 76px; padding: 8px; }
  .logo-wall__cell img { max-width: 88%; max-height: 26px; }
  .cta-band { padding: 64px var(--gutter) 72px; }
  .showcase__label,
  .showcase__stats dt { font-size: 11px; }
  .tag { font-size: 11px; }
  .quotes { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .quote--wide,
  .video-quote--wide { grid-column: auto; }
  /* Phones: an even two-column grid, the fifth logo centred on its own row. Heights keep the
     desktop balance (Upwork, Trustpilot and Clutch carry more padding in their files). */
  .review-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; justify-items: center; gap: 28px 16px; }
  .review-logos img { max-width: 100%; height: 39px; }
  .review-logos img[src$="/r01.svg"],
  .review-logos img[src$="/r02.svg"],
  .review-logos img[src$="/r03.svg"] { height: 51px; transform: none !important; }
  .review-logos img:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- growth banner (links out to Social Mafia) ---------- */

.growth-banner-wrap { padding: 72px var(--gutter); background: var(--paper); }
.growth-banner-wrap + .cta-split-wrap { padding-top: 0; }

.growth-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 44px 48px;
  border-radius: 24px;
  background: radial-gradient(700px 360px at 90% 0%, rgb(245 200 66 / 22%), transparent 60%), var(--night);
  color: var(--night-ink);
  transition: transform .35s var(--ease), box-shadow .35s ease;
}
.growth-banner:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgb(20 20 22 / 60%); }
.growth-banner__copy { max-width: 720px; }
.growth-banner__title { font-weight: 600; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.12; letter-spacing: -1px; }
.growth-banner__text { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--night-body); }
.growth-banner:hover .growth-banner__cta { background: var(--white); }

@media (max-width: 720px) {
  .growth-banner { padding: 32px 24px; }
}
