/* =====================================================
   CASOS DE ESTUDIO · valírica
   Diseño bento + glass + animated mesh
   ===================================================== */

/* --- Scroll progress bar --- */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, #6CF2C2, #4ee8aa);
  z-index: 9999;
  box-shadow: 0 0 12px rgba(108,242,194,0.6);
  transition: width 0.1s linear;
}

/* --- Floating WhatsApp FAB --- */
.fab-wa {
  position: fixed; bottom: 32px; right: 32px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 14px 36px rgba(37,211,102,0.45);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none;
  transition: transform 0.3s;
}
.fab-wa:hover { transform: scale(1.08) translateY(-3px); }
.fab-wa::before {
  content: ''; position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  animation: fab-pulse 2.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes fab-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* --- Hero --- */
.caso-hero {
  position: relative;
  padding: 200px 0 100px;
  overflow: hidden;
}
.caso-hero__mesh {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 600px 400px at 18% 25%, rgba(108,242,194,0.14), transparent 60%),
    radial-gradient(ellipse 500px 350px at 82% 8%, rgba(108,242,194,0.10), transparent 60%),
    radial-gradient(ellipse 420px 420px at 55% 90%, rgba(108,242,194,0.06), transparent 65%);
  animation: mesh-drift 22s ease-in-out infinite alternate;
}
@keyframes mesh-drift {
  0%   { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-40px, 20px) rotate(2deg); }
}
.caso-hero > .container { position: relative; z-index: 1; }

/* --- Breadcrumb --- */
.caso-breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: #8a8a92;
  margin-bottom: 48px;
}
.caso-breadcrumb a { color: #8a8a92; text-decoration: none; transition: color 0.2s; }
.caso-breadcrumb a:hover { color: #6CF2C2; }
.caso-breadcrumb__current { color: #6CF2C2; }
.caso-breadcrumb svg { opacity: 0.5; }

/* --- App-icon logo frame · HIGH-TECH HUD glass --- */
.caso-logo-frame {
  position: relative;
  width: 120px; height: 120px;
  margin-bottom: 56px; /* clear space for badge below */
  isolation: isolate;
}
/* Glow: contenido detrás del frame, recortado para no invadir el badge */
.caso-logo-frame__glow {
  position: absolute;
  inset: -18px -18px -8px -18px;
  background:
    radial-gradient(circle at 50% 35%, rgba(108,242,194,0.55), transparent 62%);
  filter: blur(28px);
  z-index: -1;
  animation: caso-glow-pulse 5s ease-in-out infinite;
  pointer-events: none;
}
.caso-logo-frame__inner {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 50%, rgba(0,0,0,0.15) 100%),
    linear-gradient(135deg, rgba(20,28,26,0.85), rgba(14,18,17,0.95));
  border: 1px solid rgba(255,255,255,0.10);
  display: flex; align-items: center; justify-content: center;
  padding: 22px;
  box-shadow:
    /* outer depth */
    0 24px 50px rgba(0,0,0,0.55),
    /* tech outer ring */
    0 0 0 1px rgba(108,242,194,0.12),
    /* inner light top */
    inset 0 1px 0 rgba(255,255,255,0.18),
    /* inner dark bottom */
    inset 0 -1px 0 rgba(0,0,0,0.4),
    /* inner accent trace */
    inset 0 0 0 1px rgba(255,255,255,0.04),
    inset 0 0 60px rgba(108,242,194,0.05);
  z-index: 1;
  transition: transform 0.55s cubic-bezier(.2,.8,.2,1);
  overflow: hidden;
  /* sutil grid scan pattern */
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 50%, rgba(0,0,0,0.15) 100%),
    linear-gradient(135deg, rgba(20,28,26,0.85), rgba(14,18,17,0.95)),
    repeating-linear-gradient(0deg, rgba(108,242,194,0.04) 0px, rgba(108,242,194,0.04) 1px, transparent 1px, transparent 4px);
}
/* Inner HUD frame: línea trazada en el interior */
.caso-logo-frame__inner::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 18px;
  border: 1px solid rgba(108,242,194,0.14);
  pointer-events: none;
  z-index: 2;
}
/* Corner brackets · acento high-tech */
.caso-logo-frame__inner::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 22px;
  background:
    /* top-left corner */
    linear-gradient(135deg, rgba(108,242,194,0.7) 0%, rgba(108,242,194,0.7) 1.5px, transparent 1.5px) top left / 14px 14px no-repeat,
    linear-gradient(135deg, transparent 0%, transparent calc(100% - 1.5px), rgba(108,242,194,0.7) calc(100% - 1.5px)) top left / 1.5px 14px no-repeat,
    linear-gradient(135deg, transparent 0%, transparent calc(100% - 1.5px), rgba(108,242,194,0.7) calc(100% - 1.5px)) top left / 14px 1.5px no-repeat,
    /* top-right */
    linear-gradient(225deg, transparent 0%, transparent calc(100% - 1.5px), rgba(108,242,194,0.7) calc(100% - 1.5px)) top right / 14px 1.5px no-repeat,
    linear-gradient(225deg, rgba(108,242,194,0.7) 0%, rgba(108,242,194,0.7) 1.5px, transparent 1.5px) top right / 1.5px 14px no-repeat,
    /* bottom-left */
    linear-gradient(45deg, transparent 0%, transparent calc(100% - 1.5px), rgba(108,242,194,0.7) calc(100% - 1.5px)) bottom left / 14px 1.5px no-repeat,
    linear-gradient(45deg, rgba(108,242,194,0.7) 0%, rgba(108,242,194,0.7) 1.5px, transparent 1.5px) bottom left / 1.5px 14px no-repeat,
    /* bottom-right */
    linear-gradient(315deg, transparent 0%, transparent calc(100% - 1.5px), rgba(108,242,194,0.7) calc(100% - 1.5px)) bottom right / 14px 1.5px no-repeat,
    linear-gradient(315deg, rgba(108,242,194,0.7) 0%, rgba(108,242,194,0.7) 1.5px, transparent 1.5px) bottom right / 1.5px 14px no-repeat;
  pointer-events: none;
  z-index: 3;
}
.caso-logo-frame:hover .caso-logo-frame__inner {
  transform: translateY(-6px) scale(1.04);
}
.caso-logo-frame__img {
  width: 100%; height: 100%; object-fit: contain;
  position: relative; z-index: 4;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.45));
}
@keyframes caso-glow-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.1); }
}

/* --- Sector badge · sólido y legible, fuera de cualquier glow --- */
.sector-badge {
  position: relative;
  z-index: 5;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px;
  border: 1px solid rgba(108,242,194,0.35);
  border-radius: 100px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #6CF2C2;
  /* solid dark backdrop para que el chip se lea siempre */
  background: rgba(14,18,17,0.85);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow:
    0 8px 24px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.04);
  margin-bottom: 32px;
}
.sector-badge::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: #6CF2C2;
  box-shadow: 0 0 10px #6CF2C2;
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* --- Hero title --- */
.caso-title {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #a8a8b4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.caso-title .accent {
  background: linear-gradient(90deg, #6CF2C2, #4ee8aa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.caso-subtitle {
  font-size: 1.25rem;
  color: #b0b0bc;
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 56px;
}

/* --- Meta strip (year / sector / stack count) --- */
.meta-strip {
  display: inline-flex; flex-wrap: wrap; gap: 0;
  padding: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  margin-bottom: 56px;
  overflow: hidden;
}
.meta-strip__item {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 24px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.meta-strip__item:last-child { border-right: none; }
.meta-strip__label {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #6f6f7c;
}
.meta-strip__value {
  font-size: 14px; color: #fff; font-weight: 500;
}

/* --- Bento metrics grid --- */
.bento-metrics {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  margin-bottom: 40px;
}
.bento-metric {
  position: relative;
  padding: 30px 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), border-color 0.3s;
}
.bento-metric::after {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(108,242,194,0.18), transparent 65%);
  opacity: 0; transition: opacity 0.4s;
}
.bento-metric:hover {
  border-color: rgba(108,242,194,0.28);
  transform: translateY(-4px);
}
.bento-metric:hover::after { opacity: 1; }
.bento-metric--lg { grid-row: span 2; padding: 40px 36px; }
.bento-metric__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(108,242,194,0.10);
  border: 1px solid rgba(108,242,194,0.22);
  display: flex; align-items: center; justify-content: center;
  color: #6CF2C2; margin-bottom: 22px;
  position: relative; z-index: 1;
}
.bento-metric__value {
  font-size: 2.2rem; font-weight: 700;
  line-height: 1; margin-bottom: 10px;
  position: relative; z-index: 1;
  background: linear-gradient(180deg, #ffffff, #b9b9c0);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bento-metric--lg .bento-metric__value { font-size: 3.2rem; }
.bento-metric__label {
  font-size: 13px; color: #8a8a94; line-height: 1.5;
  position: relative; z-index: 1;
}

/* --- Sections with auto-numbering --- */
.caso-body { counter-reset: section; position: relative; }
.caso-section {
  padding: 88px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  counter-increment: section;
  position: relative;
}
.caso-section__num {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #6CF2C2; margin-bottom: 20px;
  font-weight: 500;
}
.caso-section__num::before {
  content: counter(section, decimal-leading-zero);
  font-family: 'Gelica', serif;
  font-style: italic;
  font-size: 16px;
  color: rgba(108,242,194,0.6);
}
.caso-section__num::after {
  content: ''; width: 32px; height: 1px; background: rgba(108,242,194,0.3);
}
.caso-section__title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
  line-height: 1.18;
  max-width: 850px;
}
.caso-section__body {
  font-size: 1.08rem;
  line-height: 1.85;
  color: #b8b8c2;
  max-width: 780px;
}

/* --- Split layout: Reto + Solución --- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}
.split-card {
  position: relative;
  padding: 40px 36px;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  overflow: hidden;
}
.split-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(108,242,194,0.5), transparent);
}
.split-card--solucion::before {
  background: linear-gradient(90deg, #6CF2C2, #4ee8aa, transparent);
  height: 3px;
}
.split-card__tag {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: #6CF2C2; margin-bottom: 18px; font-weight: 600;
}
.split-card__heading {
  font-size: 1.4rem; font-weight: 600;
  margin-bottom: 20px; line-height: 1.3;
  letter-spacing: -0.01em;
}
.split-card__body {
  color: #a8a8b4; line-height: 1.8; font-size: 0.98rem;
}

/* --- Features bento --- */
.features-bento {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 36px;
}
.feature-card {
  position: relative;
  padding: 28px 26px;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  transition: all 0.35s cubic-bezier(.2,.8,.2,1);
  overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(108,242,194,0.08), transparent 60%);
  opacity: 0; transition: opacity 0.35s;
  pointer-events: none;
}
.feature-card:hover {
  border-color: rgba(108,242,194,0.3);
  transform: translateY(-4px);
}
.feature-card:hover::before { opacity: 1; }
.feature-card__icon {
  width: 40px; height: 40px; border-radius: 11px;
  background: rgba(108,242,194,0.10);
  border: 1px solid rgba(108,242,194,0.22);
  display: flex; align-items: center; justify-content: center;
  color: #6CF2C2; margin-bottom: 18px;
  position: relative; z-index: 1;
}
.feature-card__text {
  color: #c0c0cc; line-height: 1.6; font-size: 0.96rem;
  position: relative; z-index: 1;
}

/* --- Stack grid --- */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-top: 36px;
}
.stack-item {
  padding: 18px 22px;
  background: rgba(108,242,194,0.04);
  border: 1px solid rgba(108,242,194,0.18);
  border-radius: 12px;
  text-align: center;
  font-size: 14px; font-weight: 500;
  color: #6CF2C2;
  transition: all 0.25s ease;
}
.stack-item:hover {
  background: rgba(108,242,194,0.10);
  border-color: rgba(108,242,194,0.45);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(108,242,194,0.15);
}

/* --- SEO block (under-fold long-form for keywords) --- */
.seo-block {
  padding: 88px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.seo-block h2 {
  font-size: 1.6rem; margin: 40px 0 20px;
  font-weight: 700; letter-spacing: -0.01em;
}
.seo-block h2:first-child { margin-top: 0; }
.seo-block h3 {
  font-size: 1.18rem; margin: 32px 0 14px;
  color: #fff; font-weight: 600;
}
.seo-block p {
  font-size: 0.98rem; line-height: 1.85;
  color: #999; max-width: 840px; margin-bottom: 18px;
}
.seo-block strong { color: #cccdd6; font-weight: 600; }

/* --- CTA full-bleed --- */
.caso-cta-wrap {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
  margin-top: 40px;
}
.caso-cta-wrap::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 800px 500px at 50% 50%, rgba(108,242,194,0.14), transparent 60%),
    radial-gradient(ellipse 400px 300px at 78% 28%, rgba(108,242,194,0.08), transparent 65%),
    radial-gradient(ellipse 350px 280px at 22% 70%, rgba(108,242,194,0.06), transparent 65%);
  z-index: 0;
}
.caso-cta { position: relative; z-index: 1; text-align: center; }
.caso-cta__eyebrow {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #6CF2C2; margin-bottom: 24px;
  padding: 6px 14px; border: 1px solid rgba(108,242,194,0.3);
  border-radius: 100px;
  background: rgba(108,242,194,0.05);
}
.caso-cta__title {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  background: linear-gradient(180deg, #ffffff, #c8c8d4);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.caso-cta__sub {
  font-size: 1.05rem; color: #a8a8b4;
  margin-bottom: 48px; max-width: 600px;
  margin-left: auto; margin-right: auto; line-height: 1.65;
}
.caso-cta__buttons {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.cta-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  border-radius: 100px;
  background: linear-gradient(135deg, #6CF2C2, #4ee8aa);
  color: #0E0E10; font-weight: 600; font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 14px 36px rgba(108,242,194,0.32);
}
.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(108,242,194,0.5);
}
.cta-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  border-radius: 100px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff; font-weight: 500; font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s;
}
.cta-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.26);
}

/* --- Related cases --- */
.related-section { padding: 80px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.related-section__label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #6f6f7c; margin-bottom: 36px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.related-card {
  position: relative;
  padding: 32px 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  text-decoration: none; color: inherit;
  transition: all 0.4s cubic-bezier(.2,.8,.2,1);
  overflow: hidden;
}
.related-card::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #6CF2C2, transparent);
  transform: translateX(-50%);
  transition: width 0.5s;
}
.related-card:hover {
  border-color: rgba(108,242,194,0.3);
  transform: translateY(-6px);
}
.related-card:hover::after { width: 80%; }
.related-card__logo {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  padding: 14px; margin-bottom: 22px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
}
.related-card__logo img { width: 100%; height: 100%; object-fit: contain; }
.related-card__sector {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #6CF2C2; margin-bottom: 12px;
}
.related-card__name {
  font-size: 1.28rem; font-weight: 700;
  margin-bottom: 10px; letter-spacing: -0.01em;
}
.related-card__desc {
  font-size: 0.92rem; color: #888; line-height: 1.6;
  margin-bottom: 18px;
}
.related-card__arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: #6CF2C2; font-size: 13px; font-weight: 500;
}

/* --- Mockup showcase --- */
.caso-mockup {
  padding: 0 0 88px;
  position: relative;
}
.caso-mockup__inner {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

/* Multi-layer ambient glow behind the card */
.caso-mockup__glow {
  position: absolute;
  inset: -35% -18% -22%;
  background:
    radial-gradient(ellipse 65% 50% at 50% 36%, rgba(108,242,194,0.30), transparent 58%),
    radial-gradient(ellipse 42% 32% at 22% 68%, rgba(108,242,194,0.12), transparent 62%),
    radial-gradient(ellipse 38% 28% at 78% 72%, rgba(108,242,194,0.09), transparent 62%);
  filter: blur(42px);
  pointer-events: none;
  z-index: 0;
  animation: mockup-glow-pulse 7s ease-in-out infinite alternate;
}
@keyframes mockup-glow-pulse {
  0%   { opacity: 0.50; transform: scale(1); }
  100% { opacity: 0.95; transform: scale(1.14); }
}

/* Ground reflection dot */
.caso-mockup__inner::after {
  content: '';
  position: absolute;
  bottom: -18px; left: 18%; right: 18%;
  height: 28px;
  background: radial-gradient(ellipse, rgba(108,242,194,0.22), transparent 72%);
  filter: blur(14px);
  z-index: 0;
  pointer-events: none;
  animation: mockup-glow-pulse 7s ease-in-out infinite alternate;
}

/* Glass card — rounds corners, holds the image, carries all premium effects */
.caso-mockup__card {
  position: relative;
  z-index: 1;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(108,242,194,0.20);
  box-shadow:
    /* deep lift shadow */
    0 52px 96px rgba(0,0,0,0.62),
    0 22px 44px rgba(0,0,0,0.42),
    /* outer green halo */
    0 0 80px rgba(108,242,194,0.12),
    0 0 0  1px rgba(255,255,255,0.04),
    /* inner top light */
    inset 0 1px 0 rgba(255,255,255,0.12);
  animation: mockup-float 8s ease-in-out infinite alternate;
}

/* Scan-glint pass — sweeps across once every ~12 s */
.caso-mockup__card::before {
  content: '';
  position: absolute;
  top: -100%; left: -60%;
  width: 36%; height: 260%;
  background: linear-gradient(
    108deg,
    transparent        20%,
    rgba(255,255,255,0.05) 50%,
    transparent        80%
  );
  z-index: 10;
  pointer-events: none;
  animation: mockup-glint 12s ease-in-out infinite;
}
@keyframes mockup-glint {
  0%, 68%  { transform: translateX(0);     opacity: 0; }
  69%      {                               opacity: 1; }
  84%      { transform: translateX(540%);  opacity: 1; }
  85%, 100%{ transform: translateX(540%);  opacity: 0; }
}

@keyframes mockup-float {
  0%   { transform: translateY(0px)    rotate(0deg); }
  100% { transform: translateY(-14px)  rotate(0.4deg); }
}

.caso-mockup__img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .bento-metrics { grid-template-columns: 1fr 1fr; }
  .bento-metric--lg { grid-row: auto; grid-column: span 2; }
  .split-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .caso-mockup__inner { max-width: 82vw; }
  .caso-hero { padding: 140px 0 60px; }
  .bento-metrics { grid-template-columns: 1fr; }
  .bento-metric--lg { grid-column: auto; }
  .meta-strip { width: 100%; }
  .meta-strip__item { flex: 1 1 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .fab-wa { bottom: 20px; right: 20px; width: 54px; height: 54px; }
  .caso-cta-wrap { padding: 80px 0; }
}
