.home-proof-metrics,
.home-proof-work,
.home-proof-why,
.home-proof-organizations {
  padding-block: clamp(3.4rem, 7vw, 7.2rem);
}

.home-proof-metrics { background: var(--surface-deep); }
.home-proof-work, .home-proof-organizations { background: var(--surface); }

.home-proof-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .65rem 1.5rem;
  margin-bottom: clamp(1.55rem, 3.55vw, 3.25rem);
}

.home-proof-heading h2, .home-proof-why-copy h2 {
  max-width: 23ch;
  font-size: clamp(2.05rem, 4.3vw, 4.1rem);
  font-weight: 680;
  line-height: 1.05;
  letter-spacing: -.058em;
  text-wrap: balance;
}
.home-proof-intro { max-width: 45ch; color: var(--text-muted); font-size: 1rem; line-height: 1.58; }
.home-proof-work .home-proof-intro { margin-top: .8rem; }

.home-proof-more {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--accent);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .23em;
}

.home-proof-more:hover { color: var(--text); }

.home-proof-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(.9rem, 1.7vw, 1.5rem);
  margin: 0;
}

.home-proof-metric {
  display: flex;
  min-width: 0;
  min-height: clamp(12.5rem, 18.5vw, 17.4rem);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: .65rem;
  padding: clamp(1.1rem, 2.05vw, 1.9rem);
  border: 1px solid var(--stroke);
  border-radius: .55rem;
  background: var(--surface-soft);
}

.home-proof-metric:nth-child(even) { background: var(--surface-slate); }

@media (min-width: 62.01rem) {
  .home-proof-metric-grid { --metric-step: clamp(1.2rem, 2.35vw, 2rem); padding-block-end: calc(3 * var(--metric-step)); }
  .home-proof-metric:nth-child(2) { translate: 0 var(--metric-step); }
  .home-proof-metric:nth-child(3) { translate: 0 calc(2 * var(--metric-step)); }
  .home-proof-metric:nth-child(4) { translate: 0 calc(3 * var(--metric-step)); }
}

.home-proof-metric dt { order: 1; font-size: 1.1rem; font-weight: 680; line-height: 1.28; }
.home-proof-metric dd { margin: 0; }
.home-proof-value {
  order: 0;
  color: var(--text);
  font-size: clamp(2.38rem, 4.25vw, 4.45rem);
  font-weight: 675;
  line-height: .98;
  letter-spacing: -.066em;
  font-variant-numeric: tabular-nums;
}

.home-proof-note { order: 2; color: var(--text-muted); line-height: 1.46; }

.home-reviews {
  display: grid;
  gap: 1rem;
  margin-block-end: clamp(1.9rem, 4.2vw, 3.75rem);
  padding: clamp(1rem, 2.4vw, 2rem);
  border: 1px solid var(--stroke);
  border-radius: .55rem;
  background: var(--surface-soft);
}

.home-reviews-heading,
.home-reviews-summary,
.home-reviews-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.home-reviews-heading { justify-content: space-between; gap: .65rem 1.25rem; }
.home-reviews-heading h3 { font-size: clamp(1.19rem, 2.15vw, 1.7rem); line-height: 1.2; letter-spacing: -.03em; }
.home-reviews-summary { gap: .35rem .65rem; color: var(--text-muted); }
.home-reviews-summary img, .home-reviews-summary svg { width: 1.25rem; height: 1.25rem; object-fit: contain; }
.home-reviews-summary strong { color: var(--text); font-variant-numeric: tabular-nums; }
.home-reviews-actions { gap: .4rem 1rem; }

.home-reviews-actions a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--accent);
  font-size: .92rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .22em;
}

.home-reviews-actions a:is(:hover, :focus-visible) { color: var(--text); }

.home-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: clamp(.75rem, 1.5vw, 1.2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-review {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
  padding: clamp(.95rem, 1.75vw, 1.35rem);
  border: 1px solid var(--stroke);
  border-radius: .45rem;
  background: var(--surface-raised);
  overflow-wrap: anywhere;
}

.home-review-stars { color: #f8bd55; font-size: .96rem; line-height: 1.3; letter-spacing: .12em; }
.home-review blockquote { margin: 0; color: var(--text); font-size: .97rem; line-height: 1.55; }
.home-review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem .65rem;
  align-items: baseline;
  align-self: stretch;
  margin-top: auto;
  padding-top: .65rem;
  border-top: 1px solid var(--stroke);
  color: var(--text-muted);
  font-size: .86rem;
}
.home-review-meta :is(strong, cite) { color: var(--text); font-style: normal; }
.home-review-meta a { text-decoration: underline; text-underline-offset: .2em; }

.home-proof-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1.05rem, 2.5vw, 2.25rem) clamp(1.1rem, 3.8vw, 3.4rem);
}

.home-proof-case { min-width: 0; }
.home-proof-case:nth-child(even) { margin-block-start: clamp(1rem, 3.5vw, 3.2rem); }

.home-proof-case > a {
  display: flex;
  min-height: clamp(13rem, 21vw, 18rem);
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
  padding: clamp(1.25rem, 3.05vw, 2.65rem);
  border: 1px solid var(--stroke);
  border-radius: .55rem;
  background: var(--surface-raised);
  transition: background-color .18s ease, border-color .18s ease;
}

.home-proof-case > a:is(:hover, :focus-visible) {
  border-color: var(--control-line);
  background: var(--surface-hover);
}

.home-proof-case > a:focus-visible { outline-offset: -4px; }
.home-proof-case img {
  width: auto;
  height: clamp(2.8rem, 5vw, 4rem);
  max-width: min(100%, 13.5rem);
  margin-bottom: .25rem;
  object-fit: contain;
  object-position: left center;
}

.home-proof-case--grupo-mayorga img, .home-proof-logo--grupo-mayorga img { filter: brightness(1.16); }
.home-proof-case--iae-executive-services img, .home-proof-logo--iae-executive-services img { filter: brightness(1.2); }
.home-proof-case h3 { font-size: clamp(1.29rem, 2.32vw, 2rem); font-weight: 680; line-height: 1.15; letter-spacing: -.039em; }
.home-proof-case p { max-width: 46ch; color: var(--text-muted); line-height: 1.5; }
.home-proof-case span { margin-top: auto; padding-top: .34rem; color: var(--accent); font-size: .94rem; font-weight: 680; }
.home-proof-case > a:hover span { text-decoration: underline; text-underline-offset: .22em; }

.home-proof-why {
  border-block: 1px solid var(--stroke);
  background: linear-gradient(90deg, var(--surface-slate) 44%, var(--surface-deep) 44%);
}

.home-proof-why-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(2.05rem, 7vw, 7.5rem);
}

.home-proof-why-copy img { width: clamp(3rem, 4.6vw, 4.5rem); height: auto; margin-bottom: 1.05rem; }
.home-proof-why-copy h2 { max-width: 13ch; }
.home-proof-why-copy p { max-width: 36ch; margin-top: .9rem; color: var(--text-muted); font-size: clamp(1.04rem, 1.5vw, 1.19rem); line-height: 1.6; }
.home-proof-why-copy .home-proof-more { margin-top: .55rem; }
.home-proof-strengths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.8vw, 2.6rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-proof-strengths li { min-width: 0; padding-top: .9rem; border-top: 1px solid var(--control-line); }
.home-proof-strengths h3 { margin-bottom: .45rem; font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 660; line-height: 1.2; letter-spacing: -.023em; }
.home-proof-strengths p { color: var(--text-muted); line-height: 1.55; }

.home-proof-organizations {
  --client-panel: color-mix(in srgb, var(--surface), var(--white) 6%);
  --client-panel-hover: color-mix(in srgb, var(--surface), var(--white) 10%);
  --client-border: color-mix(in srgb, var(--surface), var(--white) 15%);
  --client-border-hover: color-mix(in srgb, var(--surface), var(--white) 36%);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(2.8rem, 5vw, 4.85rem) clamp(1.2rem, 3vw, 2.65rem);
  border-block: 1px solid var(--client-border);
  background: var(--surface);
}
.home-proof-organizations::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(circle, #fff3 .6px, transparent 1px);
  background-size: 13px 13px;
  mask-image: radial-gradient(ellipse, #000 23%, transparent 77%);
  content: '';
}
.home-client-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .9rem 1.75rem;
}
.home-client-heading h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.5rem);
  font-weight: 680;
  line-height: 1.15;
  letter-spacing: -.043em;
  text-wrap: balance;
}
.home-client-community {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  min-height: 2.65rem;
  padding: .42rem .7rem;
  border: 1px solid var(--client-border);
  border-radius: .42rem;
  background: var(--client-panel);
  font-size: .78rem;
}
.home-client-community > span { color: var(--text-muted); }
.home-client-community img { width: 1.45rem; height: auto; }
.home-client-community:is(:hover, :focus-visible) { border-color: var(--client-border-hover); }

.home-client-marquee {
  overflow: clip;
  margin-block-start: .5rem;
  padding-block: clamp(1.6rem, 3.8vw, 5rem);
}
.home-client-stage {
  --client-tile-width: clamp(9.65rem, 25vw, 15rem);
  --client-gap: clamp(.65rem, 1.3vw, 1.35rem);
  display: grid;
  gap: clamp(.15rem, .85vw, .8rem);
  min-width: 0;
  rotate: -3.5deg;
}
.home-client-stage[data-carousel-ready]:not(:focus-within) {
  mask-image: linear-gradient(90deg, transparent, #000 clamp(1.35rem, 8vw, 9rem), #000 calc(100% - clamp(1.35rem, 8vw, 9rem)), transparent);
}
.home-client-viewport {
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding-block: .51rem;
  scrollbar-width: thin;
  scrollbar-color: var(--client-border-hover) var(--surface);
}
.home-client-stage[data-carousel-ready] .home-client-viewport { scrollbar-width: none; }
.home-client-stage:not([data-carousel-ready]) .home-client-viewport:nth-child(2) .home-client-track {
  padding-inline-start: calc((var(--client-tile-width) + var(--client-gap)) / 2);
}
.home-client-track {
  position: relative;
  display: flex;
  width: max-content;
  gap: var(--client-gap);
}
.home-proof-logos {
  display: flex;
  flex: none;
  gap: var(--client-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-proof-logo { flex: 0 0 var(--client-tile-width); inline-size: var(--client-tile-width); min-width: 0; }
.home-proof-logo a {
  display: grid;
  height: 100%;
  min-height: clamp(5.15rem, 7.6vw, 7.1rem);
  align-content: center;
  justify-items: center;
  gap: .38rem;
  padding: .85rem clamp(.65rem, 1.5vw, 1.2rem);
  border: 1px solid var(--client-border);
  border-radius: .65rem;
  background: linear-gradient(152deg, var(--client-panel), var(--surface));
  box-shadow: inset 0 1px 0 #fff1, 0 .3rem .6rem #0003;
  text-align: center;
  transition: border-color .22s ease, box-shadow .22s ease;
}

.home-proof-logo a:is(:hover, :focus-visible) {
  border-color: var(--client-border-hover);
  box-shadow: inset 0 1px 0 #fff2, 0 .38rem .7rem #0005;
}
.home-proof-logo a:focus-visible { outline-offset: -4px; }
.home-proof-logo img { width: auto; height: clamp(2.15rem, 4vw, 3.05rem); max-width: 100%; object-fit: contain; }
.home-proof-logo--lurar img { border-radius: .34rem; }
.home-proof-logo-note { color: var(--text-muted); font-size: .78rem; line-height: 1.3; }
.home-proof-wordmark {
  max-width: 14ch;
  font-size: clamp(1rem, 1.65vw, 1.42rem);
  font-weight: 740;
  line-height: 1.1;
  letter-spacing: -.035em;
  text-wrap: balance;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .home-proof-logo a { transition: translate .22s ease, border-color .22s ease, box-shadow .22s ease; }
  .home-proof-logo a:hover { translate: 0 -.24rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home-client-stage[data-carousel-ready] .home-client-viewport { scrollbar-width: thin; }
  .home-client-stage[data-carousel-ready]:not(:focus-within) { mask-image: none; }
}

@media (max-width: 44rem) {
  .home-client-stage { --client-tile-width: clamp(9.5rem, 43vw, 13rem); rotate: -2.7deg; }
}

@media (max-width: 62rem) {
  .home-proof-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .home-proof-heading h2, .home-proof-why-copy h2 { overflow-wrap: anywhere; }
  .home-proof-value { white-space: nowrap; }
}

@media (max-width: 44rem) {
  .home-proof-case-grid, .home-proof-why-grid { grid-template-columns: minmax(0, 1fr); }
  .home-proof-case:nth-child(even) { margin-block-start: 0; }
  .home-proof-why { background: var(--surface-slate); }
  .home-proof-metric, .home-proof-case > a { min-height: 0; }
}

@media (max-width: 33rem) {
  .home-proof-strengths { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 30rem) {
  .home-proof-metric-grid { gap: .7rem; }
  .home-proof-metric { gap: .5rem; padding: .85rem; }
  .home-proof-metric dt { font-size: 1rem; }
  .home-proof-value { font-size: clamp(1.8rem, 7.6vw, 2.38rem); }
  .home-proof-note { font-size: .91rem; }
}

@media (max-width: 22rem) {
  .home-proof-metric-grid { grid-template-columns: minmax(0, 1fr); }
}
