/* Conector MCP */

.mcp-page .mcp-wrapper{ line-height: 1.6; }
.mcp-page .mcp-wrapper a{ color: var(--yellow); }
.mcp-page .mcp-wrapper a:hover{ color: var(--yellow-100); text-decoration: underline; }
.mcp-page .mcp-wrapper strong{ font-weight: 600; color: var(--white); }
/* el <code> se distingue por el recuadro, no por la tipografía: el sitio usa Inter y Poppins */
.mcp-page .mcp-wrapper code{ font-size: .95em; color: var(--white-ddd); background: var(--grey-111); border: 1px solid var(--grey-333); border-radius: 5px; padding: 2px 6px; }

/* Presentación */
.mcp-page .mcp-intro{ margin-bottom: 60px; }
.mcp-page .mcp-lead{ font-size: 18px; line-height: 1.6; color: var(--white-ddd); margin-bottom: 24px; display: flex; }
.mcp-page .mcp-lead svg{ width: 160px; margin-right: 20px; }

.mcp-page .mcp-clients{ display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.mcp-page .mcp-clients li{ font-family: var(--poppins); font-size: 13px; font-weight: 500; color: var(--white-ccc); background: var(--grey-111); border: 1px solid var(--grey-333); border-radius: 50px; padding: 6px 14px; }

.mcp-page .mcp-facts{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.mcp-page .mcp-facts li{ display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--grey-222); border-radius: 12px; padding: 18px 20px; }
.mcp-page .mcp-facts li i{ flex: none; font-size: 42px; color: var(--yellow); line-height: 1.2; margin-right: 5px; }
.mcp-page .mcp-facts .fact-title{ font-family: var(--poppins); font-weight: 600; font-size: 18px; color: var(--white); margin-bottom: 2px; }
.mcp-page .mcp-facts .fact-text{ font-size: 14px; color: var(--white-aaa); line-height: 1.5; }

/* Secciones */
.mcp-page .mcp-section{ margin-bottom: 60px; }
.mcp-page .mcp-section > p{ margin-bottom: 12px; }
.mcp-page .mcp-note{ font-size: 14px; color: var(--grey-888); margin-top: 20px; }

/* Qué preguntar */
.mcp-page .mcp-examples{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.mcp-page .mcp-examples li{ background: rgba(255,255,255,.03); border: 1px solid var(--grey-222); border-radius: 12px; padding: 20px; }
.mcp-page .mcp-examples .question{ font-family: var(--poppins); font-weight: 500; font-size: 15px; color: var(--yellow); line-height: 1.4; margin-bottom: 8px; }
.mcp-page .mcp-examples .answer{ font-size: 14px; color: var(--white-aaa); line-height: 1.5; }

/* Cómo conectarlo */
.mcp-page .mcp-setup{ display: flex; align-items: flex-start; gap: 40px; }
.mcp-page .mcp-setup .mcp-steps{ flex: 1 1 auto; min-width: 0; }
.mcp-page .mcp-setup .mcp-shot{ flex: 0 0 340px; }

.mcp-page .mcp-steps{ counter-reset: paso; }
.mcp-page .mcp-steps > li{ position: relative; counter-increment: paso; padding-left: 44px; padding-bottom: 24px; }
.mcp-page .mcp-steps > li:before{ content: counter(paso); position: absolute; top: 0; left: 0; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: var(--yellow); color: var(--black); border-radius: 100%; font-family: var(--poppins); font-weight: 600; font-size: 14px; line-height: 1; }
/* la línea que une los pasos, salvo en el último */
.mcp-page .mcp-steps > li:after{ content: ""; position: absolute; top: 34px; left: 13px; bottom: 4px; width: 2px; background: var(--grey-222); }
.mcp-page .mcp-steps > li:last-child{ padding-bottom: 0; }
.mcp-page .mcp-steps > li:last-child:after{ display: none; }

.mcp-page .mcp-copy{ display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.mcp-page .mcp-copy code{ font-size: 14px; padding: 10px 14px; background: var(--grey-111); border-color: var(--grey-333); word-break: break-all; }
.mcp-page .mcp-copy .button{ padding: 10px 14px; font-size: 13px; white-space: nowrap; }
.mcp-page .mcp-copy .button i{ font-size: 15px; margin-right: 6px; }
.mcp-page .mcp-copy .button.copiado{ background: var(--yellow-100); }

.mcp-page .mcp-shot{ margin: 0; }
.mcp-page .mcp-shot img{ display: block; width: 100%; height: auto; border: 1px solid var(--grey-222); border-radius: 12px; }
.mcp-page .mcp-shot figcaption{ font-size: 13px; color: var(--grey-888); margin-top: 10px; text-align: center; }

/* Si algo no funciona */
.mcp-page .mcp-faq li{ border-top: 1px solid var(--grey-222); padding: 18px 0; }
.mcp-page .mcp-faq li:last-child{ border-bottom: 1px solid var(--grey-222); }
.mcp-page .mcp-faq .question{ font-family: var(--poppins); font-weight: 600; font-size: 15px; color: var(--white); margin-bottom: 6px; }
.mcp-page .mcp-faq .answer{ font-size: 15px; color: var(--white-aaa); }

@media screen and (max-width: 1023px) {

    .mcp-page .mcp-lead{ font-size: 16px; flex-direction: column; }
    .mcp-page .mcp-lead svg{ margin-bottom: 20px; width: 100px; }
    .mcp-page .mcp-facts{ grid-template-columns: minmax(0, 1fr); }
    .mcp-page .mcp-examples{ grid-template-columns: minmax(0, 1fr); }

    .mcp-page .mcp-setup{ flex-direction: column; gap: 30px; }
    .mcp-page .mcp-setup .mcp-shot{ flex: none; width: 100%; max-width: 420px; }

    .mcp-page .mcp-intro{ margin-bottom: 45px; }
    .mcp-page .mcp-section{ margin-bottom: 45px; }
    .mcp-page .mcp-faq .answer{ font-size: 14px; }

}

@media screen and (max-width: 767px) {

    .mcp-page .mcp-copy .button{ width: 100%; justify-content: center; }

}
