


:root {
      --zk-primary: #0B6BDD;
      --zk-primary-dark: #084FB2;
      --zk-primary-deep: #073B82;
      --zk-blue: #0B6BDD;
      --zk-blue-strong: #084FB2;
      --zk-cyan: #25BDFD;
      --zk-dark: #071B36;
      --zk-ink: #1F375B;
      --zk-muted: #66758C;
      --zk-light: #F5FAFF;
      --zk-soft: #EAF4FF;
      --zk-white: #FFFFFF;
      --zk-border: rgba(12, 58, 114, .12);
      --zk-shadow: 0 24px 70px rgba(12, 58, 114, .12);
      --zk-shadow-soft: 0 14px 42px rgba(12, 58, 114, .075);
      --zk-radius: 28px;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--zk-ink);
      background:
        radial-gradient(circle at 8% 0%, rgba(32, 189, 255, .16), transparent 30rem),
        linear-gradient(180deg, #fbfeff 0%, #ffffff 48%, #f7fbff 100%);
      overflow-x: hidden;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      z-index: -2;
      pointer-events: none;
      background-image:
        linear-gradient(rgba(11, 107, 221, .028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 107, 221, .028) 1px, transparent 1px);
      background-size: 54px 54px;
      mask-image: linear-gradient(180deg, rgba(0,0,0,.68), transparent 66%);
    }

    a { color: var(--zk-primary); }

    .navbar {
      padding: 1rem 0;
      transition: background-color .2s ease, box-shadow .2s ease, backdrop-filter .2s ease;
    }

    .navbar.scrolled {
      background: rgba(255,255,255,.93);
      backdrop-filter: blur(16px);
      box-shadow: 0 10px 32px rgba(12,58,114,.075);
    }

    .brand-mark {
      width: 42px;
      height: 42px;
      border-radius: 15px;
      display: grid;
      place-items: center;
      color: #fff;
      background: linear-gradient(135deg, var(--zk-primary), var(--zk-cyan));
      box-shadow: 0 12px 28px rgba(11, 107, 221, .24);
      font-weight: 800;
      letter-spacing: -.04em;
    }

    .navbar-brand strong {
      color: var(--zk-dark);
      letter-spacing: -.02em;
      font-weight: 800;
      font-size: 1.2rem;
    }

    .nav-link {
      color: var(--zk-ink);
      font-weight: 650;
      font-size: .95rem;
    }

    .nav-link:hover { color: var(--zk-primary); }


    .theme-toggle {
      appearance: none;
      border: 1px solid rgba(11, 107, 221, .18);
      background: rgba(255, 255, 255, .88);
      color: var(--zk-primary-deep);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: .45rem;
      min-height: 42px;
      padding: .56rem .86rem;
      border-radius: 999px;
      font-weight: 750;
      font-size: .92rem;
      line-height: 1;
      box-shadow: 0 10px 24px rgba(12, 58, 114, .08);
      transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
    }

    .theme-toggle:hover,
    .theme-toggle:focus-visible {
      color: #fff;
      background: var(--zk-primary);
      border-color: var(--zk-primary);
      transform: translateY(-1px);
      box-shadow: 0 13px 28px rgba(11, 107, 221, .16);
    }

    .theme-toggle:focus-visible {
      outline: 3px solid rgba(11, 107, 221, .22);
      outline-offset: 3px;
    }

    .theme-toggle i { font-size: 1rem; }


    .theme-toggle-floating {
      position: fixed;
      top: 1rem;
      right: 1rem;
      z-index: 1040;
    }

    @media (max-width: 575.98px) {
      .theme-toggle-floating {
        top: .75rem;
        right: .75rem;
      }
    }

    .btn-blue {
      --bs-btn-color: #fff;
      --bs-btn-bg: var(--zk-primary);
      --bs-btn-border-color: var(--zk-primary);
      --bs-btn-hover-color: #fff;
      --bs-btn-hover-bg: var(--zk-primary-dark);
      --bs-btn-hover-border-color: var(--zk-primary-dark);
      border-radius: 999px;
      padding: .78rem 1.18rem;
      font-weight: 700;
      box-shadow: 0 13px 30px rgba(11, 107, 221, .18);
    }

    .btn-white {
      --bs-btn-color: var(--zk-primary);
      --bs-btn-bg: #fff;
      --bs-btn-border-color: rgba(11, 107, 221, .18);
      --bs-btn-hover-color: #fff;
      --bs-btn-hover-bg: var(--zk-primary);
      --bs-btn-hover-border-color: var(--zk-primary);
      border-radius: 999px;
      padding: .78rem 1.18rem;
      font-weight: 700;
      box-shadow: 0 12px 28px rgba(12, 58, 114, .07);
    }

    .section-pad { padding: 92px 0; }
    .section-pad-sm { padding: 72px 0; }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      padding: .45rem .78rem;
      margin-bottom: 1rem;
      color: var(--zk-primary);
      background: rgba(234,244,255,.88);
      border: 1px solid rgba(11,107,221,.14);
      border-radius: 999px;
      font-size: .82rem;
      font-weight: 800;
      letter-spacing: .02em;
    }

    .section-title {
      color: var(--zk-dark);
      font-weight: 850;
      letter-spacing: -.028em;
      line-height: 1.08;
      text-wrap: balance;
    }

    .section-lead {
      color: var(--zk-muted);
      font-size: 1.04rem;
      line-height: 1.72;
    }

    .hero {
      position: relative;
      padding: 150px 0 82px;
      isolation: isolate;
    }

    .hero::after {
      content: "";
      position: absolute;
      width: min(72vw, 760px);
      height: min(72vw, 760px);
      right: -25vw;
      top: 80px;
      z-index: -1;
      border-radius: 999px;
      background: radial-gradient(circle, rgba(11,107,221,.13), transparent 64%);
    }

    .hero-brand-wrap {
      position: relative;
      display: inline-block;
      margin: .35rem 0 .9rem;
      isolation: isolate;
    }

    .hero-brand-wrap::before {
      content: "";
      position: absolute;
      inset: -18% -7% -6%;
      z-index: -1;
      border-radius: 999px;
      background:
        radial-gradient(circle at 38% 42%, rgba(42, 179, 255, .14), transparent 50%),
        radial-gradient(circle at 74% 38%, rgba(11, 107, 221, .10), transparent 60%);
      filter: blur(16px);
      opacity: .72;
    }

    .hero-brand-wrap::after {
      content: "";
      position: absolute;
      left: .16em;
      right: .12em;
      bottom: -.28rem;
      height: 3px;
      border-radius: 999px;
      background: linear-gradient(90deg, rgba(11, 107, 221, 0), rgba(11, 107, 221, .45), rgba(32, 183, 255, .30), rgba(11, 107, 221, 0));
      opacity: .72;
    }

    .hero-brand {
      display: inline-block;
      color: var(--zk-dark);
      font-size: clamp(3.2rem, 6.4vw, 5.6rem);
      font-weight: 880;
      line-height: .94;
      letter-spacing: -.055em;
      background: linear-gradient(135deg, #071b3a 0%, #0b3f84 58%, #0b6bdd 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      filter: drop-shadow(0 12px 24px rgba(11, 107, 221, .08));
    }

    .hero h1 {
      color: var(--zk-dark);
      font-size: clamp(2.55rem, 5.1vw, 5rem);
      line-height: 1.02;
      letter-spacing: -.034em;
      font-weight: 850;
      text-wrap: balance;
    }

    .hero h1 span {
      color: var(--zk-primary);
    }

    .trust-strip {
      display: flex;
      flex-wrap: wrap;
      gap: .7rem;
      margin-top: 1.35rem;
    }

    .trust-pill {
      display: inline-flex;
      align-items: center;
      gap: .45rem;
      padding: .56rem .82rem;
      border-radius: 999px;
      color: var(--zk-ink);
      background: rgba(255,255,255,.92);
      border: 1px solid var(--zk-border);
      font-weight: 650;
      font-size: .9rem;
      box-shadow: 0 11px 26px rgba(12,58,114,.045);
    }

    .hero-note {
      margin-top: 1.35rem;
      max-width: 620px;
      padding: 1rem 1.05rem;
      border-radius: 22px;
      background: rgba(255,255,255,.78);
      border: 1px solid var(--zk-border);
      box-shadow: var(--zk-shadow-soft);
      color: var(--zk-muted);
      font-size: .95rem;
      line-height: 1.55;
    }

    .map-shell {
      border-radius: 36px;
      padding: 1.1rem;
      background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(234,244,255,.70));
      border: 1px solid rgba(255,255,255,.78);
      box-shadow: var(--zk-shadow);
    }

    .map-board {
      overflow: hidden;
      border-radius: 28px;
      background:
        radial-gradient(circle at 88% 5%, rgba(37,189,253,.18), transparent 26%),
        linear-gradient(180deg, #ffffff, #f4f9ff);
      border: 1px solid rgba(12,58,114,.09);
    }

    .map-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 1rem 1.15rem;
      border-bottom: 1px solid rgba(12,58,114,.09);
      background: rgba(255,255,255,.72);
    }

    .status-dot {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: #22c55e;
      display: inline-block;
    }

    .flow-list {
      padding: 1.2rem;
      display: grid;
      gap: .72rem;
    }

    .flow-item {
      display: grid;
      grid-template-columns: 46px 1fr;
      gap: .85rem;
      align-items: center;
      padding: .85rem;
      border: 1px solid rgba(12,58,114,.10);
      border-radius: 20px;
      background: rgba(255,255,255,.86);
      box-shadow: 0 12px 26px rgba(12,58,114,.045);
      position: relative;
    }

    .flow-item:not(:last-child)::after {
      content: "";
      position: absolute;
      left: 31px;
      bottom: -.73rem;
      width: 2px;
      height: .72rem;
      background: rgba(11,107,221,.16);
    }

    .flow-icon {
      width: 46px;
      height: 46px;
      display: grid;
      place-items: center;
      border-radius: 16px;
      color: #fff;
      background: linear-gradient(135deg, var(--zk-primary), var(--zk-cyan));
      box-shadow: 0 10px 24px rgba(11,107,221,.16);
    }

    .flow-item strong {
      display: block;
      color: var(--zk-dark);
      line-height: 1.15;
    }

    .flow-item span {
      display: block;
      color: var(--zk-muted);
      font-size: .88rem;
      line-height: 1.45;
      margin-top: .15rem;
    }


    .proof-band {
      padding: 1.05rem;
      border-radius: 30px;
      background:
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(235,247,255,.88));
      border: 1px solid rgba(12,58,114,.12);
      box-shadow: var(--zk-shadow-soft);
    }

    .proof-band-copy {
      display: grid;
      grid-template-columns: minmax(190px, auto) 1fr 1.6fr;
      align-items: center;
      gap: 1rem;
      padding: .25rem .35rem 1rem;
    }

    .proof-band-copy strong {
      color: var(--zk-dark);
      font-size: 1.05rem;
      line-height: 1.25;
      letter-spacing: -.02em;
    }

    .proof-band-copy span:last-child {
      color: var(--zk-muted);
      font-size: .94rem;
      line-height: 1.45;
    }

    .proof-kicker {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: .45rem;
      width: fit-content;
      padding: .48rem .72rem;
      border-radius: 999px;
      background: rgba(24, 178, 234, .12);
      color: var(--zk-blue-strong);
      font-weight: 800;
      font-size: .78rem;
      text-transform: uppercase;
      letter-spacing: .08em;
    }

    .proof-metrics {
      margin-top: 0;
    }

    .metric-card,
    .plain-card,
    .contact-card,
    .faq-card {
      height: 100%;
      border: 1px solid var(--zk-border);
      border-radius: var(--zk-radius);
      background: rgba(255,255,255,.9);
      box-shadow: var(--zk-shadow-soft);
    }

    .metric-card {
      position: relative;
      overflow: hidden;
      padding: 1.15rem;
    }

    .metric-card-highlight {
      background: rgba(255,255,255,.96);
      box-shadow: 0 16px 34px rgba(12,58,114,.08);
    }

    .metric-card-highlight::before {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 4px;
      background: linear-gradient(90deg, var(--zk-blue), var(--zk-cyan));
    }

    .metric-card > i {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 34px;
      height: 34px;
      margin-bottom: .65rem;
      border-radius: 12px;
      background: rgba(24, 178, 234, .12);
      color: var(--zk-blue-strong);
      font-size: 1rem;
    }

    .metric-card strong {
      display: block;
      color: var(--zk-dark);
      font-size: 1.42rem;
      line-height: 1.05;
      letter-spacing: -.02em;
    }

    .metric-card span {
      display: block;
      color: var(--zk-muted);
      font-size: .92rem;
      margin-top: .2rem;
    }

    .plain-card {
      padding: 1.35rem;
    }

    .plain-card h3 {
      color: var(--zk-dark);
      font-weight: 800;
      letter-spacing: -.02em;
    }

    .plain-card p {
      color: var(--zk-muted);
      line-height: 1.62;
    }

    .icon-soft {
      width: 48px;
      height: 48px;
      display: grid;
      place-items: center;
      border-radius: 17px;
      color: var(--zk-primary);
      background: var(--zk-soft);
      border: 1px solid rgba(11,107,221,.11);
      font-size: 1.2rem;
      margin-bottom: 1rem;
    }


    .work-roadmap {
      position: relative;
      display: grid;
      gap: 1.25rem;
      max-width: 1080px;
      margin: 0 auto;
    }

    .work-roadmap::before {
      content: "";
      position: absolute;
      left: 32px;
      top: 36px;
      bottom: 36px;
      width: 2px;
      background: linear-gradient(180deg, rgba(11,107,221,.08), rgba(11,107,221,.38), rgba(24,178,234,.12));
    }

    .work-phase {
      position: relative;
      display: grid;
      grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
      gap: 1.5rem;
      align-items: stretch;
      padding: 1.35rem;
      border: 1px solid var(--zk-border);
      border-radius: 32px;
      background: rgba(255,255,255,.92);
      box-shadow: var(--zk-shadow-soft);
      overflow: hidden;
    }

    .work-phase::after {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 4px;
      background: linear-gradient(90deg, rgba(11,107,221,.88), rgba(37,189,253,.6));
      opacity: .72;
    }

    .work-phase-content {
      padding: .75rem .75rem .75rem 4.5rem;
    }

    .work-phase-label {
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      margin-bottom: .7rem;
      color: var(--zk-primary);
      font-weight: 800;
      font-size: .78rem;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .work-phase h3 {
      margin-bottom: .65rem;
      color: var(--zk-dark);
      font-weight: 850;
      letter-spacing: -.025em;
    }

    .work-phase p {
      margin-bottom: 1rem;
      color: var(--zk-muted);
      line-height: 1.68;
    }

    .work-phase-tags {
      display: flex;
      flex-wrap: wrap;
      gap: .5rem;
    }

    .work-phase-tags span {
      padding: .42rem .7rem;
      border-radius: 999px;
      color: var(--zk-ink);
      background: rgba(234,244,255,.72);
      border: 1px solid rgba(11,107,221,.11);
      font-weight: 700;
      font-size: .82rem;
    }

    .work-phase-visual {
      position: relative;
      min-height: 180px;
      display: grid;
      place-items: center;
      align-content: center;
      gap: .8rem;
      padding: 1.35rem;
      border-radius: 26px;
      background:
        radial-gradient(circle at 20% 16%, rgba(37,189,253,.24), transparent 42%),
        linear-gradient(135deg, rgba(234,244,255,.94), rgba(255,255,255,.92));
      border: 1px solid rgba(11,107,221,.1);
      text-align: center;
    }

    .work-phase:nth-child(even) {
      grid-template-columns: minmax(260px, .65fr) minmax(0, 1.35fr);
    }

    .work-phase:nth-child(even) .work-phase-content { order: 2; }
    .work-phase:nth-child(even) .work-phase-visual { order: 1; }

    .work-phase-number {
      position: absolute;
      top: 1rem;
      left: 1rem;
      width: 46px;
      height: 46px;
      display: grid;
      place-items: center;
      color: #fff;
      background: linear-gradient(135deg, var(--zk-primary), var(--zk-cyan));
      border-radius: 16px;
      font-weight: 850;
      box-shadow: 0 14px 28px rgba(11,107,221,.2);
    }

    .work-phase-visual i {
      color: var(--zk-primary);
      font-size: 2.35rem;
    }

    .work-phase-visual strong {
      max-width: 210px;
      color: var(--zk-dark);
      font-size: 1rem;
      line-height: 1.3;
      letter-spacing: -.01em;
    }


    .blue-panel {
      position: relative;
      overflow: hidden;
      border-radius: 42px;
      color: #fff;
      background:
        radial-gradient(circle at 12% 12%, rgba(37,189,253,.32), transparent 30%),
        linear-gradient(135deg, var(--zk-primary), var(--zk-primary-deep));
      box-shadow: 0 34px 90px rgba(11,107,221,.23);
    }

    .blue-panel .section-title,
    .blue-panel .section-lead { color: #fff; }
    .blue-panel .section-lead { color: rgba(255,255,255,.78); }
    .blue-panel .eyebrow { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.18); }

    .blue-card {
      height: 100%;
      padding: 1.15rem;
      border-radius: 24px;
      background: rgba(255,255,255,.12);
      border: 1px solid rgba(255,255,255,.16);
    }

    .blue-card strong {
      display: block;
      color: #fff;
      font-size: 1.02rem;
      margin-bottom: .35rem;
    }

    .blue-card p {
      color: rgba(255,255,255,.72);
      margin-bottom: 0;
      font-size: .94rem;
      line-height: 1.55;
    }

    .blue-card-wide {
      min-height: auto;
      padding: 1.25rem 1.35rem;
      background: rgba(255,255,255,.15);
    }

    .blue-card-icon {
      width: 46px;
      height: 46px;
      flex: 0 0 46px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 16px;
      background: rgba(255,255,255,.16);
      color: #fff;
      font-size: 1.25rem;
    }


    .capability-grid {
      border: 1px solid var(--zk-border);
      border-radius: 34px;
      overflow: hidden;
      background: #fff;
      box-shadow: var(--zk-shadow-soft);
    }

    .capability-row {
      display: grid;
      grid-template-columns: 210px 1fr;
      gap: 1rem;
      padding: 1.05rem 1.2rem;
      border-bottom: 1px solid rgba(12,58,114,.08);
      align-items: start;
    }

    .capability-row:last-child { border-bottom: 0; }
    .capability-row strong { color: var(--zk-dark); }
    .capability-row span { color: var(--zk-muted); line-height: 1.55; }

    .accordion-item {
      border: 1px solid var(--zk-border);
      border-radius: 18px !important;
      overflow: hidden;
      margin-bottom: .85rem;
      box-shadow: 0 10px 28px rgba(12,58,114,.045);
    }

    .accordion-button {
      font-weight: 750;
      color: var(--zk-dark);
      background: rgba(255,255,255,.95);
    }

    .accordion-button:not(.collapsed) {
      color: var(--zk-primary-dark);
      background: var(--zk-soft);
      box-shadow: none;
    }

    .contact-card {
      padding: clamp(1.15rem, 4vw, 2.2rem);
    }

    .form-control,
    .form-select {
      min-height: 52px;
      border-radius: 16px;
      border-color: rgba(12,58,114,.15);
    }

    .form-control:focus,
    .form-select:focus {
      border-color: rgba(11,107,221,.42);
      box-shadow: 0 0 0 .22rem rgba(11,107,221,.10);
    }



    .meeting-panel {
      border: 1px solid var(--zk-border);
      border-radius: 42px;
      padding: clamp(1.25rem, 4vw, 2.4rem);
      background:
        radial-gradient(circle at 92% 8%, rgba(37,189,253,.16), transparent 28%),
        linear-gradient(135deg, rgba(255,255,255,.94), rgba(234,244,255,.76));
      box-shadow: var(--zk-shadow-soft);
    }

    .meeting-card {
      height: 100%;
      padding: 1.35rem;
      border-radius: 28px;
      background: rgba(255,255,255,.92);
      border: 1px solid var(--zk-border);
      box-shadow: 0 16px 42px rgba(12,58,114,.07);
    }

    .meeting-card code {
      color: var(--zk-primary-dark);
      background: rgba(234,244,255,.9);
      border: 1px solid rgba(11,107,221,.12);
      border-radius: 8px;
      padding: .08rem .32rem;
    }

    footer {
      padding: 68px 0 28px;
      background: #06152A;
      color: rgba(255,255,255,.72);
    }

    footer a { color: rgba(255,255,255,.72); text-decoration: none; }
    footer a:hover { color: #fff; }
    .footer-brand { color: #fff; font-weight: 850; letter-spacing: -.02em; }

    .reveal {
      opacity: 0;
      transform: translateY(18px);
      transition: opacity .65s ease, transform .65s ease;
    }
    .reveal.show { opacity: 1; transform: translateY(0); }


    /* Ukemi: más presencia del azul institucional sin rehacer la UI */
    .hero h1 span {
      color: var(--zk-primary);
      text-shadow: 0 10px 26px rgba(11, 107, 221, .10);
    }

    .trust-pill {
      color: var(--zk-ink);
      background: linear-gradient(135deg, rgba(234,244,255,.94), rgba(255,255,255,.86));
      border-color: rgba(11,107,221,.18);
    }

    .trust-pill i { color: var(--zk-primary); }

    .hero-note {
      border-left: 5px solid var(--zk-primary);
      background: linear-gradient(135deg, rgba(234,244,255,.96), rgba(255,255,255,.88));
      border-color: rgba(11,107,221,.18);
    }

    .hero-note strong { color: var(--zk-primary-dark); }

    .map-header {
      background: linear-gradient(90deg, rgba(11,107,221,.10), rgba(255,255,255,.78));
    }

    .capability-row strong { color: var(--zk-primary-dark); }



    @media (max-width: 991.98px) {
      .navbar-collapse {
        margin-top: .85rem;
        padding: .9rem;
        border-radius: 22px;
        background: rgba(255,255,255,.94);
        border: 1px solid var(--zk-border);
        box-shadow: var(--zk-shadow-soft);
      }

      html[data-theme="dark"] .navbar-collapse {
        background: rgba(6, 21, 42, .94);
        border-color: rgba(134,197,255,.14);
      }

      .theme-toggle,
      .navbar .btn-blue {
        width: 100%;
        margin-top: .35rem;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
      }
    }


    @media (max-width: 991.98px) {
      .proof-band-copy {
        grid-template-columns: 1fr;
        gap: .55rem;
      }
    }

    @media (max-width: 991.98px) {
      .hero { padding: 124px 0 62px; }
      .section-pad { padding: 72px 0; }
      .section-pad-sm { padding: 58px 0; }
      .capability-row { grid-template-columns: 1fr; gap: .35rem; }
    }

    @media (max-width: 575.98px) {
      .hero-brand { font-size: 3.15rem; }
      .hero h1 { font-size: 2.55rem; }
      .map-shell, .blue-panel, .capability-grid { border-radius: 26px; }
      .flow-list { padding: .85rem; }
      .flow-item { grid-template-columns: 40px 1fr; }
      .flow-icon { width: 40px; height: 40px; border-radius: 14px; }
      .flow-item:not(:last-child)::after { left: 28px; }
      .trust-pill { width: 100%; justify-content: center; }
    }

/* =========================================================
   Recursos / páginas editoriales simples
   ========================================================= */
.resource-hero {
  padding: 140px 0 72px;
  position: relative;
}

.resource-hero::after {
  content: "";
  position: absolute;
  width: min(62vw, 680px);
  height: min(62vw, 680px);
  right: -22vw;
  top: 70px;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(11,107,221,.12), transparent 64%);
}

.resource-hero h1 {
  color: var(--zk-dark);
  font-size: clamp(2.35rem, 4.8vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -.034em;
  font-weight: 850;
  text-wrap: balance;
}

.resource-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.2rem;
}

.resource-meta span {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .5rem .75rem;
  border-radius: 999px;
  border: 1px solid var(--zk-border);
  background: rgba(255,255,255,.86);
  color: var(--zk-muted);
  font-size: .88rem;
  font-weight: 650;
}

.resource-card {
  height: 100%;
  padding: 1.35rem;
  border-radius: var(--zk-radius);
  background: rgba(255,255,255,.92);
  border: 1px solid var(--zk-border);
  box-shadow: var(--zk-shadow-soft);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.resource-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11,107,221,.26);
  box-shadow: 0 20px 52px rgba(12,58,114,.105);
}

.resource-card a {
  color: inherit;
  text-decoration: none;
}

.resource-card h2,
.resource-card h3 {
  color: var(--zk-dark);
  letter-spacing: -.018em;
  font-weight: 800;
}

.resource-card p {
  color: var(--zk-muted);
}

.article-shell {
  max-width: 880px;
  margin: 0 auto;
}

.article-body {
  padding: clamp(1.3rem, 4vw, 2.4rem);
  border-radius: 34px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--zk-border);
  box-shadow: var(--zk-shadow-soft);
}

.article-body h2 {
  margin-top: 2.2rem;
  margin-bottom: .9rem;
  color: var(--zk-dark);
  font-weight: 850;
  letter-spacing: -.024em;
}

.article-body h2:first-child { margin-top: 0; }

.article-body h3 {
  margin-top: 1.65rem;
  color: var(--zk-dark);
  font-weight: 800;
  letter-spacing: -.018em;
}

.article-body p,
.article-body li {
  color: var(--zk-ink);
  line-height: 1.78;
}

.article-body p {
  text-align: justify;
}

.article-body ul,
.article-body ol {
  padding-left: 1.25rem;
}

.article-callout {
  margin: 1.6rem 0;
  padding: 1.2rem 1.25rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(234,244,255,.96), rgba(255,255,255,.96));
  border: 1px solid rgba(11,107,221,.16);
}

.article-callout strong {
  color: var(--zk-dark);
}

.article-toc {
  padding: 1.1rem;
  border-radius: 24px;
  border: 1px solid var(--zk-border);
  background: rgba(255,255,255,.88);
  box-shadow: var(--zk-shadow-soft);
}

.article-toc a {
  display: block;
  padding: .35rem 0;
  color: var(--zk-ink);
  text-decoration: none;
  font-weight: 650;
}

.article-toc a:hover { color: var(--zk-primary); }

.resource-cta {
  padding: clamp(1.35rem, 4vw, 2.2rem);
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 14% 18%, rgba(37,189,253,.32), transparent 28%),
    linear-gradient(135deg, var(--zk-primary), var(--zk-primary-deep));
  box-shadow: 0 26px 80px rgba(11,107,221,.22);
}

.resource-cta h2,
.resource-cta p { color: #fff; }
.resource-cta p { color: rgba(255,255,255,.82); }

.related-list {
  display: grid;
  gap: .85rem;
}

.related-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid var(--zk-border);
  background: rgba(255,255,255,.9);
  color: var(--zk-ink);
  text-decoration: none;
}

.related-item:hover {
  color: var(--zk-primary);
  border-color: rgba(11,107,221,.24);
}

@media (max-width: 767.98px) {
  .resource-hero { padding-top: 118px; }
  .article-body p { text-align: left; }
  .related-item { flex-direction: column; }
}


/* Recursos: navegación editorial */
.resources-navbar .navbar-brand {
  align-items: center;
}

.brand-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-stack small {
  color: var(--zk-muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.resources-navbar .dropdown-menu {
  border: 1px solid var(--zk-border);
  border-radius: 18px;
  box-shadow: var(--zk-shadow-soft);
  padding: .5rem;
}

.resources-navbar .dropdown-item {
  border-radius: 12px;
  color: var(--zk-ink);
  font-weight: 600;
  padding: .62rem .8rem;
}

.resources-navbar .dropdown-item:hover,
.resources-navbar .dropdown-item:focus {
  background: var(--zk-soft);
  color: var(--zk-primary);
}

.resources-navbar .nav-link-main-site {
  color: var(--zk-primary-dark);
}

@media (max-width: 991.98px) {
  .resources-navbar .dropdown-menu {
    border: 0;
    box-shadow: none;
    padding-left: .25rem;
  }
}

/* Resource center: single published article state */
.resource-card-featured {
  padding: 2rem;
}
.resource-card-featured .eyebrow {
  margin-bottom: 1rem;
}

.flow-item.flow-advanced-chips {
  align-items: start;
}

.flow-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .45rem;
}

.flow-chip {
  display: inline-flex;
  align-items: center;
  padding: .38rem .62rem;
  border-radius: 999px;
  background: rgba(234,244,255,.75);
  border: 1px solid rgba(11,107,221,.14);
  color: var(--zk-ink);
  font-weight: 750;
  font-size: .82rem;
}

.flow-subnote {
  display: block;
  margin-top: .45rem;
  font-size: .84rem;
  line-height: 1.35;
  color: var(--zk-muted);
}



    @media (max-width: 991.98px) {
      .work-roadmap::before { left: 25px; }
      .work-phase,
      .work-phase:nth-child(even) {
        grid-template-columns: 1fr;
      }
      .work-phase-content,
      .work-phase:nth-child(even) .work-phase-content {
        order: 1;
        padding: .75rem .75rem .25rem 3.8rem;
      }
      .work-phase-visual,
      .work-phase:nth-child(even) .work-phase-visual {
        order: 2;
        min-height: 140px;
      }
    }

    @media (max-width: 575.98px) {
      .work-roadmap::before { display: none; }
      .work-phase { padding: 1rem; border-radius: 26px; }
      .work-phase-content,
      .work-phase:nth-child(even) .work-phase-content { padding: .5rem; }
      .work-phase-visual { min-height: 128px; }
      .work-phase-number { width: 40px; height: 40px; border-radius: 14px; }
    }

/* =========================================================
   Ukemi — modo oscuro institucional
   ========================================================= */
html[data-theme="dark"] {
  color-scheme: dark;
  --zk-primary: #4DA3FF;
  --zk-primary-dark: #86C5FF;
  --zk-primary-deep: #071B36;
  --zk-blue: #4DA3FF;
  --zk-blue-strong: #86C5FF;
  --zk-cyan: #54D7FF;
  --zk-dark: #F5FAFF;
  --zk-ink: #D7E5F6;
  --zk-muted: #9BB1CB;
  --zk-light: #071B36;
  --zk-soft: rgba(77, 163, 255, .14);
  --zk-white: #0B203D;
  --zk-border: rgba(134, 197, 255, .16);
  --zk-shadow: 0 24px 70px rgba(0, 0, 0, .32);
  --zk-shadow-soft: 0 14px 42px rgba(0, 0, 0, .22);
}

html[data-theme="dark"] body {
  color: var(--zk-ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(77, 163, 255, .20), transparent 30rem),
    radial-gradient(circle at 88% 12%, rgba(84, 215, 255, .12), transparent 34rem),
    linear-gradient(180deg, #06152A 0%, #071B36 46%, #081A31 100%);
}

html[data-theme="dark"] body::before {
  background-image:
    linear-gradient(rgba(134, 197, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(134, 197, 255, .045) 1px, transparent 1px);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.72), transparent 72%);
}

html[data-theme="dark"] .navbar.scrolled,
html[data-theme="dark"] .resources-navbar.navbar.scrolled,
html[data-theme="dark"] .resources-navbar {
  background: rgba(6, 21, 42, .88);
  border-bottom: 1px solid rgba(134, 197, 255, .10);
  box-shadow: 0 12px 34px rgba(0,0,0,.28);
}

html[data-theme="dark"] .navbar-brand strong,
html[data-theme="dark"] .section-title,
html[data-theme="dark"] .hero h1,
html[data-theme="dark"] .flow-item strong,
html[data-theme="dark"] .proof-band-copy strong,
html[data-theme="dark"] .plain-card h3,
html[data-theme="dark"] .work-phase h3,
html[data-theme="dark"] .work-phase-visual strong,
html[data-theme="dark"] .capability-row strong,
html[data-theme="dark"] .accordion-button,
html[data-theme="dark"] .resource-hero h1,
html[data-theme="dark"] .resource-card h2,
html[data-theme="dark"] .resource-card h3,
html[data-theme="dark"] .article-body h2,
html[data-theme="dark"] .article-body h3,
html[data-theme="dark"] .article-callout strong {
  color: var(--zk-dark);
}

html[data-theme="dark"] .hero-brand {
  background: linear-gradient(135deg, #F5FAFF 0%, #A9D6FF 48%, #4DA3FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 16px 30px rgba(77, 163, 255, .18));
}

html[data-theme="dark"] .hero-brand-wrap::before {
  background:
    radial-gradient(circle at 34% 44%, rgba(84, 215, 255, .24), transparent 48%),
    radial-gradient(circle at 74% 38%, rgba(77, 163, 255, .20), transparent 58%);
  opacity: .9;
}

html[data-theme="dark"] .hero-brand-wrap::after {
  background: linear-gradient(90deg, rgba(77, 163, 255, 0), rgba(77, 163, 255, .65), rgba(84, 215, 255, .42), rgba(77, 163, 255, 0));
}

html[data-theme="dark"] .section-lead,
html[data-theme="dark"] .plain-card p,
html[data-theme="dark"] .flow-item span,
html[data-theme="dark"] .metric-card span,
html[data-theme="dark"] .proof-band-copy span:last-child,
html[data-theme="dark"] .capability-row span,
html[data-theme="dark"] .resource-card p,
html[data-theme="dark"] .resource-meta span,
html[data-theme="dark"] .flow-subnote,
html[data-theme="dark"] .brand-stack small {
  color: var(--zk-muted);
}

html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .proof-kicker,
html[data-theme="dark"] .work-phase-label {
  color: #BDE2FF;
  background: rgba(77, 163, 255, .13);
  border-color: rgba(134, 197, 255, .18);
}

html[data-theme="dark"] .trust-pill,
html[data-theme="dark"] .hero-note,
html[data-theme="dark"] .metric-card,
html[data-theme="dark"] .plain-card,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .faq-card,
html[data-theme="dark"] .work-phase,
html[data-theme="dark"] .meeting-card,
html[data-theme="dark"] .resource-card,
html[data-theme="dark"] .article-body,
html[data-theme="dark"] .article-toc,
html[data-theme="dark"] .related-item,
html[data-theme="dark"] .accordion-item {
  background: rgba(10, 31, 59, .82);
  border-color: var(--zk-border);
  box-shadow: var(--zk-shadow-soft);
}

html[data-theme="dark"] .hero-note {
  border-left-color: var(--zk-primary);
  background: linear-gradient(135deg, rgba(10,31,59,.92), rgba(7,27,54,.82));
}

html[data-theme="dark"] .hero-note strong,
html[data-theme="dark"] .meeting-card code,
html[data-theme="dark"] .capability-row strong {
  color: #BDE2FF;
}

html[data-theme="dark"] .map-shell,
html[data-theme="dark"] .proof-band,
html[data-theme="dark"] .meeting-panel {
  background: linear-gradient(135deg, rgba(10,31,59,.92), rgba(7,27,54,.74));
  border-color: rgba(134, 197, 255, .16);
  box-shadow: var(--zk-shadow);
}

html[data-theme="dark"] .map-board {
  background:
    radial-gradient(circle at 88% 5%, rgba(84,215,255,.20), transparent 28%),
    linear-gradient(180deg, rgba(10,31,59,.96), rgba(7,27,54,.92));
  border-color: rgba(134, 197, 255, .14);
}

html[data-theme="dark"] .map-header {
  background: linear-gradient(90deg, rgba(77,163,255,.16), rgba(10,31,59,.76));
  border-bottom-color: rgba(134,197,255,.12);
}

html[data-theme="dark"] .flow-item,
html[data-theme="dark"] .metric-card-highlight {
  background: rgba(11, 35, 67, .88);
  border-color: rgba(134,197,255,.16);
}

html[data-theme="dark"] .flow-icon,
html[data-theme="dark"] .brand-mark,
html[data-theme="dark"] .work-phase-number {
  background: linear-gradient(135deg, #0B6BDD, #54D7FF);
  color: #fff;
  box-shadow: 0 14px 30px rgba(77, 163, 255, .18);
}

html[data-theme="dark"] .icon-soft,
html[data-theme="dark"] .metric-card > i,
html[data-theme="dark"] .flow-chip,
html[data-theme="dark"] .work-phase-tags span,
html[data-theme="dark"] .meeting-card code {
  background: rgba(77, 163, 255, .13);
  border-color: rgba(134, 197, 255, .17);
  color: #BDE2FF;
}

html[data-theme="dark"] .work-phase-visual,
html[data-theme="dark"] .article-callout {
  background:
    radial-gradient(circle at 20% 16%, rgba(84,215,255,.16), transparent 42%),
    linear-gradient(135deg, rgba(11,35,67,.92), rgba(7,27,54,.86));
  border-color: rgba(134,197,255,.16);
}

html[data-theme="dark"] .capability-grid {
  background: rgba(10,31,59,.82);
  border-color: var(--zk-border);
  box-shadow: var(--zk-shadow-soft);
}

html[data-theme="dark"] .capability-row {
  border-bottom-color: rgba(134,197,255,.12);
}

html[data-theme="dark"] .accordion-button {
  background: rgba(10,31,59,.92);
}

html[data-theme="dark"] .accordion-button:not(.collapsed) {
  background: rgba(77, 163, 255, .14);
  color: #BDE2FF;
}

html[data-theme="dark"] .accordion-body {
  background: rgba(8, 26, 49, .92);
  color: var(--zk-ink);
}

html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select {
  color: var(--zk-dark);
  background-color: rgba(6, 21, 42, .86);
  border-color: rgba(134,197,255,.20);
}

html[data-theme="dark"] .form-control::placeholder {
  color: rgba(215,229,246,.56);
}

html[data-theme="dark"] .form-control:focus,
html[data-theme="dark"] .form-select:focus {
  background-color: rgba(7,27,54,.95);
  border-color: rgba(77,163,255,.55);
  box-shadow: 0 0 0 .22rem rgba(77,163,255,.14);
  color: var(--zk-dark);
}

html[data-theme="dark"] .btn-white {
  --bs-btn-color: #DFF0FF;
  --bs-btn-bg: rgba(10,31,59,.82);
  --bs-btn-border-color: rgba(134,197,255,.22);
  --bs-btn-hover-color: #06152A;
  --bs-btn-hover-bg: #DFF0FF;
  --bs-btn-hover-border-color: #DFF0FF;
}

html[data-theme="dark"] .btn-blue {
  box-shadow: 0 13px 30px rgba(77, 163, 255, .16);
}



html[data-theme="dark"] .theme-toggle {
  color: #DFF0FF;
  background: rgba(10,31,59,.82);
  border-color: rgba(134,197,255,.22);
  box-shadow: 0 12px 28px rgba(0,0,0,.20);
}

html[data-theme="dark"] .theme-toggle:hover,
html[data-theme="dark"] .theme-toggle:focus-visible {
  color: #06152A;
  background: #DFF0FF;
  border-color: #DFF0FF;
  box-shadow: 0 14px 32px rgba(77, 163, 255, .16);
}

html[data-theme="dark"] .theme-toggle:focus-visible {
  outline-color: rgba(134,197,255,.26);
}

html[data-theme="dark"] .nav-link,
html[data-theme="dark"] .resources-navbar .dropdown-item,
html[data-theme="dark"] .article-body p,
html[data-theme="dark"] .article-body li,
html[data-theme="dark"] .article-toc a,
html[data-theme="dark"] .related-item {
  color: var(--zk-ink);
}

html[data-theme="dark"] .nav-link:hover,
html[data-theme="dark"] .resources-navbar .dropdown-item:hover,
html[data-theme="dark"] .resources-navbar .dropdown-item:focus,
html[data-theme="dark"] .article-toc a:hover,
html[data-theme="dark"] .related-item:hover {
  color: #BDE2FF;
}

html[data-theme="dark"] .resources-navbar .dropdown-menu {
  background: rgba(6,21,42,.96);
  border-color: var(--zk-border);
  box-shadow: var(--zk-shadow-soft);
}

html[data-theme="dark"] .resources-navbar .dropdown-item:hover,
html[data-theme="dark"] .resources-navbar .dropdown-item:focus {
  background: rgba(77,163,255,.13);
}

html[data-theme="dark"] footer {
  background: #040E1F;
  border-top: 1px solid rgba(134,197,255,.10);
}

html[data-theme="dark"] ::selection {
  background: rgba(77,163,255,.34);
  color: #fff;
}



html[data-theme="dark"] .navbar-toggler {
  border-color: rgba(134,197,255,.22);
}

html[data-theme="dark"] .navbar-toggler-icon {
  filter: invert(1) grayscale(1) brightness(1.6);
}

/* =========================================================
   Ajustes de contraste para el selector claro/oscuro
   Evita que utilidades de Bootstrap (.text-muted/.text-dark)
   se pierdan sobre tarjetas y encabezados en modo oscuro.
   ========================================================= */
html[data-theme="dark"] .text-dark {
  color: var(--zk-dark) !important;
}

html[data-theme="dark"] .text-muted,
html[data-theme="dark"] .small.text-muted,
html[data-theme="dark"] .accordion-body.text-muted {
  color: #B8CAE0 !important;
}

html[data-theme="dark"] .section-lead {
  color: #B8CAE0;
}

html[data-theme="dark"] .resource-hero .section-lead,
html[data-theme="dark"] #contacto .section-lead {
  color: #C8D8EA;
}

html[data-theme="dark"] .form-label {
  color: #D7E5F6;
  font-weight: 650;
}

html[data-theme="dark"] .form-text,
html[data-theme="dark"] .invalid-feedback {
  color: #B8CAE0;
}

html[data-theme="dark"] .resource-meta span {
  color: #D7E5F6;
  background: rgba(10, 31, 59, .78);
  border-color: rgba(134, 197, 255, .20);
}

html[data-theme="dark"] .resource-meta span i,
html[data-theme="dark"] .text-muted i {
  color: #86C5FF;
}

html[data-theme="dark"] .contact-card a:not(.btn),
html[data-theme="dark"] .article-body a:not(.btn) {
  color: #BDE2FF;
}

html[data-theme="dark"] .contact-card a:not(.btn):hover,
html[data-theme="dark"] .article-body a:not(.btn):hover {
  color: #E6F5FF;
}

