/* SUMMA MCP · estilos propios sobre /styles.css */
.mcp-section-surface { background: var(--surface); }
.mcp-hero h1 { max-width: 14ch; }
.mcp-ai-logos { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.mcp-ai-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border-strong);
  font-size: 13.5px; font-weight: 600; color: var(--text);
}
.mcp-ai-chip-muted { color: var(--text-subtle); font-weight: 500; }
.mcp-trust-item { display: flex; align-items: center; gap: 6px; }

/* Chat mock */
.mcp-chat { display: flex; flex-direction: column; gap: 10px; }
.mcp-msg { font-size: 13.5px; line-height: 1.5; padding: 10px 14px; border-radius: 14px; max-width: 88%; }
.mcp-msg strong { color: var(--text); }
.mcp-msg-user { align-self: flex-end; background: var(--brand-500); color: #fff; border-bottom-right-radius: 4px; }
.mcp-msg-user strong { color: #fff; }
.mcp-msg-ai { align-self: flex-start; background: var(--surface-3); color: var(--text-muted); border-bottom-left-radius: 4px; }
.mcp-tool { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--text-subtle); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.mcp-tool-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-300); box-shadow: 0 0 0 3px rgba(76,214,113,0.18); }

/* URL del conector */
.mcp-url-box {
  max-width: 720px; margin: 0 auto 32px; padding: 16px 18px;
  border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--border-strong);
}
.mcp-url-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-subtle); margin-bottom: 8px; }
.mcp-url-row { display: flex; align-items: center; gap: 10px; }
.mcp-url-row code {
  flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14.5px; color: var(--brand-300);
}
.mcp-copy {
  flex-shrink: 0; padding: 8px 14px; border-radius: var(--radius-sm);
  background: var(--brand-500); color: #fff; font-weight: 600; font-size: 13.5px;
}
.mcp-copy:hover { background: var(--brand-600); }
.mcp-copy.is-done { background: var(--navy-400); }

/* Tarjetas de conectores */
.mcp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mcp-card {
  display: flex; flex-direction: column; gap: 18px;
  padding: 24px; border-radius: var(--radius-lg);
  background: var(--bg); border: 1px solid var(--border);
  scroll-margin-top: 90px;
}
.mcp-card-head { display: flex; align-items: center; gap: 12px; }
.mcp-card-head h3 { margin: 0; font-size: 18px; letter-spacing: -0.01em; }
.mcp-card-sub { margin: 2px 0 0; font-size: 13px; color: var(--text-subtle); }
.mcp-card-logo {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border-strong); color: var(--text);
}
.mcp-logo-gpt { background: #fff; color: #000; }
.mcp-logo-claude { background: #F5F0E8; }
.mcp-status {
  margin-left: auto; font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px;
  background: rgba(3,192,59,0.14); color: var(--brand-300); white-space: nowrap;
}
.mcp-steps { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--text-muted); font-size: 14px; flex: 1; }
.mcp-steps strong { color: var(--text); font-weight: 600; }
.mcp-steps code { font-size: 12.5px; color: var(--brand-300); }
.mcp-card-btn { justify-content: center; }

/* Tres pasos */
.mcp-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mcp-three-item { padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.mcp-three-num { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; color: var(--brand-300); margin-bottom: 10px; }
.mcp-three-item h3 { margin: 0 0 6px; font-size: 18px; }
.mcp-three-item p { margin: 0; color: var(--text-muted); font-size: 14.5px; }

/* Modos */
.mcp-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: 0 auto; }
.mcp-mode { position: relative; padding: 30px 26px 26px; border-radius: var(--radius-lg); background: var(--bg); border: 1px solid var(--border); }
.mcp-mode-featured { border-color: rgba(3,192,59,0.5); box-shadow: 0 0 0 1px rgba(3,192,59,0.25), var(--shadow); }
.mcp-mode-badge { position: static; display: inline-block; margin-bottom: 14px; transform: none; }
.mcp-mode h3 { margin: 0 0 4px; font-size: 21px; letter-spacing: -0.02em; }
.mcp-mode-sub { margin: 0 0 16px; color: var(--text-subtle); font-size: 14px; }
.mcp-mode ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.mcp-mode li { position: relative; padding-left: 24px; color: var(--text-muted); font-size: 14.5px; }
.mcp-mode li::before {
  content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px;
  border-left: 2.5px solid var(--brand-500); border-bottom: 2.5px solid var(--brand-500); transform: rotate(-45deg);
}

/* Ejemplos */
.mcp-tabs { display: flex; justify-content: center; gap: 6px; margin: 0 auto 24px; padding: 4px; width: fit-content; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); }
.mcp-tab { padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text-muted); }
.mcp-tab.is-active { background: var(--brand-500); color: #fff; }
.mcp-qs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 980px; margin: 0 auto; }
.mcp-qs[hidden] { display: none; }
.mcp-q {
  position: relative; padding: 14px 16px 14px 44px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: 14.5px;
}
.mcp-q::before {
  content: ""; position: absolute; left: 16px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  background: var(--brand-300);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Módulos y seguridad */
.mcp-modules .feature { padding: 22px; }
.mcp-modules .feature h3 { margin-top: 0; }
.mcp-security { grid-template-columns: repeat(4, 1fr); }

/* CTA final */
.mcp-cta-center { justify-content: center; position: relative; }
.mcp-cta-note { margin: 22px 0 0 !important; font-size: 14.5px; }
.mcp-link-btn { color: var(--brand-300); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 0; }

@media (max-width: 980px) {
  .mcp-cards, .mcp-three { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .mcp-modes { grid-template-columns: 1fr; max-width: 560px; }
  .mcp-security { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .mcp-qs { grid-template-columns: 1fr; }
  .mcp-security { grid-template-columns: 1fr; }
  .mcp-hero .hero-cta .btn { width: 100%; justify-content: center; }
  .mcp-url-row { flex-direction: column; align-items: stretch; }
  .mcp-url-row code { font-size: 12.5px; white-space: normal; word-break: break-all; overflow: visible; }
  .mcp-card { padding: 20px; }
  .mcp-mode { padding: 24px 20px 20px; }
  .nav-cta .btn { padding: 10px 14px; font-size: 13.5px; }
}
