/* Estilos de centrodeayuda.html */
  :root {
    --ch-ok:    #16a34a;
    --ch-warn:  #d97706;
    --ch-error: #dc2626;
    --ch-wa:    #25d366;
  }

  /* ── Hero ── */
  .ch-hero { background: linear-gradient(135deg, var(--s-navy), var(--s-navy)); padding: 72px 24px 56px; text-align: center; }
  .ch-hero__inner { max-width: 680px; margin: 0 auto; }
  .ch-hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border: 1px solid rgba(16,88,240,.45); border-radius: 100px; background: rgba(16,88,240,.09); font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--edi-accent-light); text-transform: uppercase; margin-bottom: 20px; }
  .ch-hero__title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; color: #fff; margin: 0 0 14px; }
  .ch-hero__sub { font-size: 1rem; color: rgba(255,255,255,.68); line-height: 1.7; margin: 0 auto 32px; }
  /* Search bar */
  .ch-search { display: flex; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.15); max-width: 560px; margin: 0 auto 36px; }
  .ch-search__input { flex: 1; border: none; padding: 14px 18px; font-size: 15px; color: var(--s-text); font-family: inherit; outline: none; }
  .ch-search__btn { background: var(--s-navy); color: #fff; border: none; padding: 14px 22px; cursor: pointer; font-weight: 700; font-size: 14px; font-family: inherit; display: flex; align-items: center; gap: 8px; transition: background .15s; }
  .ch-search__btn:hover { background: var(--s-navy); }
  /* Quick links */
  .ch-hero__quick { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
  .ch-hero__qlink { padding: 7px 14px; border-radius: 100px; border: 1px solid rgba(255,255,255,.22); font-size: 12.5px; color: rgba(255,255,255,.8); text-decoration: none; transition: all .15s; }
  .ch-hero__qlink:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); color: #fff; }

  /* ── Status bar ── */
  .ch-status-bar { background: #fff; border-bottom: 1px solid var(--s-border); padding: 12px 24px; }
  .ch-status-bar__inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
  .ch-status-ok { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ch-ok); }
  .ch-status-ok::before { content: ''; width: 8px; height: 8px; background: var(--ch-ok); border-radius: 50%; box-shadow: 0 0 0 3px rgba(22,163,74,.2); }
  .ch-status-detail { display: flex; gap: 20px; flex-wrap: wrap; }
  .ch-status-metric { font-size: 12px; color: var(--s-muted); }
  .ch-status-metric strong { color: var(--s-navy); }

  /* ── Main grid ── */
  .ch-wrap { max-width: 1100px; margin: 0 auto; padding: 48px 24px 80px; }

  /* ── Canales ── */
  .ch-channels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 56px; }
  .ch-channel { background: #fff; border: 1px solid var(--s-border); border-radius: 12px; padding: 22px 18px; display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; transition: box-shadow .2s, transform .15s, border-color .15s; }
  .ch-channel:hover { box-shadow: 0 6px 22px rgba(0,0,0,.09); transform: translateY(-2px); border-color: var(--s-navy); }
  .ch-channel__icon { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; flex-shrink: 0; }
  .ch-channel__icon--wa    { background: #dcfce7; color: var(--ch-wa); }
  .ch-channel__icon--phone { background: #eff6ff; color: #1d4ed8; }
  .ch-channel__icon--mail  { background: var(--s-light); color: var(--s-navy); }
  .ch-channel__icon--ticket{ background: #faf5ff; color: #7c3aed; }
  .ch-channel__icon--ventas{ background: var(--s-light); color: var(--s-gold); }
  .ch-channel__name { font-size: 13.5px; font-weight: 800; color: var(--s-navy); margin-bottom: 4px; }
  .ch-channel__val  { font-size: 12.5px; color: var(--s-muted); line-height: 1.4; margin-bottom: 8px; }
  .ch-channel__badge { font-size: 10.5px; font-weight: 700; padding: 2px 9px; border-radius: 100px; letter-spacing: .04em; }
  .ch-channel__badge--24  { background: #dcfce7; color: var(--ch-ok); }
  .ch-channel__badge--bh  { background: var(--s-light); color: var(--s-muted); }
  .ch-channel--wa .ch-channel__name { color: #15803d; }

  /* ── Horarios ── */
  .ch-section { margin-bottom: 52px; }
  .ch-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--s-gold); display: block; margin-bottom: 8px; }
  .ch-title { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 800; color: var(--s-navy); letter-spacing: -.02em; margin: 0 0 6px; }
  .ch-body  { font-size: 14px; color: var(--s-muted); line-height: 1.7; margin-bottom: 0; }
  .ch-section-head { margin-bottom: 24px; }

  .ch-hours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .ch-hour-card { background: #fff; border: 1px solid var(--s-border); border-radius: 12px; padding: 22px; }
  .ch-hour-card__icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
  .ch-hour-card__icon--24  { background: #dcfce7; color: var(--ch-ok); }
  .ch-hour-card__icon--bh  { background: #eff6ff; color: #1d4ed8; }
  .ch-hour-card__icon--api { background: var(--s-light); color: var(--s-navy); }
  .ch-hour-card__name { font-size: 14px; font-weight: 800; color: var(--s-navy); margin-bottom: 6px; }
  .ch-hour-card__sched { font-size: 13px; color: var(--s-muted); line-height: 1.6; }
  .ch-hour-card__sched strong { color: var(--s-navy); }

  /* ── SLA Table ── */
  .ch-sla-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--s-border); }
  .ch-sla-table thead th { background: var(--s-navy); color: #fff; padding: 14px 18px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-align: left; }
  .ch-sla-table thead th:first-child { border-radius: 0; }
  .ch-sla-table tbody td { padding: 14px 18px; border-bottom: 1px solid var(--s-border); font-size: 13.5px; vertical-align: middle; }
  .ch-sla-table tbody tr:last-child td { border-bottom: none; }
  .ch-sla-table tbody tr:hover td { background: #fafbfc; }
  .ch-prio { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 800; letter-spacing: .03em; }
  .ch-prio--p1 { background: #fef2f2; color: var(--ch-error); border: 1px solid #fecaca; }
  .ch-prio--p2 { background: #fff7ed; color: var(--ch-warn); border: 1px solid #fed7aa; }
  .ch-prio--p3 { background: #eff6ff; color: #1d4ed8;       border: 1px solid #bfdbfe; }
  .ch-prio--p4 { background: #f0fdf4; color: var(--ch-ok);  border: 1px solid #bbf7d0; }
  .ch-prio::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
  .ch-sla-rt { font-weight: 700; color: var(--s-navy); }
  .ch-sla-note { font-size: 11.5px; color: var(--s-muted); margin-top: 2px; display: block; }
  .ch-sla-24 { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
  .ch-sla-24--yes { background: #dcfce7; color: var(--ch-ok); }
  .ch-sla-24--no  { background: var(--s-light); color: var(--s-muted); }
  .ch-sla-desc { font-size: 13px; color: var(--s-text); }
  .ch-sla-example { font-size: 11.5px; color: var(--s-muted); margin-top: 2px; display: block; font-style: italic; }

  /* SLA commitment strip */
  .ch-sla-commit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px; }
  .ch-commit-card { background: #fff; border: 1px solid var(--s-border); border-radius: 10px; padding: 16px 18px; text-align: center; }
  .ch-commit-val { font-size: 1.6rem; font-weight: 900; color: var(--s-navy); line-height: 1; display: block; }
  .ch-commit-lbl { font-size: 11px; color: var(--s-muted); margin-top: 4px; display: block; line-height: 1.4; }

  /* ── Ticket form ── */
  .ch-ticket-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
  .ch-ticket-card { background: #fff; border: 1px solid var(--s-border); border-radius: 14px; overflow: hidden; }
  .ch-ticket-head { background: linear-gradient(135deg, var(--s-navy), var(--edi-navy-2)); padding: 24px 28px; display: flex; align-items: center; gap: 14px; }
  .ch-ticket-head__icon { width: 44px; height: 44px; background: rgba(255,255,255,.12); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .ch-ticket-head__title { font-size: 16px; font-weight: 800; color: #fff; margin: 0 0 3px; }
  .ch-ticket-head__sub   { font-size: 12px; color: rgba(255,255,255,.65); }
  .ch-ticket-body { padding: 28px; }

  /* Reuse contacto.php form styles */
  .ch-form { display: flex; flex-direction: column; gap: 16px; }
  .ch-field { display: flex; flex-direction: column; gap: 5px; }
  .ch-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .ch-label { font-size: 13px; font-weight: 600; color: var(--s-navy); }
  .ch-label span { color: var(--ch-error); margin-left: 2px; }
  .ch-input, .ch-select, .ch-textarea {
    width: 100%; padding: 10px 13px; border: 1.5px solid var(--s-border); border-radius: 7px;
    font-size: 14px; color: var(--s-text); background: #fff;
    transition: border-color .2s, box-shadow .2s; box-sizing: border-box; font-family: inherit;
  }
  .ch-input:focus, .ch-select:focus, .ch-textarea:focus { outline: none; border-color: var(--s-navy); box-shadow: 0 0 0 3px rgba(10,26,63,.1); }
  .ch-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%235d6a82' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; cursor: pointer; }
  .ch-textarea { resize: vertical; min-height: 90px; }
  .ch-submit { display: inline-flex; align-items: center; gap: 10px; background: var(--s-navy); color: #fff; font-size: 14px; font-weight: 700; padding: 12px 24px; border-radius: 8px; border: none; cursor: pointer; font-family: inherit; transition: background .2s; }
  .ch-submit:hover { background: var(--s-navy); }
  .ch-prio-selector { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .ch-prio-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
  .ch-prio-opt label { display: flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1.5px solid var(--s-border); border-radius: 7px; cursor: pointer; font-size: 12.5px; font-weight: 600; transition: all .15s; }
  .ch-prio-opt input:checked + label { border-color: var(--s-navy); background: var(--s-light); }
  .ch-prio-opt label:hover { border-color: var(--s-navy); background: var(--s-light); }
  .ch-prio-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
  .ch-zendesk-iframe { border: none; width: 100%; height: 680px; border-radius: 0 0 14px 14px; display: block; }

  /* Ticket sidebar */
  .ch-ticket-sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 80px; }
  .ch-info-card { background: #fff; border: 1px solid var(--s-border); border-radius: 12px; padding: 20px; }
  .ch-info-card--dark { background: var(--s-navy); border-color: var(--s-navy); }
  .ch-info-title { font-size: 13px; font-weight: 800; color: var(--s-navy); margin: 0 0 12px; }
  .ch-info-card--dark .ch-info-title { color: #fff; }
  .ch-info-item { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 10px; font-size: 12.5px; color: var(--s-muted); line-height: 1.4; }
  .ch-info-item:last-child { margin-bottom: 0; }
  .ch-info-item svg { color: var(--s-gold); flex-shrink: 0; margin-top: 1px; }
  .ch-contact-item { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; background: rgba(255,255,255,.08); margin-bottom: 8px; text-decoration: none; transition: background .15s; }
  .ch-contact-item:hover { background: rgba(255,255,255,.14); }
  .ch-contact-item:last-child { margin-bottom: 0; }
  .ch-contact-item__icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .ch-contact-item__label { font-size: 11.5px; color: rgba(255,255,255,.6); display: block; }
  .ch-contact-item__val   { font-size: 13px; font-weight: 700; color: #fff; display: block; }

  /* ── Categorías ── */
  .ch-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .ch-cat { background: #fff; border: 1px solid var(--s-border); border-radius: 12px; padding: 22px 18px; text-decoration: none; transition: all .15s; display: flex; flex-direction: column; gap: 10px; }
  .ch-cat:hover { border-color: var(--s-navy); box-shadow: 0 4px 16px rgba(0,0,0,.08); transform: translateY(-1px); }
  .ch-cat__icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
  .ch-cat__name { font-size: 14px; font-weight: 700; color: var(--s-navy); line-height: 1.3; }
  .ch-cat__desc { font-size: 12px; color: var(--s-muted); line-height: 1.5; }
  .ch-cat__count { font-size: 11px; font-weight: 600; color: var(--s-muted); margin-top: auto; }
  .ch-cat__arrow { color: var(--s-gold); }

  /* ── Escalation ── */
  .ch-escal { background: linear-gradient(135deg, var(--s-navy), var(--s-navy)); border-radius: 14px; padding: 40px; margin-bottom: 52px; }
  .ch-escal__title { font-size: 1.1rem; font-weight: 800; color: #fff; margin: 0 0 6px; }
  .ch-escal__sub { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 24px; }
  .ch-escal__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .ch-escal__step { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 16px; }
  .ch-escal__num { width: 28px; height: 28px; border-radius: 50%; background: rgba(77,141,255,.2); border: 1px solid rgba(77,141,255,.4); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: var(--edi-accent-light); margin-bottom: 10px; }
  .ch-escal__step-title { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 4px; }
  .ch-escal__step-desc  { font-size: 11.5px; color: rgba(255,255,255,.55); line-height: 1.5; }

  /* ── NDA/SLA notice ── */
  .ch-nda { background: var(--s-light); border: 1px solid var(--s-border); border-left: 3px solid var(--s-gold); border-radius: 8px; padding: 16px 20px; display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; }
  .ch-nda__text { font-size: 13px; color: var(--s-muted); line-height: 1.6; }
  .ch-nda__text strong { color: var(--s-navy); }

  /* Responsive */
  @media (max-width: 960px) {
    .ch-channels { grid-template-columns: repeat(3, 1fr); }
    .ch-hours { grid-template-columns: 1fr 1fr; }
    .ch-sla-commit { grid-template-columns: repeat(2, 1fr); }
    .ch-ticket-wrap { grid-template-columns: 1fr; }
    .ch-ticket-sidebar { position: static; }
    .ch-cats { grid-template-columns: repeat(2, 1fr); }
    .ch-escal__steps { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 640px) {
    .ch-channels { grid-template-columns: repeat(2, 1fr); }
    .ch-channels .ch-channel:last-child { grid-column: 1 / -1; }
    .ch-hours { grid-template-columns: 1fr; }
    .ch-sla-commit { grid-template-columns: 1fr 1fr; }
    .ch-cats { grid-template-columns: 1fr 1fr; }
    .ch-escal__steps { grid-template-columns: 1fr; }
    .ch-field-row { grid-template-columns: 1fr; }
    .ch-prio-selector { grid-template-columns: 1fr 1fr; }
    .ch-wrap { padding: 32px 16px 60px; }
  }

