/* Client case studies on the industry pages (partials/industry/*).
   Colors, type and shadows follow style.css and travel-pages.css. */

.cs { --cs-line: rgba(69, 77, 161, 0.14); --cs-ink: #1a1a2e; --cs-text: #3d3d58; }
.cs h3 { font-family: "Playfair Display", serif; font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; line-height: 1.25; color: var(--cs-ink); margin: 0; }
.cs p { line-height: 1.6; color: var(--cs-text); }

/* introduction */
.cs-intro { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 44px; align-items: center; margin-top: 36px; }
.cs-intro__logo { display: flex; align-items: center; justify-content: center; min-height: 170px; padding: 20px; background: #fff; border: 1px solid var(--cs-line); border-radius: 18px; box-shadow: 0 8px 30px rgba(69, 77, 161, 0.09); }
.cs-intro__logo img { display: block; width: auto; max-width: 100%; height: auto; max-height: 150px; }
.cs-intro__lead { margin: 0; font-size: 19px; max-width: 680px; }
.cs-facts { display: flex; flex-wrap: wrap; gap: 14px 44px; margin: 22px 0 0; }
.cs-facts dt { font-size: 13px; color: #6b6b88; }
.cs-facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; color: var(--cs-ink); }

/* requirements, delivery, outcome */
.cs-story { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 0; margin-top: 42px; border-top: 1px solid var(--cs-line); border-bottom: 1px solid var(--cs-line); }
.cs-story > div { padding: 28px 30px; }
.cs-story > div:first-child { padding-left: 0; }
.cs-story > div:last-child { padding-right: 0; }
.cs-story > div + div { border-left: 1px solid var(--cs-line); }
.cs .cs-story h3 { font-size: 20px; margin-bottom: 10px; }
.cs-story p { margin: 0; font-size: 15px; }
.cs-story ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.cs-story li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; color: var(--cs-text); }
.cs-story li::before { content: "\2713"; position: absolute; left: 0; color: #16a34a; font-weight: 700; }

/* website */
.cs-web { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: 48px; align-items: center; margin-top: 48px; padding: 44px; border-radius: 20px; background: #f2f2fb; }
.cs-web__copy p { margin: 12px 0 24px; font-size: 16px; }
.cs-web__more { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cs-web__stage { position: relative; padding: 0 0 34px 0; }
.cs-browser { margin-right: 48px; overflow: hidden; border-radius: 12px; border: 1px solid var(--cs-line); background: #fff; box-shadow: 0 20px 56px rgba(69, 77, 161, 0.18); }
.cs-browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--cs-line); }
.cs-browser__bar i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #d6d8ee; }
.cs-browser__bar b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-left: 10px; font-size: 12px; font-weight: 500; color: #6b6b88; }
.cs-phone { position: absolute; right: 0; bottom: 0; width: 24%; overflow: hidden; border: 5px solid #1a1a2e; border-radius: 20px; background: #1a1a2e; box-shadow: 0 16px 40px rgba(26, 26, 46, 0.28); }
.cs-phone img { border-radius: 14px; }
.cs-browser .cs-shot img, .cs-phone .cs-shot img { border: 0; border-radius: 0; box-shadow: none; }
.cs-phone .cs-shot img { border-radius: 14px; }

/* images */
.cs-shot { display: block; overflow: hidden; color: #55556f; font-size: 14px; line-height: 1.4; text-decoration: none; }
.cs-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--cs-line); border-radius: 12px; background: #fff; transition: transform 0.35s ease, box-shadow 0.35s ease; }
.cs-shot span { display: block; margin-top: 8px; }
.cs-shot:hover { color: #2f3680; }
.cs-shot:focus-visible { outline: 3px solid #21bfcf; outline-offset: 3px; border-radius: 12px; }
@media (hover: hover) { .cs-block .cs-shot:hover img, .cs-web__more .cs-shot:hover img { transform: scale(1.02); box-shadow: 0 12px 30px rgba(69, 77, 161, 0.16); } }
.cs-block .cs-shot, .cs-web__more .cs-shot { overflow: visible; }
.tv-proof .cs-shot img { border: 0; border-radius: 4px; }

/* results */
.cs-results { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; margin-top: 48px; padding: 40px 44px; border-radius: 20px; background: linear-gradient(120deg, #454da1, #2f3680); color: #fff; }
.cs-results--wide { grid-template-columns: 1fr; }
.cs .cs-results h3 { color: #fff; }
.cs-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; margin: 26px 0 0; }
.cs-metrics div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; }
.cs-metrics div:first-child { grid-column: 1 / -1; }
.cs-metrics dt { font-size: 14px; color: #dfe3ff; }
.cs-metrics dd { margin: 0; font-family: "Playfair Display", serif; font-size: clamp(25px, 2.5vw, 34px); font-weight: 600; line-height: 1.1; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.cs-metrics div:first-child dd { font-size: clamp(48px, 5.6vw, 76px); line-height: 1; }
.cs-results__ads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cs-results__ads:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 220px)); justify-content: center; }
.cs-results__ads .cs-shot, .cs-results__ads .cs-shot:hover { color: #dfe3ff; }
.cs-results__ads .cs-shot img { border-color: rgba(255, 255, 255, 0.25); }
.cs-bars h4 { margin: 0 0 18px; font-size: 16px; font-weight: 600; color: #fff; }
.cs-bars ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.cs-bars li { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; font-size: 15px; }
.cs-bars__val { font-weight: 600; font-variant-numeric: tabular-nums; }
.cs-bars__track { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.cs-bars__track i { display: block; height: 100%; border-radius: 4px; background: #21bfcf; transform-origin: left; }
.cs-bars small { grid-column: 1 / -1; font-size: 13px; color: #cfd5ff; }

/* galleries */
.cs-block { margin-top: 56px; }
.cs-block__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 32px; align-items: end; }
.cs-block__head p { margin: 0; font-size: 16px; }
.cs-ads { display: grid; grid-template-columns: repeat(4, minmax(0, 250px)); justify-content: space-between; gap: 20px; margin-top: 24px; align-items: start; }
.cs-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 22px; margin-top: 26px; }
.cs-posts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cs-photos { columns: 3; column-gap: 20px; margin-top: 26px; }
.cs-photos .cs-shot { break-inside: avoid; margin-bottom: 20px; }
.cs-reels { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); justify-content: center; gap: 28px; margin-top: 24px; }
.cs-reels figure, .cs-film { margin: 0; }
.cs-reels video, .cs-film video { display: block; width: 100%; height: auto; border-radius: 14px; background: #1a1a2e; }
.cs-reels figcaption, .cs-film figcaption { margin-top: 9px; font-size: 14px; color: #55556f; }
.cs-film { max-width: 760px; margin: 56px auto 0; }

/* launch version */
.cs-switch { margin: 44px 0 0; text-align: center; font-size: 16px; }
.cs-switch a { font-weight: 600; color: #2f3680; text-decoration: underline; text-underline-offset: 3px; }

.cs-journey { list-style: none; margin: 54px 0 0; padding: 0; }
.cs-stage { padding: 54px 0; border-top: 1px solid var(--cs-line); }
.cs-stage__copy { max-width: 640px; }
.cs-stage__label { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: #454da1 !important; }
.cs .cs-stage h3 { font-size: clamp(25px, 2.7vw, 34px); }
.cs-stage__copy > p:last-child { margin: 12px 0 0; font-size: 17px; }
.cs-stage__media { margin-top: 32px; }
.cs-stage--brand, .cs-stage--list, .cs-stage--film { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.cs-stage--brand .cs-stage__media, .cs-stage--list .cs-stage__media, .cs-stage--film .cs-stage__media { margin-top: 0; }
.cs-stage--film video { display: block; width: 100%; height: auto; border: 1px solid var(--cs-line); border-radius: 14px; background: #fff; }
.cs-stage--web .cs-web__stage { padding: 0 0 40px; }
.cs-stage--web .cs-browser { margin-right: 90px; }
.cs-stage--web .cs-phone { width: 21%; }
.cs-grid { display: grid; gap: 24px 22px; align-items: start; }
.cs-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cs-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cs-marks { display: grid; gap: 18px; }
.cs-marks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cs-deliver { display: grid; margin-bottom: 0; }
.cs-deliver div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-top: 1px solid var(--cs-line); }
.cs-deliver div:first-child { border-top: 0; }
.cs-deliver dt { font-weight: 600; color: var(--cs-ink); }
.cs-deliver dd { margin: 0; line-height: 1.55; color: var(--cs-text); }
.cs-stage--results .cs-results { margin-top: 0; }
.cs-stage--results { padding-bottom: 0; }
.cs-other { margin-top: 28px; padding: 24px 28px; border: 1px solid var(--cs-line); border-radius: 14px; background: #fff; }
.cs-other h4 { margin: 0 0 10px; font-size: 16px; font-weight: 600; color: var(--cs-ink); }
.cs-other dl { margin: 0; }
.cs-other dl div { display: grid; grid-template-columns: 1.1fr 1.2fr auto; gap: 16px; padding: 10px 0; border-top: 1px solid var(--cs-line); font-size: 15px; color: var(--cs-text); }
.cs-other dt { font-weight: 600; color: var(--cs-ink); }
.cs-other dd { margin: 0; font-variant-numeric: tabular-nums; }
.cs-more { margin: 64px 0 22px; }
.cs-more h3 { margin: 0; font-family: "Playfair Display", serif; font-size: 28px; font-weight: 600; color: #1a1a2e; }
.page-vending-l10 .hero h1, .page-vstart-l10 .hero h1 { font-size: clamp(33px, 3.35vw, 48px); line-height: 1.16; }
@media (min-width: 1101px) { body[class*="-l10"] .hero h1 { max-width: 550px; } }
.cs-define { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: #55556f; }
.portfolio-section .portfolio-card img[src*="/logo"] { object-fit: contain !important; padding: 18px; }

.cs-marks .cs-shot img { max-height: 280px; padding: 30px; object-fit: contain; }

/* hero: room between the text and the form for the floating cards */
@media (min-width: 1101px) {
  body[class*="-l10"] .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 449px) !important; gap: 174px !important; }
  body[class*="-l10"] .hero h1 { max-width: none; font-size: clamp(34px, 3.4vw, 51px); line-height: 1.14; }
  .page-vending-l10 .hero h1, .page-vstart-l10 .hero h1 { font-size: clamp(33px, 3.2vw, 46px) !important; }
  .l10-hero-cluster .social-hero__cards--left { right: calc(100% + 10px); }
  .l10-hero-cluster .social-hero__cards--right { left: calc(100% + 2px); }
  .l10-hero-cluster .social-hero__stat--traffic .cs-float { margin: 0; }
}

/* mixed gallery: every image whole, no tabs */
.cs-mix { columns: 4; column-gap: 18px; }
.cs-mix .cs-shot { break-inside: avoid; margin-bottom: 18px; border-radius: 12px; }
.cs-mix .cs-shot img { border-radius: 12px; }
@media (hover: hover) { .cs-mix .cs-shot:hover img { transform: scale(1.03); } }
@media (max-width: 1000px) { .cs-mix { columns: 3; } }
@media (max-width: 700px) { .cs-mix { columns: 2; column-gap: 12px; } .cs-mix .cs-shot { margin-bottom: 12px; } }

/* related case studies */
.cs-rel { position: relative; overflow: hidden; background: radial-gradient(520px 420px at 4% 0, #ece8fd, rgba(236, 232, 253, 0) 70%), radial-gradient(620px 620px at 104% 46%, #e9e5fc 0 62%, rgba(233, 229, 252, 0) 62.5%) no-repeat, linear-gradient(180deg, #fdfdff, #f7f5fe); }
.cs-rel__grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; }
.cs-rel__grid li { display: flex; }
.cs-rel__card { display: flex; flex-direction: column; width: 100%; overflow: hidden; border-radius: 20px; background: #fff; color: var(--muted); text-decoration: none; box-shadow: 0 16px 40px rgba(86, 72, 190, 0.13); transition: box-shadow 0.35s, transform 0.35s; }
.cs-rel__img { display: block; aspect-ratio: 16 / 9.5; overflow: hidden; background: #f2f2fb; }
.cs-rel__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cs-rel__img img[src*="/device-"] { object-position: 20% top; }
.cs-rel__body { display: flex; flex: 1; flex-direction: column; padding: 24px 22px 26px; }
.cs-rel__logo { display: flex; align-items: center; height: 64px; margin-bottom: 14px; }
.cs-rel__logo img { display: block; width: auto; max-width: 150px; height: 100%; object-fit: contain; object-position: left center; mix-blend-mode: multiply; }
.cs-rel__name { font-family: var(--font-head); font-size: 20px; font-weight: 600; line-height: 1.25; color: var(--navy); }
.cs-rel__text { margin: 8px 0 24px; font-size: 16px; line-height: 1.65; color: var(--muted); }
.cs-rel .cs-rel__btn { justify-content: space-between; width: 100%; margin-top: auto; }
.cs-rel__btn span { display: inline-block; transition: transform 0.3s; }
.cs-rel__card:hover { color: var(--muted); transform: translateY(-5px); box-shadow: 0 24px 54px rgba(86, 72, 190, 0.2); }
.cs-rel__card:hover .cs-rel__img img { transform: scale(1.04); }
.cs-rel__card:hover .cs-rel__btn span, .cs-rel__card:focus-visible .cs-rel__btn span { transform: translateX(5px); }
.cs-rel__card:focus-visible { outline: 3px solid #21bfcf; outline-offset: 3px; }
@media (max-width: 1080px) { .cs-rel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cs-rel__grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .cs-rel__card, .cs-rel__img img, .cs-rel__btn span { transition: none; } }

/* full service list */
.cs-services { padding: 96px 28px; background: #fff; }
.cs-services .cases-inner { max-width: 1100px; margin: 0 auto; }
.cs-services__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin: 40px 0 0; padding: 0; }
.cs-services__list li { display: flex; gap: 16px; padding: 24px 0; border-top: 1px solid rgba(69, 77, 161, 0.14); }
.cs-services__list i { flex: none; width: 26px; margin-top: 3px; font-size: 19px; color: #454da1; text-align: center; }
.cs-services__list h3 { margin: 0 0 4px; font-size: 17px; font-weight: 600; line-height: 1.3; color: #1a1a2e; }
.cs-services__list p { margin: 0; font-size: 15px; line-height: 1.55; color: #3d3d58; }
.cs-faq { padding: 96px 28px; }
.cs-faq .cases-inner { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; }
.cs-faq .faq-wrap { margin-top: 40px; }

/* hero result card beside the Launch to 10 form */
.cs-float { position: relative; width: 142px; padding: 13px 14px 14px; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 12px 28px rgba(47, 54, 128, 0.16); text-align: left; }
.cs-float__head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; line-height: 1.2; white-space: nowrap; color: #14193f; }
.cs-float__head i { display: grid; flex: none; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #ff5c9a, #ec1f6b); }
.cs-float--line .cs-float__head i, .cs-float--plain2 .cs-float__head i { background: #ebe7fd; }
.cs-float--plain .cs-float__head i { background: #16a34a; }
.cs-float__head svg { display: block; width: 15px; height: 15px; }
.cs-float b { display: block; margin-top: 10px; font-size: 24px; font-weight: 700; line-height: 1; letter-spacing: -0.01em; color: #14193f; font-variant-numeric: tabular-nums; }
.cs-float small { display: block; margin-top: 6px; font-size: 11px; line-height: 1.3; color: #55556f; }
.cs-float--bars { width: 156px; min-height: 104px; }
.cs-float--bars small { max-width: 62px; }
.cs-float__bars { position: absolute; right: 12px; bottom: 13px; width: 56px; max-width: none; height: 44px; }
.cs-float--line { width: 138px; padding-bottom: 0; }
.cs-float--line b { font-size: 22px; }
.cs-float--line small { white-space: nowrap; }
.cs-float__line { display: block; width: 138px; max-width: none; height: 50px; margin: 4px -14px 0; }
.cs-float--plain, .cs-float--plain2 { width: 134px; }
.cs-float--plain2 b { font-size: 21px; }
.l10-hero-cluster .social-hero__stat--traffic { max-width: none; }
.l10-hero-cluster .social-hero__stat--ads { max-width: none; }
.l10-hero-cluster .social-hero__stat--traffic .cs-float { margin-right: 4px; margin-left: -22px; }
@media (max-width: 1500px) { .l10-hero-cluster .social-hero__stat--ads .cs-float { margin-left: -40px; } }

@media (max-width: 1000px) {
  .cs-intro { grid-template-columns: 1fr; gap: 24px; }
  .cs-intro__logo { width: 240px; max-width: 100%; }
  .cs-story { grid-template-columns: 1fr; }
  .cs-story > div, .cs-story > div:first-child, .cs-story > div:last-child { padding: 22px 0; }
  .cs-story > div + div { border-left: 0; border-top: 1px solid var(--cs-line); }
  .cs-web, .cs-results { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 32px; }
  .cs-web__stage { order: -1; }
  .cs-stage--brand, .cs-stage--list, .cs-stage--film { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cs-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-posts--4 { grid-template-columns: 1fr 1fr; }
  .cs-ads { grid-template-columns: 1fr 1fr; justify-content: start; }
  .cs-photos { columns: 2; }
  .cs-services__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .cs-block__head { grid-template-columns: 1fr; gap: 10px; }
  .cs-web, .cs-results { padding: 24px 18px; border-radius: 16px; }
  .cs-browser { margin-right: 22px; }
  .cs-phone { width: 27%; border-width: 4px; border-radius: 16px; }
  .cs-posts, .cs-posts--4 { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .cs-stage { padding: 40px 0; }
  .cs-stage--web .cs-browser { margin-right: 26px; }
  .cs-stage--web .cs-phone { width: 27%; }
  .cs-grid, .cs-grid--4 { gap: 18px 12px; }
  .cs-deliver div { grid-template-columns: 1fr; gap: 4px; }
  .cs-other dl div { grid-template-columns: 1fr auto; gap: 4px 14px; }
  .cs-other dt { grid-column: 1 / -1; }
  .cs-reels { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 64%; justify-content: start; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .cs-reels figure { scroll-snap-align: start; }
  .cs-services, .cs-faq { padding: 64px 20px; }
  .cs-services__list { grid-template-columns: 1fr; }
  .cs-faq .faq-wrap { grid-template-columns: 1fr; }
  .cs-block { margin-top: 44px; }
}
@media (max-width: 460px) {
  .cs-grid--2 { grid-template-columns: minmax(0, 1fr); }
  .cs-photos { columns: 1; }
  .cs-results__ads { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .cs-shot img { transition: none; } }

/* "As seen in" strip under the hero, as on the home page (these pages do not load style.css) */
.logo-bar { background: #fff; padding: 28px 24px; border-top: 1px solid rgba(69, 77, 161, 0.07); border-bottom: 1px solid rgba(69, 77, 161, 0.07); }
.logo-bar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; max-width: 1052px; margin: 0 auto; }
.logo-bar-label { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; color: #7b7b96; }
.logo-bar-logos { display: flex; flex: 1; flex-wrap: wrap; align-items: center; gap: 40px; }
.logo-item { font-size: 22px; font-weight: 600; letter-spacing: -0.3px; white-space: nowrap; color: #c0c0d0; transition: color 0.2s; }
.logo-item:hover { color: #7b7b96; }
.logo-item.serif { font-family: "Playfair Display", serif; font-style: italic; }
@media (max-width: 1024px) { .logo-bar-inner { justify-content: center; gap: 18px; } .logo-bar-logos { justify-content: center; gap: 16px 30px; flex-basis: 100%; } .logo-item { font-size: 19px; } }
