/* ---------- Estrategia & comunidad ---------- */
.strategy { padding-bottom: var(--space-section); }
.strategy-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px var(--gutter); align-items: end; }
.strategy-head .kicker { grid-column: 1 / -1; }
.strategy-lede { margin: 0; color: var(--text-soft); font-weight: 300; font-size: clamp(1.02rem, 1rem + 0.3vw, 1.18rem); max-width: 44ch; }

/* números con ícono, en tarjetas de vidrio */
.totals, .case-stats { display: grid; margin: 0; gap: 12px; }
.totals { grid-template-columns: repeat(4, 1fr); margin-top: 48px; }
.totals > div, .case-stats > div {
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-content: start;
  padding: 20px; border-radius: 20px;
  background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow);
  backdrop-filter: blur(16px) saturate(140%);
}
.totals .ico, .case-stats .ico {
  grid-row: span 2; width: 44px; height: 44px; padding: 10px; border-radius: 12px;
  color: #fff; background: linear-gradient(180deg, var(--red-bright), var(--red-deep));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 20px -10px rgba(227, 52, 63, 0.9);
}
.totals dd, .case-stats dd { margin: 0; font-size: clamp(1.9rem, 1.1rem + 2.2vw, 3.2rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.totals dt, .case-stats dt { grid-column: 2; margin-top: 4px; font-size: 0.86rem; font-weight: 300; color: var(--text-soft); max-width: 24ch; }
.case-stats a { color: #fff; }
.totals-note { margin: 14px 0 0; font-size: 0.82rem; font-weight: 300; color: var(--text-mute); }

.services { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; padding: 0; }
.services li { border: 1px solid var(--glass-border); background: rgba(255, 255, 255, 0.05); border-radius: 999px; padding: 9px 15px; font-size: 0.86rem; color: var(--text-soft); }

/* ---------- casos ---------- */
.case {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: 'head stats' 'story media';
  gap: 36px var(--gutter);
  margin-top: clamp(56px, 7vw, 100px); padding: clamp(24px, 3vw, 44px);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.case-hueso { grid-template-areas: 'stats head' 'media story'; }
.case-head { grid-area: head; }
.case-n { display: block; font-size: clamp(3.4rem, 2rem + 4vw, 6rem); font-weight: 200; line-height: 0.85; color: var(--red-bright); margin-bottom: 16px; }
.case-type { display: inline-block; margin: 0 0 12px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; padding: 6px 12px; border-radius: 999px; background: rgba(227, 52, 63, 0.2); border: 1px solid rgba(255, 90, 95, 0.45); }
.case-head h3 { margin: 0; font-size: clamp(2rem, 1.2rem + 3vw, 4rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.case-sub { margin: 10px 0 0; font-weight: 300; color: var(--text-soft); }
.case-stats { grid-area: stats; grid-template-columns: 1fr 1fr; align-self: end; }
.case-stats > div { padding: 16px; }
.case-stats .ico { width: 38px; height: 38px; padding: 9px; }
.case-stats dd { font-size: clamp(1.6rem, 1rem + 1.8vw, 2.6rem); }
.case-story { grid-area: story; }
.case-story > p { margin: 0 0 22px; font-weight: 300; color: var(--text-soft); max-width: 46ch; }
.case-story b { font-weight: 600; color: #fff; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 12px; }
.steps li { counter-increment: step; position: relative; padding-left: 42px; font-weight: 300; color: var(--text-soft); max-width: 52ch; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0.1em; font-size: 0.8rem; font-weight: 600; color: var(--red-bright); width: 30px; height: 22px; display: grid; place-items: center; border-radius: 999px; background: rgba(227, 52, 63, 0.16); }
.case-highlight { grid-column: 1 / -1; margin: -8px 0 0; font-size: clamp(1.2rem, 1rem + 1vw, 1.8rem); font-weight: 500; letter-spacing: -0.02em; }
.case-highlight em { color: var(--red-bright); font-weight: 600; }

.case-media { grid-area: media; display: flex; gap: 12px; align-items: flex-end; }
.case-media figure { margin: 0; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.9); }
.case-media img, .case-media video { width: 100%; height: 100%; object-fit: cover; }
.browser { flex: 2.2; background: #1a0d12; }
.browser-bar { display: flex; gap: 5px; padding: 9px 10px; }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.browser img { aspect-ratio: 16 / 10; height: auto; }
.phone-mini { flex: 1; aspect-ratio: 9 / 16; }
.shot.tall { flex: 1; aspect-ratio: 9 / 16; }
.shot.wide { flex: 1.6; align-self: center; background: #fff; }
.shot.wide img { object-fit: contain; }

@media (max-width: 960px) {
  .strategy-head { grid-template-columns: 1fr; }
  .totals { grid-template-columns: repeat(2, 1fr); }
  .case, .case-hueso { grid-template-columns: 1fr; grid-template-areas: 'head' 'stats' 'story' 'media'; gap: 26px; }
  .case-highlight { margin: 0; }
}
@media (max-width: 520px) {
  .totals { grid-template-columns: 1fr; }
  .case-stats { grid-template-columns: 1fr; }
  .case-media { flex-wrap: wrap; }
  .browser, .shot.wide { flex-basis: 100%; }
}
