/* Estilos de la página principal */
.hero { padding: 72px 24px 100px; position: relative; overflow: hidden; isolation: isolate; }
#fondo-hero { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; display: block; pointer-events: none; }
.hero-inner {
      max-width: 1180px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      align-items: center;
      gap: 64px;
    }
.fecha {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 7px 16px 7px 12px;
      border-radius: 999px;
      background: var(--white);
      font-weight: 600;
      font-size: 0.95rem;
      box-shadow: 0 4px 14px rgba(42, 58, 156, 0.12);
    }
.fecha::before {
      content: "";
      width: 10px; height: 10px;
      border-radius: 50%;
      background: var(--yellow);
      box-shadow: 0 0 0 3px rgba(255, 230, 0, 0.4);
    }
.hero-title {
      margin: 22px 0 18px;
      font-size: clamp(2.8rem, 7vw, 5.2rem);
      font-weight: 800;
      line-height: 1;
      letter-spacing: -2px;
    }
.hero-lema {
      font-size: clamp(1.2rem, 2.4vw, 1.55rem);
      font-weight: 600;
      color: var(--blue);
      margin-bottom: 14px;
    }
.hero-text { max-width: 520px; color: var(--dim); font-size: 1.05rem; }
.match {
      justify-self: center;
      width: min(100%, 470px);
      padding: 30px 26px 34px;
      border-radius: 32px;
      background: linear-gradient(160deg, #ffffff 0%, #e4e8ff 100%);
      box-shadow: 0 30px 60px rgba(42, 58, 156, 0.2);
    }
.match-cabecera {
      display: grid;
      grid-template-columns: 1fr 64px 1fr;
      margin-bottom: 14px;
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--dim);
    }
.match-cabecera span:last-child { text-align: right; }
.fila {
      --d: 0s;
      display: grid;
      grid-template-columns: 1fr 64px 1fr;
      align-items: center;
      margin-bottom: 18px;
    }
.fila:last-child { margin-bottom: 0; }
.fila:nth-of-type(2) { --d: 1.4s; }
.fila:nth-of-type(3) { --d: 2.8s; }
.chip {
      padding: 16px 14px;
      border-radius: 18px;
      background: var(--white);
      color: var(--navy);
      font-weight: 700;
      font-size: 0.98rem;
      line-height: 1.2;
      box-shadow: 0 6px 16px rgba(42, 58, 156, 0.14);
      animation: chip 7s ease-in-out var(--d) infinite;
    }
.chip-der { text-align: right; }
@keyframes chip {
      0%, 30% { background: #fff; color: #10153d; transform: scale(1); }
      38%, 85% { background: #2a3a9c; color: #fff; transform: scale(1.04); }
      95%, 100% { background: #fff; color: #10153d; transform: scale(1); }
    }
.enlace {
      position: relative;
      height: 40px;
    }
.enlace::before {
      content: "";
      position: absolute;
      left: 0; right: 0; top: 50%;
      border-top: 2px dashed rgba(16, 21, 61, 0.22);
    }
.linea {
      position: absolute;
      left: 0; right: 0; top: 50%;
      height: 5px;
      margin-top: -2.5px;
      border-radius: 3px;
      background: var(--blue);
      transform-origin: left center;
      transform: scaleX(0);
      animation: linea 7s ease-in-out var(--d) infinite;
    }
@keyframes linea {
      0%, 8% { transform: scaleX(0); }
      30%, 85% { transform: scaleX(1); }
      95%, 100% { transform: scaleX(0); }
    }
.ok {
      position: absolute;
      left: 50%; top: 50%;
      width: 32px; height: 32px;
      margin: -16px 0 0 -16px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: var(--yellow);
      color: var(--navy);
      font-weight: 800;
      font-size: 1rem;
      box-shadow: 0 4px 12px rgba(255, 230, 0, 0.7);
      transform: scale(0);
      animation: ok 7s ease-in-out var(--d) infinite;
    }
@keyframes ok {
      0%, 28% { transform: scale(0); }
      36% { transform: scale(1.35); }
      42%, 85% { transform: scale(1); }
      92%, 100% { transform: scale(0); }
    }
.como { padding: 40px 24px 110px; }
.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.paso { border-top: 3px solid var(--navy); padding-top: 22px; }
.paso-num {
      display: block;
      font-size: 4.2rem;
      font-weight: 800;
      line-height: 1;
      color: transparent;
      -webkit-text-stroke: 2px var(--blue);
      margin-bottom: 14px;
    }
.paso h3 { font-size: 1.35rem; margin-bottom: 8px; }
.paso p { color: var(--dim); }
.partido { display: grid; grid-template-columns: 1fr 1fr; }
.mitad { padding: 90px 40px; display: flex; flex-direction: column; align-items: flex-start; }
.mitad > * { max-width: 460px; width: 100%; }
.mitad-empresa { background: var(--yellow); color: var(--navy); align-items: flex-end; }
.mitad-visitante { background: var(--navy); color: var(--white); }
.mitad h3 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -1px; line-height: 1.1; margin-bottom: 14px; }
.mitad p { margin-bottom: 18px; font-size: 1.05rem; }
.mitad ul { list-style: none; margin-bottom: 32px; }
.mitad li { padding: 8px 0 8px 32px; position: relative; font-weight: 600; border-bottom: 1px solid rgba(128, 128, 160, 0.3); }
.mitad li::before {
      content: "✓";
      position: absolute;
      left: 0;
      font-weight: 800;
    }
.mitad-visitante li::before { color: var(--yellow); }
.mitad .btn { width: auto; }
.final { padding: 110px 24px; text-align: center; }
.final .titulo-seccion { margin-bottom: 12px; }
.final p { color: var(--dim); margin-bottom: 32px; font-size: 1.05rem; }
.final .hero-buttons { justify-content: center; margin-top: 0; }
.contador { display: flex; gap: 14px; margin-top: 28px; }
.cont-bloque {
      min-width: 78px;
      padding: 14px 10px;
      border-radius: 18px;
      background: var(--navy);
      color: var(--white);
      text-align: center;
      box-shadow: 0 8px 20px rgba(42, 58, 156, 0.2);
    }
.cont-bloque b { display: block; font-size: 2rem; font-weight: 800; line-height: 1; color: var(--yellow); }
.cont-bloque span { font-size: 0.8rem; font-weight: 600; }
.cont-fin { font-weight: 700; color: var(--blue); }
.hero-title { color: var(--white); }
.hero .hero-lema { color: #a9c1ff; }
.hero .hero-text { color: #d3ddff; }
.hero .cont-bloque { background: rgba(5, 12, 44, 0.85); border: 1px solid rgba(140, 175, 255, 0.35); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
.hero .match { box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }
.hero .cont-fin { color: var(--yellow); }
@media (max-width: 900px) {
  .contador { gap: 8px; }
  .cont-bloque { min-width: 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .pasos { grid-template-columns: 1fr; gap: 34px; }
  .partido { grid-template-columns: 1fr; }
  .mitad { padding: 64px 24px; }
  .mitad-empresa { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .chip, .linea, .ok { animation: none; }
  .chip { background: var(--blue); color: var(--white); }
  .linea { transform: scaleX(1); }
  .ok { transform: scale(1); }
}
