  /* ════════════════════════════════════════════════════════
     QREDIO · TESTIMONIALS + LIVE STATS (Direction C)
     Drop the <style> block + the HTML below into your home page.
     The JS at the bottom handles count-up + live-feed drift +
     carousel. No frameworks, ~3KB minified.
     ════════════════════════════════════════════════════════ */

  :root {
    --qrr-bg:          #0B0A1F;
    --qrr-bg-glow:     rgba(139,60,255,0.16);
    --qrr-panel:       #1B1336;
    --qrr-panel-2:     #14102A;
    --qrr-border:      rgba(199,168,255,0.14);

    --qrr-purple:        #8B3CFF;
    --qrr-purple-deep:   #6B25D8;
    --qrr-purple-light:  #C7A8FF;

    --qrr-text:        #F4EEE3;
    --qrr-text-dim:    #B8B0C9;
    --qrr-text-mute:   #8C829F;
    --qrr-live:        #7CE6B3;
    --qrr-star:        #FFC857;

    --qrr-sans: 'Manrope', system-ui, -apple-system, sans-serif;
    --qrr-serif: 'Instrument Serif', Georgia, serif;
  }

  /* ─── Page section ─── */
  .qredio-reviews {
    background:
      radial-gradient(ellipse at top center, var(--qrr-bg-glow) 0%, transparent 55%),
      transparent;
    padding: 96px 64px 112px;
    font-family: var(--qrr-sans);
    color: var(--qrr-text);
    position: relative;
  z-index: 5;
  isolation: isolate;
}
  .qredio-reviews__inner { max-width: 1080px; margin: 0 auto; text-align: center; }

  /* ─── Eyebrow ("Este año…", "Casos de éxito") ─── */
  .qredio-reviews__eyebrow {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--qrr-text-mute);
    text-align: center;
    margin-bottom: 18px;
  }
  .qredio-reviews__eyebrow--branded {
    color: var(--qrr-purple-light);
    margin: 0 0 40px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
  }
  .qredio-reviews__eyebrow--branded::before,
  .qredio-reviews__eyebrow--branded::after {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--qrr-purple-light);
    opacity: 0.5;
  }

  /* ─── Stats row ─── */
  .qredio-reviews__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-bottom: 64px;
    border-top: 1px solid var(--qrr-border);
    border-bottom: 1px solid var(--qrr-border);
    padding: 32px 0;
    position: relative;
  }
  .qredio-reviews__stats::before,
  .qredio-reviews__stats > .qredio-reviews__stat + .qredio-reviews__stat::before {
    /* Vertical divider between stats */
    content: '';
    position: absolute;
    top: 32px;
    bottom: 32px;
    width: 1px;
    background: var(--qrr-border);
  }
  .qredio-reviews__stats > .qredio-reviews__stat:nth-child(2)::before { left: 25%; }
  .qredio-reviews__stats > .qredio-reviews__stat:nth-child(3)::before { left: 50%; }
  .qredio-reviews__stats > .qredio-reviews__stat:nth-child(4)::before { left: 75%; }
  .qredio-reviews__stats::before { display: none; }

  .qredio-reviews__stat {
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .qredio-reviews__stat-num-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
  }
  .qredio-reviews__stat-prefix {
    font-family: var(--qrr-serif);
    font-style: italic;
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--qrr-purple-light);
  }
  .qredio-reviews__stat-num {
    font-family: var(--qrr-serif);
    font-style: italic;
    font-size: 56px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--qrr-text);
    font-variant-numeric: tabular-nums;
  }
  .qredio-reviews__stat-suffix {
    font-family: var(--qrr-serif);
    font-style: italic;
    font-size: 28px;
    font-weight: 400;
    color: var(--qrr-purple-light);
    letter-spacing: -0.02em;
  }
  .qredio-reviews__stat-label {
    font-family: var(--qrr-sans);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--qrr-text-mute);
    text-align: center;
  }

  /* ─── Live indicator (top-right of stats) ─── */
  .qredio-reviews__live {
    position: absolute;
    top: 12px;
    right: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--qrr-text-mute);
  }
  .qredio-reviews__live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--qrr-live);
    box-shadow: 0 0 0 4px rgba(124,230,179,0.18);
    animation: qrr-pulse 2s ease-in-out infinite;
  }
  @keyframes qrr-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(124,230,179,0.18); }
    50%      { box-shadow: 0 0 0 8px rgba(124,230,179,0.05); }
  }

  /* ─── Testimonial quote ─── */
  .qredio-reviews__quote {
    font-family: var(--qrr-serif);
    font-style: italic;
    font-weight: 400;
    font-size: 52px;
    line-height: 1.15;
    letter-spacing: -0.022em;
    color: var(--qrr-text);
    margin: 0 0 56px;
  }
  .qredio-reviews__quote-mark {
    font-family: var(--qrr-serif);
    font-size: 80px;
    line-height: 0.5;
    vertical-align: top;
    color: var(--qrr-purple-light);
    opacity: 0.65;
    margin-right: 6px;
  }

  /* ─── Attribution ─── */
  .qredio-reviews__attrib {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 18px;
  }
  .qredio-reviews__photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: center/cover;
    border: 2px solid var(--qrr-purple-light);
    flex: none;
  }
  .qredio-reviews__attrib-text { text-align: left; }
  .qredio-reviews__attrib-name {
    font-weight: 700;
    font-size: 17px;
    color: var(--qrr-text);
    letter-spacing: -0.005em;
  }
  .qredio-reviews__attrib-meta {
    font-size: 14px;
    color: var(--qrr-text-dim);
    margin-top: 2px;
  }
  .qredio-reviews__attrib-extra {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
  }
  .qredio-reviews__stars { display: inline-flex; gap: 2px; color: var(--qrr-star); font-size: 16px; }
  .qredio-reviews__amount {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--qrr-purple-light);
  }

  /* ─── Carousel navigation ─── */
  .qredio-reviews__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 36px;
  }
  .qredio-reviews__arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--qrr-border);
    background: rgba(199,168,255,0.08);
    color: var(--qrr-text);
    font-family: var(--qrr-sans);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, border-color .15s;
  }
  .qredio-reviews__arrow:hover {
    background: rgba(199,168,255,0.14);
    border-color: rgba(199,168,255,0.28);
  }
  .qredio-reviews__dots { display: flex; gap: 8px; }
  .qredio-reviews__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(199,168,255,0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width .25s, background .15s;
  }
  .qredio-reviews__dot--active {
    width: 28px;
    background: var(--qrr-purple);
  }

  /* ─── Responsive ─── */
  @media (max-width: 860px) {
    .qredio-reviews { padding: 64px 24px 80px; }
    .qredio-reviews__quote { font-size: 32px; }
    .qredio-reviews__quote-mark { font-size: 56px; }
    .qredio-reviews__stats { grid-template-columns: 1fr 1fr; gap: 32px 0; }
    .qredio-reviews__stats > .qredio-reviews__stat:nth-child(n)::before { display: none; }
    .qredio-reviews__stat-num { font-size: 42px; }
    .qredio-reviews__attrib { flex-direction: column; gap: 12px; }
    .qredio-reviews__attrib-text { text-align: center; }
    .qredio-reviews__attrib-extra { justify-content: center; }
  }


/* Push the homepage animated glow (div-block-217) a bit lower so it does not hug the reviews seam */
.div-block-217 { transform: translateY(150px); }

/* === Section-10 home cards hover images (added 2026-05-28) === */
/* Hide the original shared handshake overlay used by Webflow IX2 */
section.section-10 .div-block-231,
section.section-10 .div-block-231[style] {
  display: none !important;
  background-image: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  content-visibility: hidden !important;
}

/* Cards need clipping + relative positioning for our ::before overlay */
section.section-10 .div-block-12,
section.section-10 .div-block-13,
section.section-10 .div-block-14 {
  position: relative;
  overflow: hidden;
}

/* Card content stays above the hover image */
section.section-10 .div-block-12 > .div-block-93,
section.section-10 .div-block-13 > .div-block-94,
section.section-10 .div-block-14 > .div-block-94 {
  position: relative;
  z-index: 2;
}

/* Per-card hover image overlay */
section.section-10 .div-block-12.img-transition::before,
section.section-10 .div-block-13::before,
section.section-10 .div-block-14::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  border-radius: 20px;
  opacity: 0;
  transition: opacity .4s ease-in-out;
  z-index: 1;
  pointer-events: none;
}
section.section-10 .div-block-12.img-transition:hover::before,
section.section-10 .div-block-13:hover::before,
section.section-10 .div-block-14:hover::before {
  opacity: 1;
}

/* Per-card images */
section.section-10 .div-block-12.img-transition::before { background-image: url("/qredio-home/aprovecha-oportunidades.png"); }
section.section-10 .div-block-13::before { background-image: url("/qredio-home/surtete.png"); }
section.section-10 .div-block-14::before { background-image: url("/qredio-home/a-toda-marcha.png"); }


/* === Section-10 cards: bigger height to hold hover images without cropping heads === */
section.section-10 .div-block-12,
section.section-10 .div-block-13,
section.section-10 .div-block-14 {
  min-height: 520px !important;
  padding-top: 56px !important;
  padding-bottom: 56px !important;
}

/* === Section-10 hover behavior: image only + green heading at bottom (2026-05-28) === */
/* Fade out the body text + remove panel tint on hover so image is clean */
section.section-10 .div-block-12,
section.section-10 .div-block-13,
section.section-10 .div-block-14,
section.section-10 .div-block-12:hover,
section.section-10 .div-block-13:hover,
section.section-10 .div-block-14:hover {
  background-image: none !important;
}
section.section-10 .div-block-12:hover,
section.section-10 .div-block-13:hover,
section.section-10 .div-block-14:hover {
  background-color: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
section.section-10 .div-block-12:hover .div-block-93,
section.section-10 .div-block-13:hover .div-block-94,
section.section-10 .div-block-14:hover .div-block-94 {
  opacity: 0;
  transition: opacity .3s ease;
}

/* Bottom-center heading label (only shown on hover) */
section.section-10 .div-block-12.img-transition::after,
section.section-10 .div-block-13::after,
section.section-10 .div-block-14::after {
  position: absolute;
  bottom: 28px;
  left: 32px;
  right: 32px;
  text-align: left;
  color: #7CE6B3;
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 18px rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity .35s ease .15s;
  z-index: 3;
  pointer-events: none;
}
section.section-10 .div-block-12.img-transition::after { content: "Aprovecha oportunidades."; }
section.section-10 .div-block-13::after { content: "Súrtete."; }
section.section-10 .div-block-14::after { content: "¡A toda marcha!"; }

section.section-10 .div-block-12.img-transition:hover::after,
section.section-10 .div-block-13:hover::after,
section.section-10 .div-block-14:hover::after {
  opacity: 1;
}
