  /* =====================================================================
     "QUIÉNES SOMOS" v4 CINEMA — adaptado a la paleta V2
     Diseño & desarrollo: Francisco Javier Zapata · zapabertrans.es
     ===================================================================== */

  /* =============== VARIABLES (paleta nueva) =============== */
  .cfx {
    --gr: #E63946;
    --gr-d: #C1121F;
    --gr-l: #F0616D;
    --gr-hi: #FF9AA2;
    --az: #457B9D;
    --az-d: #1D3557;
    --az-l: #5FA0C4;
    --az-hi: #A8DADC;
    --cr: #F8F9FA;
    --cr-d: #E4E7EA;
    --ng: #0B1626;
    --ng-l: #10203A;
    color: var(--ng);
    font-family: 'Poppins', 'Inter', Arial, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 400;
  }
  .cfx * { box-sizing: border-box; }
  .cfx h1, .cfx h2, .cfx h3, .cfx .ttl {
    font-family: 'Montserrat', Arial, sans-serif;
  }
  .cfx .mono { font-family: 'Space Grotesk', monospace; }

  /* Scroll reveal */
  .cfx [data-rv] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s cubic-bezier(.2,.8,.2,1);
  }
  .cfx [data-rv].on { opacity: 1; transform: translateY(0); }
  .cfx [data-rv="l"]  { transform: translateX(-60px); }
  .cfx [data-rv="r"]  { transform: translateX(60px); }
  .cfx [data-rv="l"].on,
  .cfx [data-rv="r"].on { transform: translateX(0); }
  .cfx [data-rv="scale"] { transform: scale(0.85); }
  .cfx [data-rv="scale"].on { transform: scale(1); }

  /* =====================================================================
     LOADING SCREEN
     ===================================================================== */
  .cfx-loader {
    position: fixed;
    inset: 0;
    background: var(--ng);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    animation: loaderQuita 0.8s ease 2.4s forwards;
  }
  @keyframes loaderQuita {
    to { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(1.1); }
  }
  .cfx-loader.fuera {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .cfx-loader svg { width: 120px; height: 120px; }
  .cfx-loader path {
    stroke: var(--gr);
    stroke-width: 3;
    fill: none;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: dibujar 2.2s ease forwards;
  }
  .cfx-loader .relleno {
    fill: var(--gr);
    opacity: 0;
    animation: aparecer 0.5s ease 1.8s forwards;
  }
  @keyframes dibujar { to { stroke-dashoffset: 0; } }
  @keyframes aparecer { to { opacity: 1; } }
  .cfx-loader .marca {
    position: absolute;
    bottom: 40px;
    color: var(--cr);
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 8px;
    text-transform: uppercase;
    opacity: 0;
    animation: aparecer 0.8s ease 1.5s forwards;
  }

  /* =====================================================================
     CURSOR MÉDICO PERSONALIZADO
     ===================================================================== */
  .cfx-cursor,
  .cfx-cursor-dot {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    top: 0; left: 0;
    display: none;
  }
  .cfx-cursor {
    width: 40px; height: 40px;
    border: 2px solid var(--cr);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
  }
  .cfx-cursor-dot {
    width: 6px; height: 6px;
    background: var(--cr);
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }
  .cfx-cursor.hover {
    width: 70px; height: 70px;
    background: rgba(248,249,250,0.15);
    border-width: 0;
  }
  @media (min-width: 1024px) {
    .cfx-cursor, .cfx-cursor-dot { display: block; }
  }

  /* =====================================================================
     HERO CINEMATOGRÁFICO
     ===================================================================== */
  .cfx-hero {
    position: relative;
    min-height: calc(100vh - 106px);
    padding: 80px 20px;
    background: var(--ng);
    overflow: hidden;
    color: var(--cr);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  /* Gradient mesh background animado */
  .cfx-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 800px 600px at var(--mx,30%) var(--my,30%), rgba(230,57,70,0.4), transparent 60%),
      radial-gradient(ellipse 700px 500px at calc(100% - var(--mx,30%)) calc(100% - var(--my,30%)), rgba(69,123,157,0.4), transparent 60%);
    transition: background 0.4s ease;
    z-index: 0;
  }

  /* Rejilla decorativa */
  .cfx-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(248,249,250,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(248,249,250,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: 0;
    mask-image: radial-gradient(circle at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 70%);
  }

  /* Línea EKG horizontal a lo ancho */
  .cfx-ekg-full {
    position: absolute;
    bottom: 20%;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
  }
  .cfx-ekg-full svg { width: 100%; height: 100%; }
  .cfx-ekg-full path {
    stroke: var(--gr-hi);
    stroke-width: 1.5;
    fill: none;
    filter: drop-shadow(0 0 8px var(--gr));
    stroke-dasharray: 4000;
    stroke-dashoffset: 0;
    animation: ekgRun 3s linear infinite;
  }
  @keyframes ekgRun {
    from { stroke-dashoffset: 4000; }
    to   { stroke-dashoffset: 0; }
  }

  /* Tarjetas flotantes con conceptos clave */
  .cfx-float {
    position: absolute;
    padding: 14px 22px;
    background: rgba(248,249,250,0.06);
    border: 1px solid rgba(248,249,250,0.18);
    border-radius: 100px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--cr);
    font-weight: 600;
    z-index: 1;
    animation: flotarTarj 6s ease-in-out infinite;
    will-change: transform;
  }
  .cfx-float .pt {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gr-hi);
    margin-right: 10px;
    box-shadow: 0 0 12px var(--gr-hi);
    animation: parp 1.5s ease-in-out infinite;
  }
  .cfx-float.azul .pt { background: var(--az-hi); box-shadow: 0 0 12px var(--az-hi); }
  @keyframes parp {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
  }
  .cfx-float.p1 { top: 15%; left: 8%; animation-delay: -1s; }
  .cfx-float.p2 { top: 22%; right: 8%; animation-delay: -3s; }
  .cfx-float.p3 { bottom: 28%; left: 12%; animation-delay: -2s; }
  .cfx-float.p4 { bottom: 18%; right: 14%; animation-delay: -4s; }
  @keyframes flotarTarj {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(8px, -15px); }
  }

  /* Cruz central enorme */
  .cfx-cruz-mega {
    position: relative;
    width: 150px;
    height: 150px;
    z-index: 3;
    margin-bottom: 40px;
  }
  .cfx-cruz-mega .ring {
    position: absolute;
    inset: 0;
    border: 1.5px solid rgba(230,57,70,0.4);
    border-radius: 50%;
    animation: expandR 3s ease-out infinite;
    opacity: 0;
  }
  .cfx-cruz-mega .ring:nth-child(2) { animation-delay: 0.75s; }
  .cfx-cruz-mega .ring:nth-child(3) { animation-delay: 1.5s; }
  .cfx-cruz-mega .ring:nth-child(4) { animation-delay: 2.25s; }
  @keyframes expandR {
    0%   { transform: scale(0.5); opacity: 0.8; border-color: var(--gr); }
    100% { transform: scale(2.2); opacity: 0; border-color: var(--az); }
  }
  .cfx-cruz-svg {
    position: absolute;
    inset: 30px;
    animation: latidoMega 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(230,57,70,0.8));
  }
  @keyframes latidoMega {
    0%, 100% { transform: scale(1); }
    14%      { transform: scale(1.2); }
    28%      { transform: scale(1); }
    42%      { transform: scale(1.15); }
    70%      { transform: scale(1); }
  }
  .cfx-cruz-svg::before,
  .cfx-cruz-svg::after {
    content: "";
    position: absolute;
    background: var(--gr);
    border-radius: 6px;
  }
  .cfx-cruz-svg::before { width: 90px; height: 22px; top: 34px; left: 0; }
  .cfx-cruz-svg::after  { width: 22px; height: 90px; top: 0; left: 34px; }

  /* Etiqueta superior */
  .cfx-hero .tag {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px 8px 8px;
    background: rgba(248,249,250,0.05);
    border: 1px solid rgba(248,249,250,0.15);
    border-radius: 100px;
    margin-bottom: 35px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .cfx-hero .tag .bullet {
    background: var(--gr);
    color: var(--cr);
    padding: 6px 14px;
    border-radius: 100px;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
  }
  .cfx-hero .tag .txt {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--cr);
    font-weight: 600;
  }

  /* Título cinematográfico - palabra por palabra */
  .cfx-hero h1 {
    position: relative;
    z-index: 3;
    font-size: clamp(48px, 9vw, 130px);
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 0.95;
    margin: 0 0 30px;
    color: var(--cr);
    text-shadow: 0 4px 40px rgba(0,0,0,0.6);
  }
  .cfx-hero h1 .l {
    display: inline-block;
    opacity: 0;
    transform: translateY(80px) rotateX(-90deg);
    animation: letraEntra 0.8s cubic-bezier(.2,.8,.2,1) forwards;
  }
  @keyframes letraEntra {
    to { opacity: 1; transform: translateY(0) rotateX(0); }
  }
  .cfx-hero h1 .acento {
    background: linear-gradient(90deg, var(--gr-hi) 0%, var(--az-hi) 50%, var(--gr-hi) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: brillo 4s linear infinite, letraEntra 0.8s cubic-bezier(.2,.8,.2,1) forwards;
  }
  @keyframes brillo { to { background-position: 200% center; } }

  .cfx-hero .sub {
    position: relative;
    z-index: 3;
    font-size: clamp(15px, 1.6vw, 19px);
    color: rgba(248,249,250,0.75);
    max-width: 700px;
    margin: 0 0 50px;
    font-weight: 300;
    animation: aparecer 1s ease 1.5s both;
  }
  .cfx-hero .sub strong { color: var(--cr); font-weight: 600; }

  /* Botones cinemáticos */
  .cfx-hero-btns {
    position: relative;
    z-index: 3;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
    animation: aparecer 1s ease 1.8s both;
  }
  .cfx-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 38px;
    border-radius: 100px;
    text-decoration: none !important;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 12px;
    transition: all 0.4s cubic-bezier(.2,.8,.2,1);
    cursor: pointer;
    border: none;
    font-family: 'Montserrat', sans-serif !important;
    overflow: hidden;
  }
  .cfx-btn.p {
    background: var(--cr) !important;
    color: var(--ng) !important;
    -webkit-text-fill-color: var(--ng) !important;
  }
  .cfx-btn.p::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gr), var(--az-d));
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(.2,.8,.2,1);
    z-index: 0;
  }
  .cfx-btn.p:hover::before { transform: translateY(0); }
  .cfx-btn.p:hover {
    color: var(--cr) !important;
    -webkit-text-fill-color: var(--cr) !important;
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(230,57,70,0.5);
  }
  .cfx-btn.p > * { position: relative; z-index: 1; }
  .cfx-btn.s {
    background: transparent;
    color: var(--cr);
    border: 1.5px solid rgba(248,249,250,0.3);
  }
  .cfx-btn.s:hover {
    background: rgba(248,249,250,0.08);
    border-color: var(--cr);
    transform: translateY(-4px);
  }

  /* Indicador inferior */
  .cfx-scroll-i {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(248,249,250,0.5);
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: bote 2s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .cfx-scroll-i::after {
    content: "";
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, var(--cr), transparent);
  }
  @keyframes bote {
    0%, 100% { transform: translate(-50%, 0); }
    50%      { transform: translate(-50%, 12px); }
  }

  /* =====================================================================
     MARQUESINA INFINITA
     ===================================================================== */
  .cfx-marq {
    background: var(--ng);
    padding: 28px 0;
    overflow: hidden;
    border-top: 1px solid rgba(248,249,250,0.08);
    border-bottom: 1px solid rgba(248,249,250,0.08);
    position: relative;
  }
  .cfx-marq-track {
    display: flex;
    gap: 60px;
    animation: marq 30s linear infinite;
    white-space: nowrap;
    width: max-content;
  }
  @keyframes marq {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  .cfx-marq span {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(20px, 3vw, 36px);
    font-weight: 900;
    letter-spacing: 0;
    color: rgba(248,249,250,0.32);
    text-transform: uppercase;
    transition: color 0.3s ease;
  }
  .cfx-marq span:hover {
    color: var(--gr);
  }
  .cfx-marq span::after {
    content: "✚";
    margin-left: 60px;
    color: var(--gr);
    -webkit-text-stroke: 0;
  }

  /* =====================================================================
     STATS CON ANILLOS
     ===================================================================== */
  .cfx-stats {
    background: var(--cr);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
  }
  .cfx-stats-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
  }
  .cfx-stat { text-align: center; position: relative; }
  .cfx-stat .ring-wrap {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
  }
  .cfx-stat .ring-wrap svg {
    width: 100%; height: 100%;
    transform: rotate(-90deg);
  }
  .cfx-stat .ring-bg {
    fill: none;
    stroke: rgba(230,57,70,0.1);
    stroke-width: 4;
  }
  .cfx-stat .ring-fg {
    fill: none;
    stroke: var(--gr);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 440;
    stroke-dashoffset: 440;
    transition: stroke-dashoffset 2s cubic-bezier(.2,.8,.2,1);
  }
  .cfx-stat:nth-child(2) .ring-bg { stroke: rgba(29,53,87,0.1); }
  .cfx-stat:nth-child(2) .ring-fg { stroke: var(--az-d); }
  .cfx-stat:nth-child(4) .ring-bg { stroke: rgba(29,53,87,0.1); }
  .cfx-stat:nth-child(4) .ring-fg { stroke: var(--az-d); }
  .cfx-stat.on .ring-fg { stroke-dashoffset: 0; }
  .cfx-stat .num {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 900;
    color: var(--gr);
    line-height: 1;
    letter-spacing: -1px;
  }
  .cfx-stat:nth-child(2) .num,
  .cfx-stat:nth-child(4) .num { color: var(--az-d); }
  .cfx-stat .lbl {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: var(--ng);
    opacity: 0.65;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    font-weight: 600;
  }

  /* =====================================================================
     SOBRE NOSOTROS - storytelling
     ===================================================================== */
  .cfx-sobre {
    padding: 130px 20px;
    background: var(--cr);
    position: relative;
    overflow: hidden;
  }
  .cfx-sobre::before {
    content: "QUIÉNES SOMOS";
    position: absolute;
    top: 50px;
    left: -2%;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(80px, 18vw, 240px);
    font-weight: 900;
    color: rgba(230,57,70,0.04);
    letter-spacing: -8px;
    pointer-events: none;
    white-space: nowrap;
  }
  .cfx-sobre-in {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
  }
  .cfx-lbl {
    color: var(--gr);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 25px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-family: 'Montserrat', sans-serif;
  }
  .cfx-lbl::before {
    content: "";
    width: 40px;
    height: 1.5px;
    background: var(--gr);
  }
  .cfx-h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    color: var(--ng);
    font-weight: 800;
    margin: 0 0 30px;
    line-height: 1.05;
    letter-spacing: -2px;
  }
  .cfx-h2 .marc { color: var(--gr); position: relative; display: inline-block; }
  .cfx-h2 .marc::after {
    content: "";
    position: absolute;
    bottom: 6px; left: -4px;
    width: calc(100% + 8px); height: 14px;
    background: rgba(230,57,70,0.18);
    z-index: -1;
    border-radius: 2px;
    transform: skewX(-4deg);
  }
  .cfx-h2 .marc.az { color: var(--az-d); }
  .cfx-h2 .marc.az::after { background: rgba(29,53,87,0.18); }
  .cfx-sobre p {
    font-size: 16px;
    color: #444;
    margin: 0 0 22px;
  }
  .cfx-sobre p strong { color: var(--az-d); font-weight: 600; }

  .cfx-sobre-img {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 30px;
    overflow: hidden;
  }
  .cfx-sobre-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
  }
  .cfx-sobre-img:hover img { transform: scale(1.05); }
  .cfx-sobre-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(230,57,70,0.25) 0%, transparent 50%, rgba(29,53,87,0.25) 100%);
  }
  .cfx-sobre-img .marco {
    position: absolute;
    inset: 15px;
    border: 1px solid rgba(248,249,250,0.4);
    border-radius: 22px;
    pointer-events: none;
    z-index: 2;
  }
  .cfx-sobre-img .badge {
    position: absolute;
    bottom: 30px; left: 30px;
    background: var(--cr);
    padding: 14px 22px;
    border-radius: 100px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: var(--gr);
    letter-spacing: 2.5px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .cfx-sobre-img .badge::before {
    content: "";
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--gr);
    animation: parp 1.5s ease-in-out infinite;
  }

  /* =====================================================================
     VALORES - magnetic cards
     ===================================================================== */
  .cfx-vals {
    padding: 130px 20px;
    background: var(--ng);
    color: var(--cr);
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .cfx-vals::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 20% 20%, rgba(230,57,70,0.15), transparent 40%),
      radial-gradient(circle at 80% 80%, rgba(69,123,157,0.15), transparent 40%);
  }
  .cfx-vals .head {
    max-width: 720px;
    margin: 0 auto 70px;
    position: relative;
    z-index: 1;
  }
  .cfx-vals .head .cfx-lbl { color: var(--gr-hi); }
  .cfx-vals .head .cfx-lbl::before { background: var(--gr-hi); }
  .cfx-vals .head .cfx-h2 { color: var(--cr); }
  .cfx-vals .head p { color: rgba(248,249,250,0.7); margin: 0; font-size: 16px; }

  .cfx-val-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  .cfx-val {
    position: relative;
    padding: 50px 32px;
    background: rgba(248,249,250,0.03);
    border: 1px solid rgba(248,249,250,0.1);
    border-radius: 28px;
    transition: all 0.5s cubic-bezier(.2,.8,.2,1);
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .cfx-val::before {
    content: "";
    position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(230,57,70,0.4), transparent 70%);
    border-radius: 50%;
    top: var(--vy, 50%); left: var(--vx, 50%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
  }
  .cfx-val:nth-child(2)::before,
  .cfx-val:nth-child(4)::before {
    background: radial-gradient(circle, rgba(69,123,157,0.5), transparent 70%);
  }
  .cfx-val:hover { border-color: rgba(248,249,250,0.3); }
  .cfx-val:hover::before { opacity: 1; }
  .cfx-val > * { position: relative; z-index: 1; }

  .cfx-val .n {
    font-family: 'Space Grotesk', monospace;
    font-size: 11px;
    font-weight: 700;
    color: var(--gr-hi);
    letter-spacing: 4px;
    margin-bottom: 25px;
    display: block;
  }
  .cfx-val:nth-child(2) .n,
  .cfx-val:nth-child(4) .n { color: var(--az-hi); }

  .cfx-val .ico {
    width: 60px; height: 60px;
    margin-bottom: 30px;
    color: var(--cr);
  }
  .cfx-val .ico svg {
    width: 100%; height: 100%;
    stroke: var(--cr);
    fill: none;
    stroke-width: 1.5;
  }
  .cfx-val h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    margin: 0 0 14px;
    color: var(--cr);
    font-weight: 800;
    letter-spacing: -0.5px;
  }
  .cfx-val p {
    font-size: 14px;
    color: rgba(248,249,250,0.65);
    margin: 0;
    line-height: 1.6;
  }

  /* =====================================================================
     TIMELINE SVG SERPENTEANTE
     ===================================================================== */
  .cfx-time {
    padding: 130px 20px;
    background: var(--cr);
    position: relative;
    overflow: hidden;
  }
  .cfx-time .head { text-align: center; max-width: 720px; margin: 0 auto 80px; }
  .cfx-time .head p { color: #666; margin: 0; font-size: 16px; }
  .cfx-time-wrap {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
  }
  .cfx-time-svg {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100% - 60px);
    pointer-events: none;
    z-index: 0;
  }
  .cfx-time-svg path {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    transition: stroke-dashoffset 2.5s ease;
  }
  .cfx-time.on .cfx-time-svg path { stroke-dashoffset: 0; }
  .cfx-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
  }
  .cfx-step {
    text-align: center;
    padding: 30px 20px;
    background: var(--cr);
    border-radius: 24px;
    position: relative;
    transition: transform 0.4s ease;
  }
  .cfx-step:hover { transform: translateY(-8px); }
  .cfx-step .dot {
    width: 60px; height: 60px;
    margin: 0 auto 25px;
    background: var(--cr);
    border: 3px solid var(--gr);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--gr);
    box-shadow: 0 0 0 8px rgba(230,57,70,0.1), 0 10px 30px rgba(230,57,70,0.2);
  }
  .cfx-step:nth-child(even) .dot {
    border-color: var(--az-d);
    color: var(--az-d);
    box-shadow: 0 0 0 8px rgba(29,53,87,0.1), 0 10px 30px rgba(29,53,87,0.2);
  }
  .cfx-step h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: var(--ng);
    margin: 0 0 12px;
    font-weight: 800;
    letter-spacing: -0.3px;
  }
  .cfx-step p {
    color: #666;
    margin: 0;
    font-size: 13.5px;
    line-height: 1.6;
  }

  /* =====================================================================
     EQUIPO - cinematic con spotlight
     ===================================================================== */
  .cfx-eq {
    position: relative;
    padding: 130px 20px;
    background: var(--ng);
    overflow: hidden;
  }
  .cfx-eq::before {
    content: "";
    position: absolute;
    width: 600px; height: 600px;
    top: var(--ey, 50%); left: var(--ex, 50%);
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(230,57,70,0.35), transparent 70%);
    pointer-events: none;
    transition: top 0.4s ease, left 0.4s ease;
    z-index: 0;
  }
  .cfx-eq::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(248,249,250,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(248,249,250,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
  }
  .cfx-eq .head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 80px;
    position: relative;
    z-index: 1;
  }
  .cfx-eq .head .cfx-lbl { color: var(--gr-hi); }
  .cfx-eq .head .cfx-lbl::before { background: var(--gr-hi); }
  .cfx-eq .head .cfx-h2 { color: var(--cr); }
  .cfx-eq .head p { color: rgba(248,249,250,0.7); margin: 0; font-size: 16px; }

  .cfx-eq-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    perspective: 1200px;
    position: relative;
    z-index: 1;
  }
  .cfx-card {
    position: relative;
    width: 280px;
    height: 380px;
    border-radius: 28px;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
  }
  .cfx-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 30px;
    background: conic-gradient(from var(--ang, 0deg),
      var(--gr), var(--az), var(--gr-hi), var(--az-hi), var(--gr));
    z-index: -1;
    animation: rotaB 8s linear infinite;
    opacity: 0.7;
  }
  .cfx-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    box-shadow: 0 0 40px rgba(230,57,70,0);
    transition: box-shadow 0.5s ease;
    pointer-events: none;
  }
  .cfx-card:hover::after {
    box-shadow: 0 0 80px rgba(230,57,70,0.6);
  }
  @property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
  @keyframes rotaB { to { --ang: 360deg; } }
  .cfx-card .img {
    position: absolute;
    inset: 0;
    border-radius: 26px;
    overflow: hidden;
    background: #111;
  }
  .cfx-card .img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1s ease, filter 0.6s ease;
    filter: grayscale(15%) contrast(1.05) brightness(0.95);
  }
  .cfx-card .img::after {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(248,249,250,0.5) 50%, transparent 100%);
    transform: skewX(-20deg);
    transition: left 0.9s ease;
  }
  .cfx-card:hover .img::after { left: 150%; }

  .cfx-card .info {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    padding: 26px 22px 22px;
    background: linear-gradient(to top,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,0.98) 40%,
      rgba(0,0,0,0.85) 70%,
      rgba(0,0,0,0.4) 90%,
      transparent 100%);
    border-radius: 0 0 26px 26px;
    color: var(--cr);
    z-index: 2;
    transition: opacity 0.3s ease;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .cfx-card .info .pin {
    font-family: 'Space Grotesk', monospace;
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--gr-hi);
    text-transform: uppercase;
    margin: 0 0 6px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.9);
  }
  .cfx-card .info h3 {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.9);
    line-height: 1.15;
  }
  .cfx-card .info .cargo {
    font-family: 'Montserrat', sans-serif;
    margin: 8px 0 0;
    font-size: 10.5px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gr-hi);
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(0,0,0,0.9);
  }
  .cfx-overlay {
    position: absolute;
    inset: 0;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(230,57,70,0.92), rgba(29,53,87,0.92));
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 35px 26px;
    color: var(--cr);
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(.2,.8,.2,1);
    z-index: 3;
  }
  .cfx-card:hover { transform: translateY(-20px) rotateX(4deg) rotateY(-2deg); }
  .cfx-card:hover .cfx-overlay { opacity: 1; transform: scale(1); }
  .cfx-card:hover .img img { transform: scale(1.18); filter: grayscale(0%) contrast(1.1) brightness(1); }
  .cfx-card:hover .info { opacity: 0; }

  .cfx-overlay .pin {
    font-family: 'Space Grotesk', monospace;
    font-size: 10px;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    margin: 0 0 12px;
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 100px;
  }
  .cfx-overlay h3 {
    font-family: 'Montserrat', sans-serif;
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  }
  .cfx-overlay .cargo {
    font-family: 'Montserrat', sans-serif;
    color: rgba(255,255,255,0.85);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0 0 22px;
    font-weight: 700;
  }
  .cfx-overlay .bio {
    font-size: 13.5px;
    line-height: 1.7;
    color: rgba(255,255,255,0.92);
    margin: 0;
  }
  .cfx-overlay::before {
    content: "";
    position: absolute;
    top: 30px; left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 2px;
    background: rgba(255,255,255,0.4);
  }

  /* =====================================================================
     TESTIMONIOS
     ===================================================================== */
  .cfx-test {
    padding: 130px 20px;
    background: var(--cr);
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .cfx-test::before {
    content: "❝";
    position: absolute;
    top: -50px; right: 5%;
    font-size: 400px;
    color: rgba(230,57,70,0.05);
    font-family: Georgia, serif;
    pointer-events: none;
    line-height: 1;
  }
  .cfx-test .head { max-width: 720px; margin: 0 auto 70px; position: relative; }
  .cfx-test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
  }
  .cfx-tcard {
    background: #fff;
    padding: 40px 32px;
    border-radius: 24px;
    text-align: left;
    position: relative;
    transition: all 0.5s cubic-bezier(.2,.8,.2,1);
    border: 1px solid rgba(0,0,0,0.05);
  }
  .cfx-tcard::before {
    content: "";
    position: absolute;
    top: 0; left: 30px;
    width: 60px; height: 4px;
    background: var(--gr);
    border-radius: 0 0 4px 4px;
  }
  .cfx-tcard:nth-child(2)::before { background: var(--az-d); }
  .cfx-tcard:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
  }
  .cfx-tcard .quo {
    font-family: Georgia, serif;
    font-size: 70px;
    color: var(--gr);
    line-height: 0.8;
    margin: 10px 0 15px;
    opacity: 0.3;
  }
  .cfx-tcard:nth-child(2) .quo { color: var(--az-d); }
  .cfx-tcard p {
    color: #333;
    margin: 0 0 28px;
    font-size: 15px;
    line-height: 1.7;
    font-style: italic;
  }
  .cfx-tcard .stars {
    color: var(--gr);
    font-size: 16px;
    margin-bottom: 18px;
    letter-spacing: 2px;
  }
  .cfx-tcard:nth-child(2) .stars { color: var(--az-d); }
  .cfx-tcard .who { display: flex; align-items: center; gap: 14px; }
  .cfx-tcard .ini {
    font-family: 'Montserrat', sans-serif;
    width: 50px; height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gr), var(--gr-d));
    color: var(--cr);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
  }
  .cfx-tcard:nth-child(2) .ini {
    background: linear-gradient(135deg, var(--az), var(--az-d));
  }
  .cfx-tcard .who-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--ng);
    font-size: 14px;
  }
  .cfx-tcard .who-role { font-size: 12px; color: #888; margin-top: 2px; }

  /* =====================================================================
     CTA INMERSIVO con heartbeat full-width
     ===================================================================== */
  .cfx-cta {
    padding: 130px 20px;
    background: linear-gradient(135deg, var(--gr) 0%, var(--gr-d) 50%, var(--az-d) 100%);
    text-align: center;
    color: var(--cr);
    position: relative;
    overflow: hidden;
  }
  .cfx-cta::before {
    content: "";
    position: absolute;
    top: 50%; left: 0;
    width: 100%; height: 200px;
    transform: translateY(-50%);
    background-image:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 200' preserveAspectRatio='none'%3E%3Cpath d='M0,100 L100,100 L130,40 L160,160 L190,60 L220,140 L250,100 L500,100 L530,40 L560,160 L590,60 L620,140 L650,100 L900,100 L930,40 L960,160 L990,60 L1000,100' stroke='rgba(255,255,255,0.12)' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 1000px 200px;
    animation: ekgFull 8s linear infinite;
    pointer-events: none;
  }
  @keyframes ekgFull {
    from { background-position: 0 50%; }
    to   { background-position: 1000px 50%; }
  }
  .cfx-cta-in {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
  }
  .cfx-cta h2 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(34px, 5.5vw, 60px) !important;
    margin: 0 0 24px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    letter-spacing: -1.5px !important;
    color: #ffffff !important;
    text-shadow: 0 4px 30px rgba(0,0,0,0.4);
  }
  .cfx-cta p {
    margin: 0 0 45px !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    color: #f5f3eb !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  }
  .cfx-cta .cfx-btn.p,
  .cfx-cta .cfx-btn.p:link,
  .cfx-cta .cfx-btn.p:visited {
    background: var(--cr) !important;
    color: var(--gr) !important;
    -webkit-text-fill-color: var(--gr) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  }
  .cfx-cta .cfx-btn.p:hover {
    color: var(--cr) !important;
    -webkit-text-fill-color: var(--cr) !important;
  }
  .cfx-cta .cfx-btn.p::before {
    background: linear-gradient(135deg, var(--ng), var(--gr-d)) !important;
  }

  /* =====================================================================
     FIRMA AUTOR
     ===================================================================== */
  .cfx-firma {
    background: var(--ng);
    padding: 28px 20px;
    text-align: center;
    border-top: 1px solid rgba(248,249,250,0.08);
    position: relative;
    overflow: hidden;
  }
  .cfx-firma::before {
    content: "";
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 100px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gr), var(--az), transparent);
  }
  .cfx-firma-in {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
    font-size: 10.5px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(248,249,250,0.55);
    font-weight: 500;
    line-height: 1.8;
  }
  .cfx-firma-in .nombre { color: #f1efe7; font-weight: 800; }
  .cfx-firma-in .heart {
    display: inline-block;
    color: var(--gr-hi);
    margin: 0 6px;
    animation: heart 1.5s ease-in-out infinite;
  }
  @keyframes heart {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.3); }
  }
  .cfx-firma-in a {
    color: var(--gr-hi);
    text-decoration: none;
    font-weight: 800;
    transition: color 0.3s ease;
  }
  .cfx-firma-in a:hover { color: #ffffff; }
  .cfx-firma-in .pipe { color: rgba(248,249,250,0.2); margin: 0 12px; }

  /* =====================================================================
     RESPONSIVE
     ===================================================================== */
  @media (max-width: 1024px) {
    .cfx-float { display: none; }
  }
  @media (max-width: 768px) {
    .cfx-sobre-in { grid-template-columns: 1fr; gap: 50px; }
    .cfx-card { width: 240px; height: 340px; }
    .cfx-steps { grid-template-columns: 1fr 1fr; }
    .cfx-time-svg { display: none; }
    .cfx-stat .ring-wrap { width: 130px; height: 130px; }
    .cfx-stat .num { font-size: 30px; }
    .cfx-firma-in { font-size: 9.5px; letter-spacing: 1.5px; }
    .cfx-firma-in .pipe { margin: 0 6px; }
  }
  @media (max-width: 480px) {
    .cfx-steps { grid-template-columns: 1fr; }
  }
