/* MainHome page — Figma node 4065:84 */

:root {
  --mainhome-orange-stat: #ff8e3f;
  --mainhome-stat-label: #2d2d2d;
  --mainhome-blue-stat: #3b82f6;
  --mainhome-blue-deep: #166fff;
  --mainhome-green: #00b928;
  --mainhome-link: #0004d8;
  --mainhome-badge: #0003a7;
  --mainhome-badge-bg: #f4f4ff;
  --surface: #f5f5f5;
  --surface-accordion: #fafafa;
  --border-light: rgba(0, 0, 0, 0.05);
  --border-pagination: rgba(0, 0, 0, 0.15);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
  min-width: 193px;
}

/* Hero — bg matches About page (page-hero__bg / about-hero) */
.mainhome-hero {
  position: relative;
  z-index: 1;
  overflow: visible;
  padding-bottom: 100px;
}

.mainhome-hero__bg {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-1 * var(--header-h) - 13px);
  width: 100%;
  height: 740px;
  background: var(--bg-light);
  border-radius: 0 0 60px 60px;
  z-index: 0;
}

.mainhome-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 520px 432px;
  justify-content: space-between;
  align-items: start;
  padding-top: 60px;
  gap: 48px;
}

.mainhome-hero__title {
  font-size: 40px;
  font-weight: 700;
  line-height: normal;
  color: var(--navy);
  margin-bottom: 28px;
  white-space: nowrap;
}

.mainhome-hero__accent {
  color: var(--blue-accent);
}

.mainhome-hero__desc {
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  color: var(--navy);
  margin-bottom: 42px;
}

.mainhome-hero__actions {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 127px;
}

.mainhome-hero__stats {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding-top: 1px;
}

.mainhome-stat {
  display: flex;
  flex-direction: column;
  min-width: 121px;
}

.mainhome-stat strong {
  font-size: 40px;
  font-weight: 800;
  line-height: normal;
  color: var(--mainhome-orange-stat);
  margin-bottom: 11px;
}

.mainhome-stat span {
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: var(--mainhome-stat-label);
  max-width: 121px;
}

.mainhome-stat__divider {
  flex-shrink: 0;
  margin: 8px 24px 0;
  width: 1px;
  height: 45px;
  object-fit: contain;
}

.mainhome-hero__visual {
  position: relative;
  width: 432px;
  height: 484px;
  margin-top: 11px;
  overflow: visible;
  transform: translateX(-60px);
}

.mainhome-hero__photo {
  position: relative;
  z-index: 0;
  display: block;
  width: 432px;
  height: 484px;
  border-radius: 30px;
  object-fit: cover;
  object-position: center;
}

.mainhome-hero__photo--mobile {
  display: none;
}

.hero-pill,
.hero-card,
.hero-services {
  z-index: 2;
}

.hero-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 11px;
  box-sizing: border-box;
  background: var(--white);
  border-radius: 33px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.01;
  color: var(--black);
  white-space: nowrap;
  flex-shrink: 0;
}

.hero-pill--top {
  left: 363px;
  top: 63px;
  width: 152px;
}

.hero-pill--mid {
  left: 363px;
  top: 108px;
  width: 164px;
}

.hero-card {
  position: absolute;
  color: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-card--industries {
  left: -42px;
  top: 158px;
  width: 129px;
  height: 115px;
  padding: 6px 12px;
  background: var(--mainhome-blue-stat);
  border-radius: 20px;
}

.hero-card--projects {
  right: -78px;
  bottom: 38px;
  width: 139px;
  height: 119px;
  padding: 11px 14px;
  background: var(--mainhome-blue-deep);
  border-radius: 25px;
}

.hero-card strong {
  display: block;
  font-size: 45px;
  font-weight: 700;
  line-height: normal;
}

.hero-card--projects strong {
  font-size: 40px;
}

.hero-card span {
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: 0.99;
  margin-top: 4px;
}

.hero-card--projects span {
  font-size: 14px;
  line-height: 1.35;
  width: 130px;
}

.hero-services {
  position: absolute;
  left: -10px;
  transform: translateX(-50%);
  bottom: 78px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  width: 293px;
  height: 97px;
  padding: 11px 16px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.hero-service {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.hero-service__bg {
  width: 39px;
  height: 39px;
}

.hero-service__icon {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  object-fit: contain;
}

.hero-service span {
  margin-top: 7px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.01;
  color: var(--black);
}

/* Brands override */
.mainhome-brands {
  padding-top: 0;
  padding-bottom: 100px;
}

.mainhome-brands__title {
  font-size: 35px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 30px;
}

/* Solutions — Figma 4065:103–4065:265 */
.mainhome-solutions {
  padding-bottom: 100px;
}

.mainhome-solutions__title {
  font-size: 45px;
  font-weight: 700;
  line-height: 1.109;
  color: var(--text);
  margin-bottom: 20px;
  max-width: 720px;
}

.mainhome-solutions__desc {
  font-size: 22px;
  font-weight: 500;
  line-height: normal;
  color: var(--text);
  max-width: 878px;
  margin-bottom: 53px;
}

/* Keep the Figma 1199px bento intact, then zoom it to the container.
   Mac 13"/14" fullscreen is often 1440px CSS; 150px gutters leave ~1140px,
   which used to clip this section. */
.mainhome-solutions .container {
  container-type: inline-size;
  container-name: solutions;
  overflow-x: clip;
}

.solutions-grid {
  display: flex;
  flex-wrap: wrap;
  row-gap: 14px;
  width: 1199px;
  max-width: none;
  flex-shrink: 0;
  transform-origin: 0 0;
  transform: scale(calc(100cqi / 1199px));
  margin-bottom: calc(1143px * (100cqi / 1199px - 1));
}

.solution-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 45px 32px 32px;
  overflow: hidden;
  box-sizing: border-box;
  flex-shrink: 0;
}

.solution-card--market {
  width: 690px;
  height: 356px;
  margin-right: 26px;
}

.solution-card--social {
  width: 483px;
  height: 356px;
}

.solution-card--data,
.solution-card--consulting {
  width: 383px;
  height: 362px;
  margin-right: 25px;
}

.solution-card--custom {
  width: 383px;
  height: 362px;
}

.solution-card--competitive {
  width: 1199px;
  height: 397px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.solution-card h3 {
  position: relative;
  z-index: 2;
  font-size: 30px;
  font-weight: 700;
  line-height: normal;
  color: var(--text);
  margin-bottom: 8px;
  /* padding-top: 110px; */
}

.solution-card > p {
  position: relative;
  z-index: 2;
  font-size: 15px;
  font-weight: 500;
  line-height: normal;
  color: var(--text);
  margin-bottom: 0;
}

.solution-card--market > p {
  max-width: 243px;
}

.solution-card--social > p {
  max-width: 314px;
}

.solution-card--data > p {
  max-width: 276px;
}

.solution-card--consulting > p {
  max-width: 302px;
}

.solution-card--custom > p {
  max-width: 296px;
}

.solution-card--competitive > p {
  max-width: 349px;
}

.solution-card__visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Market widgets — Figma 4065:176 / 4065:184 */
.solution-card__visual--market {
  z-index: 0;
}

.market-widget {
  position: absolute;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
}

.market-widget--global {
  left: 394px;
  top: 28px;
  width: 218px;
  height: 193px;
  padding: 13px 14px;
  z-index: 1;
}

.market-widget--health {
  left: 286px;
  top: 143px;
  width: 217px;
  height: 193px;
  padding: 12px 14px;
  box-shadow: 2px 1px 4px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.market-widget__label {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 6px;
}

.market-widget strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.market-widget__delta {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--mainhome-green);
}

.market-widget__note {
  display: block;
  font-size: 8px;
  font-weight: 500;
  color: #414141;
  opacity: 0.5;
  margin-bottom: 4px;
}

.market-widget img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 203px;
  height: auto;
  object-fit: cover;
  border-bottom-right-radius: 18px;
}

/* Social widgets — Figma 4065:203 / 4065:177 */
.social-widget--map {
  position: absolute;
  left: 18px;
  top: 201px;
  width: 212px;
  height: 154px;
  padding: 13px 11px;
  background: var(--white);
  border-radius: 22px 22px 0 0;
  box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
}

.social-widget--map > span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.social-widget--map img {
  width: 189px;
  height: 119px;
  object-fit: cover;
}

.social-widget--sentiment {
  position: absolute;
  left: 225px;
  top: 156px;
  width: 234px;
  height: 199px;
  background: var(--white);
  border-radius: 22px 22px 0 0;
  overflow: hidden;
}

.social-widget--sentiment .social-widget__label {
  position: absolute;
  left: 15px;
  top: 15px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text);
  z-index: 2;
}

.sentiment-chart-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sentiment-chart-reveal {
  position: absolute;
  inset: 0;
  --sentiment-reveal: 0deg;
  -webkit-mask-image: conic-gradient(from 135deg, #000 var(--sentiment-reveal), transparent 0);
  mask-image: conic-gradient(from 135deg, #000 var(--sentiment-reveal), transparent 0);
}

.sentiment-chart-layer {
  position: absolute;
  left: -16px;
  top: 9px;
  width: 190px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sentiment-chart-layer--center {
  left: 8px;
  top: 33px;
  width: 141px;
  height: 141px;
  z-index: 2;
}

.sentiment-chart__rotate {
  position: relative;
  width: 134px;
  height: 134px;
  transform: rotate(135deg);
  flex-shrink: 0;
}

.sentiment-chart__rotate--center {
  width: 100px;
  height: 100px;
}

.sentiment-chart__base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sentiment-chart__seg-mask {
  position: absolute;
  overflow: hidden;
}

.sentiment-chart__seg-mask--1 {
  bottom: 0;
  left: 7.6%;
  right: 0;
  top: 50%;
}

.sentiment-chart__seg-mask--2 {
  bottom: 0;
  left: 34.45%;
  right: 0;
  top: 50%;
}

.sentiment-chart__seg-mask img {
  display: block;
  width: 100%;
  height: 100%;
}

.sentiment-chart-layer--center img {
  display: block;
  width: 100%;
  height: 100%;
}

.sentiment-chart__value {
  position: absolute;
  left: 54px;
  top: 75px;
  font-size: 25px;
  font-weight: 700;
  line-height: normal;
  color: var(--text);
  z-index: 3;
}

.sentiment-chart__label {
  position: absolute;
  left: 79px;
  top: 107px;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 500;
  line-height: 0.96;
  color: #22247b;
  text-align: center;
  z-index: 3;
}

.sentiment-legend {
  position: absolute;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.sentiment-legend li {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 7px;
  font-weight: 500;
  line-height: 1.31;
  color: var(--navy);
  white-space: pre;
}

.sentiment-legend li:nth-child(1) {
  left: 144px;
  top: 139px;
}

.sentiment-legend li:nth-child(2) {
  left: 144px;
  top: 157px;
}

.sentiment-legend li:nth-child(3) {
  left: 144px;
  top: 175px;
}

.sentiment-legend li img {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
}

/* Data collection — Figma 4065:209–4065:224 */
.data-stat {
  position: absolute;
  background: var(--white);
  border-radius: 13px;
  text-align: center;
}

.data-stat:nth-child(1) {
  left: 32px;
  top: 142px;
  width: 80px;
  height: 124px;
  padding: 26px 8px 8px;
}

.data-stat:nth-child(2) {
  left: 122px;
  top: 175px;
  width: 81px;
  height: 124px;
  padding: 26px 8px 8px;
}

.data-stat:nth-child(3) {
  left: 213px;
  top: 204px;
  width: 80px;
  height: 124px;
  padding: 26px 8px 8px;
}

.data-stat:nth-child(4) {
  left: 303px;
  top: 255px;
  width: 79px;
  height: 106px;
  padding: 26px 8px 8px;
  border-bottom-right-radius: 19px;
}

.data-stat__icon {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 41px;
  height: 41px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ebf0fe;
}

.data-stat__icon img {
  width: 22px;
  height: 22px;
  display: block;
}

.data-stat strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-top: 38px;
  margin-bottom: 2px;
}

.data-stat__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 8px;
  font-weight: 500;
  line-height: 1.309;
  color: var(--text);
}

.data-stat__label span {
  display: block;
}

.data-stat__label--single {
  display: block;
}

/* Consulting — Figma 4065:178 */
.consulting-widget {
  position: absolute;
  left: 68px;
  top: 139px;
  width: 314px;
  height: 222px;
  padding: 19px 16px;
  background: var(--white);
  border-radius: 20px 0 19px 0;
  overflow: hidden;
}

.consulting-widget > span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.consulting-widget > p {
  font-size: 7px;
  font-weight: 400;
  color: var(--text);
  max-width: 170px;
  margin-bottom: 12px;
}

.consulting-widget__chart-wrap {
  position: absolute;
  left: 56px;
  bottom: 16px;
  width: 201px;
  height: 110px;
  overflow: visible;
}

.consulting-chart {
  position: absolute;
  left: -18px;
  top: -1px;
  display: block;
  width: 221px;
  height: 117px;
  overflow: visible;
}

.consulting-chart__axis {
  font-family: 'Manrope', sans-serif;
  font-size: 6px;
  font-weight: 500;
  fill: rgba(0, 0, 0, 0.3);
}

.consulting-chart__axis--y {
  text-anchor: middle;
  dominant-baseline: middle;
}

.consulting-chart__axis--x {
  text-anchor: middle;
  dominant-baseline: hanging;
}

.consulting-chart__line {
  stroke-linecap: round;
}

.consulting-chart__dot {
  opacity: 0;
  transform: scale(0.6);
  transform-origin: center;
  transform-box: fill-box;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.consulting-widget__badge {
  position: absolute;
  left: 235px;
  top: 64px;
  width: 42px;
  height: 35px;
  padding: 5px 4px 4px;
  background: var(--white);
  border-radius: 7px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  overflow: hidden;
  opacity: 0;
  transform: translateY(4px);
  transition: none;
  z-index: 2;
}

.consulting-widget__badge.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.consulting-widget__badge strong {
  display: block;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  color: #2671fb;
  margin-bottom: 1px;
}

.consulting-widget__badge span {
  display: block;
  font-size: 4px;
  font-weight: 400;
  line-height: 1.31;
  color: var(--black);
  text-align: center;
}

/* Custom research — Figma 4065:267–4065:274 */
.solution-card__visual--custom::before {
  content: "";
  position: absolute;
  left: 33px;
  top: 139px;
  width: 314px;
  height: 222px;
  background: var(--white);
  border-radius: 20px 20px 0 0;
}

.solution-card__visual--custom {
  z-index: 0;
}

.custom-icon {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 58px;
}

.custom-icon img:first-child {
  width: 58px;
  height: 58px;
}

.custom-icon img:nth-child(2) {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.custom-icon span {
  margin-top: 8px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.custom-icon--define {
  left: 75px;
  top: 167px;
}

.custom-icon--design {
  left: 223px;
  top: 167px;
}

.custom-icon--deliver {
  left: 75px;
  top: 262px;
}

.custom-icon--collect {
  left: 223px;
  top: 262px;
}

.custom-connect {
  position: absolute;
  left: 133px;
  top: 196px;
  width: 167px;
  height: 95px;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.custom-connect path {
  vector-effect: non-scaling-stroke;
}

/* Competitive — Figma 4065:251–4065:282 */
.competitive-widget {
  position: absolute;
  left: 471px;
  top: 31px;
  width: 630px;
  height: 365px;
  padding: 26px 35px;
  background: var(--white);
  border-radius: 20px 20px 0 0;
  box-sizing: border-box;
}

.competitive-widget h4 {
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  color: var(--text);
  margin: 0 0 2px;
  max-width: 258px;
}

.competitive-widget > p {
  font-size: 9px;
  font-weight: 400;
  line-height: normal;
  color: var(--text);
  max-width: 318px;
  margin: 0 0 0;
}

.competitive-brand {
  position: absolute;
  left: 486px;
  top: 26px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.competitive-brand img {
  width: 29px;
  height: 28px;
  flex-shrink: 0;
  margin-right: 10px;
}

.competitive-brand span {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.309;
  color: var(--black);
  white-space: nowrap;
}

.competitive-chart {
  position: absolute;
  left: 113px;
  top: 99px;
  width: 438px;
  height: 227px;
  overflow: visible;
}

.competitive-chart__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.competitive-chart__axis-h {
  position: absolute;
  left: 2px;
  top: 103px;
  width: 434px;
  height: 1px;
}

.competitive-chart__axis-v {
  position: absolute;
  left: 209px;
  top: 0;
  width: 226px;
  height: 1px;
  transform: rotate(90deg);
  transform-origin: 0 0;
}

.competitive-chart__perf {
  position: absolute;
  left: -50px;
  top: 108px;
  transform: translate(-50%, -50%) rotate(-90deg);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.309;
  color: rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}

.competitive-chart__price {
  position: absolute;
  left: 219px;
  top: 241px;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.309;
  color: rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}

.competitive-chart__high-y {
  position: absolute;
  left: -14px;
  top: -6px;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.309;
  color: rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.competitive-chart__low-y {
  position: absolute;
  left: 96.5px;
  top: 214px;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.309;
  color: rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.competitive-chart__low-x {
  position: absolute;
  left: 14px;
  top: 228px;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.309;
  color: rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.competitive-chart__high-x {
  position: absolute;
  left: 402px;
  top: 231px;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.309;
  color: rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.scatter-dot {
  position: absolute;
}

.scatter-dot--b {
  left: 26px;
  top: 11px;
}

.scatter-dot--c {
  left: 170px;
  top: 91px;
}

.scatter-dot--d {
  left: 276px;
  top: 34px;
}

.scatter-dot--a {
  left: 50px;
  top: 175px;
}

.scatter-dot--e {
  left: 291px;
  top: 134px;
}

.scatter-label {
  position: absolute;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.309;
  color: var(--black);
  white-space: nowrap;
}

.scatter-label--right {
  transform: none;
}

.scatter-label--below {
  transform: translateX(-50%);
}

.scatter-label--b {
  left: 60px;
  top: 15px;
}

.scatter-label--c {
  left: 189px;
  top: 122px;
}

.scatter-label--d {
  left: 310px;
  top: 38px;
}

.scatter-label--a {
  left: 82px;
  top: 179px;
}

.scatter-label--e {
  left: 323px;
  top: 138px;
}

/* Industries */
.mainhome-industries {
  padding-bottom: 100px;
}

.mainhome-industries__title {
  font-size: 45px;
  font-weight: 700;
  line-height: 0.952;
  color: var(--navy);
  margin-bottom: 20px;
  max-width: 997px;
}

.mainhome-industries__desc {
  font-size: 22px;
  font-weight: 500;
  line-height: normal;
  color: var(--text);
  max-width: 878px;
  margin-bottom: 36px;
}

.mainhome-industries__grid {
  display: grid;
  grid-template-columns: repeat(4, 281px);
  gap: 20px 13px;
}

.mainhome-industry-card {
  position: relative;
  width: 281px;
  height: 334px;
  border-radius: 20px;
  overflow: hidden;
}

.mainhome-industry-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mainhome-industry-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.85) 100%);
  pointer-events: none;
}

.mainhome-industry-card__body {
  position: absolute;
  left: 21px;
  right: 21px;
  bottom: 18px;
  color: var(--white);
  z-index: 1;
}

.mainhome-industry-card__body h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 6px;
}

.mainhome-industry-card__body p {
  font-size: 10px;
  font-weight: 400;
  line-height: normal;
}

/* Trust accordion */
.mainhome-trust {
  padding-bottom: 100px;
}

.mainhome-trust__panel {
  background: var(--surface);
  border-radius: 30px;
  padding: 54px 53px 48px;
  max-width: 1199px;
}

.mainhome-trust__title {
  font-size: 45px;
  font-weight: 700;
  line-height: normal;
  color: var(--navy);
  max-width: 568px;
  margin-bottom: 20px;
}

.mainhome-trust__desc {
  font-size: 22px;
  font-weight: 500;
  line-height: normal;
  color: var(--navy);
  max-width: 979px;
  margin-bottom: 42px;
}

.trust-accordion {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.trust-item__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 14px;
  background: var(--surface-accordion);
  text-align: left;
  cursor: pointer;
}

.trust-item.is-open .trust-item__toggle {
  background: var(--orange-header);
  border-color: var(--orange-header);
  min-height: 124px;
  align-items: flex-start;
}

.trust-item__text h3 {
  font-size: 25px;
  font-weight: 500;
  line-height: normal;
  color: var(--navy);
}

.trust-item.is-open .trust-item__text h3 {
  color: var(--white);
  margin-bottom: 12px;
}

.trust-item.is-open .trust-item__text p {
  font-size: 15px;
  font-weight: 300;
  line-height: normal;
  color: var(--white);
  max-width: 700px;
  display: block;
}
.trust-item__text p {
  display: none;
}

.trust-item:not(.is-open) .trust-item__toggle {
  min-height: 77px;
}

.trust-item__icon {
  flex-shrink: 0;
  font-family: var(--font-alt);
  font-size: 36px;
  font-weight: 500;
  line-height: normal;
  color: var(--navy);
}

.trust-item.is-open .trust-item__icon {
  color: var(--white);
}

/* Insights */
.mainhome-insights {
  padding-bottom: 100px;
}

.mainhome-insights__title {
  font-size: 45px;
  font-weight: 700;
  line-height: normal;
  color: var(--navy);
  max-width: 568px;
  margin-bottom: 20px;
}

.mainhome-insights__desc {
  font-size: 22px;
  font-weight: 500;
  line-height: normal;
  color: var(--navy);
  max-width: 1038px;
  margin-bottom: 36px;
}

.mainhome-insights__grid {
  display: grid;
  grid-template-columns: 534px 534px;
  gap: 51px;
  margin-bottom: 48px;
  padding-left: 50px;
}

.insight-card > img {
  width: 534px;
  height: 314px;
  border-radius: 40px;
  object-fit: cover;
  margin-bottom: 22px;
}

.insight-date {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--mainhome-badge-bg);
  border-radius: 15px;
  font-size: 16px;
  font-weight: 500;
  color: var(--mainhome-badge);
  margin-bottom: 18px;
}

.insight-card h3 {
  font-size: 30px;
  font-weight: 700;
  line-height: normal;
  color: var(--navy);
  max-width: 396px;
  margin-bottom: 14px;
}

.insight-card p {
  font-size: 15px;
  font-weight: 400;
  line-height: normal;
  color: var(--navy);
  max-width: 497px;
  margin-bottom: 18px;
}

.insight-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--mainhome-link);
}

.insight-link img {
  width: 20px;
  height: 20px;
  max-width: 20px;
  flex-shrink: 0;
  margin: 0;
  border-radius: 0;
  object-fit: contain;
}

.insights-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.insights-pagination__num {
  min-width: 76px;
  height: 54px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--border-pagination);
  border-radius: 14px;
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  display: flex;
}

.insights-pagination__num.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.insights-pagination__arrow {
  width: 62px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border-pagination);
  border-radius: 14px;
  opacity: 0.7;
  cursor: pointer;
  padding: 0;
}

.insights-pagination__arrow:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.insights-pagination__arrow--prev img {
  transform: rotate(180deg);
}

.insights-pagination__arrow img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* CTA */
.mainhome-cta {
  padding-bottom: 100px;
}

.mainhome-cta .cta__text p {
  font-size: 20px;
}

.mainhome-cta .btn--purple {
  min-width: 221px;
}

/* Responsive */
@media (max-width: 1320px) {
  .mainhome-hero__grid {
    grid-template-columns: 1fr;
  }

  .mainhome-hero__visual {
    margin: 0 auto;
    transform: none;
  }

  .solutions-grid {
    max-width: none;
  }

  .mainhome-industries__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mainhome-industries__grid .mainhome-industry-card {
    width: 281px;
    height: 334px;
    min-height: 334px;
    max-height: 334px;
  }

  .mainhome-industry-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
  }

  .mainhome-insights__grid {
    grid-template-columns: 1fr;
  }

  .insight-card > img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 640px) {
  .mainhome-hero__title {
    font-size: 32px;
  }

  .mainhome-hero__stats {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .mainhome-stat {
    min-width: 0;
    flex: 1 1 0;
  }

  .mainhome-stat__divider {
    display: none;
  }

  .mainhome-industries__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .mainhome-industries__grid .mainhome-industry-card {
    width: 281px;
    height: 334px;
    min-height: 334px;
    max-height: 334px;
    justify-self: center;
  }

  .insights-pagination {
    flex-wrap: nowrap;
    gap: 4px;
  }

  .insights-pagination__num {
    width: 36px;
    height: 36px;
    font-size: 15px;
    border-radius: 10px;
  }

  .insights-pagination__arrow {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .insights-pagination__arrow img {
    width: 16px;
    height: 16px;
  }
}
