/* HEAD_LINKS:PGxpbmsgcmVsPSJzdHlsZXNoZWV0IiBocmVmPSIvZm9udHMvZ29vZ2xlLzdhZWQxMDIyZjJmZTI5YjYvZm9udHMuY3NzIj4= */
:root {
      --ceh-bg: #0a0a0c;
      --ceh-card: #121216;
      --ceh-card-alt: #16161b;
      --ceh-border: #27272a;
      --ceh-text: #f4f4f5;
      --ceh-muted: #a1a1aa;
      --ceh-accent: #e11d48;
      --ceh-accent-hover: #be123c;
      --ceh-accent-text: #fb7185;
      --ceh-on-accent: #ffffff;
      --ceh-ok: #10b981;
      --ceh-focus: #fb7185;
      --ceh-font-display: 'Space Grotesk', system-ui, sans-serif;
      --ceh-font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
      --ceh-radius: 1rem;
      --ceh-gap: 1.5rem;
      --ceh-max: 72rem;
    }
:root {
      --ceh-bg: #0a0a0c;
      --ceh-card: #121216;
      --ceh-card-alt: #16161b;
      --ceh-border: #27272a;
      --ceh-text: #f4f4f5;
      --ceh-muted: #a1a1aa;
      --ceh-accent: #e11d48;
      --ceh-accent-hover: #be123c;
      --ceh-accent-text: #fb7185;
      --ceh-on-accent: #ffffff;
      --ceh-ok: #10b981;
      --ceh-focus: #fb7185;
      --ceh-font-display: 'Space Grotesk', system-ui, sans-serif;
      --ceh-font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
      --ceh-radius: 1rem;
      --ceh-gap: 1.5rem;
      --ceh-max: 72rem;
    }

    body { margin: 0; background: var(--ceh-bg); }

    html[data-theme="light"] {
      --ceh-bg: #fafafa;
      --ceh-card: #ffffff;
      --ceh-card-alt: #f4f4f5;
      --ceh-border: #e4e4e7;
      --ceh-text: #18181b;
      --ceh-muted: #52525b;
      --ceh-accent-text: #be123c;
      --ceh-ok: #047857;
      --ceh-focus: #be123c;
    }

    .ceh {
      background: var(--ceh-bg);
      color: var(--ceh-text);
      font-family: var(--ceh-font-body);
      font-size: 1rem;
      line-height: 1.6;
      padding-bottom: 6rem;
    }
    .ceh *, .ceh *::before, .ceh *::after { box-sizing: border-box; }
    .ceh h1, .ceh h2, .ceh h3 {
      font-family: var(--ceh-font-display);
      line-height: 1.15;
      margin: 0;
      letter-spacing: -0.02em;
    }
    .ceh p { margin: 0; }
    .ceh a:focus-visible {
      outline: 2px solid var(--ceh-focus);
      outline-offset: 0.25rem;
      border-radius: 0.5rem;
    }
    .ceh-wrap {
      width: 100%;
      max-width: var(--ceh-max);
      margin: 0 auto;
      padding: 0 1.5rem;
    }
    .ceh-code {
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      font-size: 0.875em;
      background: var(--ceh-card-alt);
      border: 1px solid var(--ceh-border);
      border-radius: 0.375rem;
      padding: 0 0.375rem;
      white-space: nowrap;
    }

    /* Botones */
    .ceh-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      min-height: 3rem;
      padding: 0.75rem 1.5rem;
      border-radius: 999px;
      font-family: var(--ceh-font-display);
      font-weight: 600;
      font-size: 1rem;
      text-decoration: none;
      border: 1px solid transparent;
      transition: background-color 0.2s ease-out, border-color 0.2s ease-out, transform 0.2s ease-out;
    }
    .ceh-btn--primary { background: var(--ceh-accent); color: var(--ceh-on-accent); }
    .ceh-btn--primary:hover { background: var(--ceh-accent-hover); }
    .ceh-btn--ghost { background: transparent; color: var(--ceh-text); border-color: var(--ceh-border); }
    .ceh-btn--ghost:hover { border-color: var(--ceh-accent-text); }
    .ceh-btn-arrow { transition: transform 0.2s ease-out; }
    .ceh-btn:hover .ceh-btn-arrow { transform: translateX(0.25rem); }

    /* Cabecera de la página */
    .ceh-hero {
      position: relative;
      isolation: isolate;
      padding: 7rem 0 5rem;
      border-bottom: 1px solid var(--ceh-border);
      overflow: hidden;
    }
    .ceh-hero-fx {
      position: absolute;
      inset: 0;
      z-index: -1;
      pointer-events: none;
      background-image:
        linear-gradient(var(--ceh-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--ceh-border) 1px, transparent 1px);
      background-size: 3rem 3rem;
      opacity: 0.35;
      mask-image: linear-gradient(115deg, transparent 35%, #000 100%);
      -webkit-mask-image: linear-gradient(115deg, transparent 35%, #000 100%);
    }
    .ceh-hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
      gap: 3rem;
      align-items: end;
    }
    .ceh-hero-sub {
      font-family: var(--ceh-font-display);
      color: var(--ceh-accent-text);
      font-weight: 600;
      font-size: 0.875rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-bottom: 1.25rem;
    }
    .ceh-hero h1 {
      font-size: clamp(2.5rem, 6vw, 4.5rem);
      font-weight: 700;
      max-width: 14ch;
    }
    .ceh-hero-text {
      color: var(--ceh-muted);
      font-size: 1.125rem;
      max-width: 60ch;
      margin-top: 1.5rem;
    }
    .ceh-hero-cta {
      border-left: 2px solid var(--ceh-accent);
      padding-left: 1.5rem;
    }
    .ceh-hero-cta-note {
      color: var(--ceh-muted);
      font-size: 0.875rem;
      margin-top: 1rem;
    }

    /* Secciones */
    .ceh-section { padding: 5rem 0 0; }
    .ceh-split {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr);
      gap: 3rem;
      align-items: start;
    }
    .ceh-split-head { position: sticky; top: 6rem; }
    .ceh-section h2 {
      font-size: clamp(1.75rem, 3.2vw, 2.5rem);
      font-weight: 700;
    }
    .ceh-num {
      display: block;
      font-size: clamp(2.5rem, 5vw, 3.5rem);
      font-weight: 700;
      line-height: 1;
      letter-spacing: -0.03em;
      color: rgba(225, 29, 72, 0.25);
      margin-bottom: 0.5rem;
    }
    .ceh-lead {
      color: var(--ceh-muted);
      font-size: 1.0625rem;
      margin-top: 1rem;
      max-width: 60ch;
    }
    .ceh-lead + .ceh-lead { margin-top: 0.75rem; }
    .ceh-lead strong { color: var(--ceh-text); }

    /* Listas con ✓ */
    .ceh-checks {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 0.875rem;
    }
    .ceh-checks li {
      position: relative;
      padding: 1rem 1.25rem 1rem 3.25rem;
      background: var(--ceh-card);
      border: 1px solid var(--ceh-border);
      border-radius: 0.75rem;
      max-width: 70ch;
    }
    .ceh-checks li::before {
      content: "✓";
      content: "✓" / "";
      position: absolute;
      left: 1.125rem;
      top: 1rem;
      width: 1.5rem;
      height: 1.5rem;
      display: grid;
      place-items: center;
      border-radius: 50%;
      border: 1px solid var(--ceh-ok);
      color: var(--ceh-ok);
      font-weight: 700;
      font-size: 0.8125rem;
      line-height: 1;
    }
    .ceh-checks strong { color: var(--ceh-text); }

    .ceh-section-cta { margin-top: 1.5rem; }
    .ceh-tarjeta { color: var(--ceh-muted); font-size: 0.9375rem; margin-top: 1rem; line-height: 2; }

    /* En cifras */
    .ceh-stats {
      list-style: none;
      margin: 2.5rem 0 0;
      padding: 0;
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: var(--ceh-gap);
    }
    .ceh-stat {
      background: var(--ceh-card);
      border: 1px solid var(--ceh-border);
      border-radius: var(--ceh-radius);
      padding: 2rem 1.5rem;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }
    .ceh-stat-num {
      font-family: var(--ceh-font-display);
      font-size: clamp(2.75rem, 5vw, 3.75rem);
      font-weight: 700;
      line-height: 1;
      color: var(--ceh-text);
      letter-spacing: -0.03em;
    }
    .ceh-stat-num::after {
      content: "";
      display: block;
      width: 2.5rem;
      height: 0.25rem;
      margin-top: 1rem;
      background: var(--ceh-accent);
      border-radius: 999px;
    }
    .ceh-stat-text { color: var(--ceh-muted); font-size: 0.9375rem; }
    .ceh-stat-text strong { color: var(--ceh-text); }

    /* Tecnología */
    .ceh-tech {
      list-style: none;
      margin: 2.5rem 0 0;
      padding: 0;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1rem;
    }
    .ceh-tech-card {
      background: var(--ceh-card);
      border: 1px solid var(--ceh-border);
      border-radius: var(--ceh-radius);
      padding: 1.5rem;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      transition: border-color 0.2s ease-out;
    }
    .ceh-tech-card:hover { border-color: var(--ceh-accent-text); }
    .ceh-tech-card:first-child { grid-column: span 2; }
    .ceh-tech-layer {
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--ceh-accent-text);
    }
    .ceh-tech-card h3 { font-size: 1.375rem; font-weight: 600; }
    .ceh-tech-use { color: var(--ceh-muted); font-size: 0.9375rem; }

    /* Seguridad */
    .ceh-blocks {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: var(--ceh-gap);
      margin-top: 2.5rem;
    }
    .ceh-block {
      background: var(--ceh-card-alt);
      border: 1px solid var(--ceh-border);
      border-radius: var(--ceh-radius);
      padding: 1.75rem;
    }
    .ceh-block--wide {
      grid-column: 1 / -1;
      border-color: var(--ceh-accent);
    }
    .ceh-block h3 {
      font-size: 1.25rem;
      font-weight: 600;
      margin-bottom: 1.25rem;
    }
    .ceh-block .ceh-lead { margin: -0.5rem 0 1.25rem; }
    .ceh-block .ceh-checks li { background: var(--ceh-card); }

    /* Calidad y despliegues */
    .ceh-sub { margin-top: 3rem; }
    .ceh-sub:first-child { margin-top: 0; }
    .ceh-sub h3 { font-size: 1.375rem; font-weight: 600; margin-bottom: 1rem; }
    .ceh-sub .ceh-lead { margin: 0 0 1.5rem; }
    .ceh-timeline {
      list-style: none;
      margin: 0;
      padding: 0;
      counter-reset: ceh-paso;
      position: relative;
    }
    .ceh-timeline::before {
      content: "";
      position: absolute;
      left: 1.25rem;
      top: 1.25rem;
      bottom: 1.25rem;
      width: 2px;
      background: var(--ceh-border);
    }
    .ceh-timeline li {
      counter-increment: ceh-paso;
      position: relative;
      padding: 0.5rem 0 1.75rem 4rem;
      max-width: 70ch;
    }
    .ceh-timeline li:last-child { padding-bottom: 0; }
    .ceh-timeline li::before {
      content: counter(ceh-paso);
      position: absolute;
      left: 0;
      top: 0;
      width: 2.5rem;
      height: 2.5rem;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: var(--ceh-bg);
      border: 2px solid var(--ceh-accent);
      color: var(--ceh-text);
      font-family: var(--ceh-font-display);
      font-weight: 700;
    }
    .ceh-timeline strong { color: var(--ceh-text); }

    /* Cómo trabajo */
    .ceh-work {
      list-style: none;
      margin: 2.5rem 0 0;
      padding: 0;
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 1rem;
    }
    .ceh-work-card {
      background: var(--ceh-card);
      border: 1px solid var(--ceh-border);
      border-top: 3px solid var(--ceh-accent);
      border-radius: 0.75rem;
      padding: 1.5rem;
    }
    .ceh-work-card { color: var(--ceh-muted); font-size: 0.9375rem; }
    .ceh-work-card strong {
      display: block;
      margin-bottom: 0.75rem;
      font-family: var(--ceh-font-display);
      font-size: 1.0625rem;
      font-weight: 600;
      line-height: 1.3;
      color: var(--ceh-text);
    }

    /* Cierre */
    .ceh-close {
      margin-top: 6rem;
      padding: 3.5rem;
      background: var(--ceh-card);
      border: 1px solid var(--ceh-border);
      border-radius: 1.5rem;
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
      gap: 3rem;
      align-items: center;
    }
    .ceh-close h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; }
    .ceh-close-options { display: grid; gap: 1.5rem; }
    .ceh-close-option {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 0.75rem;
      padding-bottom: 1.5rem;
      border-bottom: 1px solid var(--ceh-border);
    }
    .ceh-close-option:last-child { padding-bottom: 0; border-bottom: 0; }
    .ceh-close-option p { color: var(--ceh-muted); max-width: 55ch; }

    @media (max-width: 1024px) {
      .ceh-hero-grid, .ceh-split, .ceh-close { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
      .ceh-split-head { position: static; }
      .ceh-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .ceh-tech { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .ceh-work { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (max-width: 768px) {
      .ceh-hero { padding: 4.5rem 0 3.5rem; }
      .ceh-section { padding-top: 4rem; }
      .ceh-stats, .ceh-tech, .ceh-blocks, .ceh-work { grid-template-columns: minmax(0, 1fr); }
      .ceh-tech-card:first-child { grid-column: auto; }
      .ceh-close { padding: 2rem 1.5rem; margin-top: 4rem; }
      .ceh-checks li { padding-right: 1rem; }
    }
    @media (prefers-reduced-motion: reduce) {
      .ceh-btn, .ceh-btn-arrow, .ceh-tech-card { transition: none; }
      .ceh-btn:hover .ceh-btn-arrow { transform: none; }
    }