/* =========================================================
   IMPLEMENTACIÓN CANOPUS — VERSIÓN PREMIUM
========================================================= */

.cp-deploy {
    --deploy-blue: #0d6efd;
    --deploy-navy: #0a1f42;
    --deploy-muted: #67758b;
    --deploy-green: #19a653;
    --deploy-border: rgba(40, 94, 160, .14);

    position: relative;
    overflow: hidden;
    padding: 102px 24px 92px;
    font-family: "Manrope", sans-serif;
    background:
        radial-gradient(circle at 12% 15%, rgba(52, 141, 255, .07), transparent 28%),
        radial-gradient(circle at 88% 82%, rgba(29, 171, 91, .06), transparent 26%),
        #fff;
}

.cp-deploy *,
.cp-deploy *::before,
.cp-deploy *::after {
    box-sizing: border-box;
}

.cp-deploy__grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .18;
    background-image:
        linear-gradient(rgba(41, 98, 170, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(41, 98, 170, .05) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 86%, transparent);
}

.cp-deploy__container {
    position: relative;
    z-index: 1;
    width: min(1420px, 100%);
    margin: 0 auto;
}

.cp-deploy__header {
    width: min(940px, 100%);
    margin: 0 auto 46px;
    text-align: center;
}

.cp-deploy__eyebrow {
    display: inline-flex;
    padding: 8px 15px;
    border: 1px solid rgba(13, 110, 253, .12);
    border-radius: 999px;
    color: #0d63db;
    background: #f3f7ff;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .04em;
}

.cp-deploy__header h2 {
    margin: 16px 0 0;
    color: var(--deploy-navy);
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 850;
    line-height: 1.02;
    letter-spacing: -.05em;
}

.cp-deploy__header h2 span {
    display: block;
    color: var(--deploy-blue);
}

.cp-deploy__header p {
    width: min(760px, 100%);
    margin: 20px auto 0;
    color: var(--deploy-muted);
    font-size: 17px;
    line-height: 1.65;
}

.cp-deploy__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.cp-deploy-card {
    position: relative;
    display: flex;
    min-height: 650px;
    flex-direction: column;
    padding: 34px 28px 26px;
    border: 1px solid var(--deploy-border);
    border-radius: 24px;
    background: rgba(255,255,255,.97);
    box-shadow:
        0 22px 58px rgba(22, 65, 116, .11),
        inset 0 1px 0 rgba(255,255,255,.95);
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.cp-deploy-card:hover,
.cp-deploy-card.is-active {
    transform: translateY(-7px);
    box-shadow:
        0 36px 82px rgba(22, 65, 116, .18),
        inset 0 1px 0 rgba(255,255,255,.95);
}

.cp-deploy-card--cloud {
    border-color: rgba(13, 110, 253, .85);
    background:
        radial-gradient(circle at 14% 10%, rgba(57, 143, 255, .11), transparent 27%),
        linear-gradient(145deg, #fff, #f3f8ff);
    box-shadow:
        0 26px 70px rgba(13, 110, 253, .16),
        0 0 0 5px rgba(13, 110, 253, .035);
}

.cp-deploy-card--custom {
    background:
        radial-gradient(circle at 85% 11%, rgba(28, 169, 86, .10), transparent 26%),
        linear-gradient(145deg, #fff, #f5fff8);
}

.cp-deploy-card__badge {
    position: absolute;
    top: -16px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #1578ff, #0759df);
    box-shadow: 0 13px 26px rgba(13, 110, 253, .25);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .03em;
}

.cp-deploy-card__badge svg {
    width: 15px;
    height: 15px;
    fill: #ffd84d;
}

.cp-deploy-card__top {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 20px;
    align-items: center;
}

.cp-deploy-card__visual {
    display: grid;
    width: 108px;
    height: 108px;
    place-items: center;
    border-radius: 28px;
}

.cp-deploy-card__visual svg {
    width: 94px;
    height: 94px;
}

.cp-deploy-card__visual--cloud {
    background: rgba(13, 110, 253, .05);
}

.cp-deploy-card__visual--own {
    background: #f2f5f8;
}

.cp-deploy-card__visual--custom {
    background: rgba(25, 166, 83, .06);
}

.cp-deploy-card__intro h3 {
    margin: 0 0 10px;
    color: var(--deploy-navy);
    font-size: 26px;
    line-height: 1.1;
    letter-spacing: -.03em;
}

.cp-deploy-card__intro p {
    margin: 0;
    color: var(--deploy-muted);
    font-size: 13px;
    line-height: 1.65;
}

.cp-deploy-card__list {
    display: grid;
    gap: 12px;
    margin: 28px 0 24px;
    padding: 24px 0 0;
    border-top: 1px solid rgba(40, 94, 160, .12);
    list-style: none;
}

.cp-deploy-card__list li {
    position: relative;
    padding-left: 28px;
    color: #263751;
    font-size: 13px;
    line-height: 1.45;
}

.cp-deploy-card__list li::before {
    content: "✓";
    position: absolute;
    top: 1px;
    left: 0;
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--deploy-blue);
    font-size: 11px;
    font-weight: 900;
}

.cp-deploy-card--own .cp-deploy-card__list li::before {
    background: #142238;
}

.cp-deploy-card--custom .cp-deploy-card__list li::before {
    background: var(--deploy-green);
}

.cp-deploy-card__highlight {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding: 14px 16px;
    border-radius: 14px;
    color: #0d5fd2;
    background: rgba(13, 110, 253, .07);
}

.cp-deploy-card--own .cp-deploy-card__highlight {
    color: #263751;
    background: #f1f4f8;
}

.cp-deploy-card--custom .cp-deploy-card__highlight {
    color: #168747;
    background: rgba(34, 170, 95, .08);
}

.cp-deploy-card__highlight-icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 22px rgba(25, 67, 118, .09);
}

.cp-deploy-card__highlight-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cp-deploy-card__highlight strong {
    font-size: 13px;
    line-height: 1.35;
}

.cp-deploy-card__ideal {
    margin: 16px 0 0;
    color: var(--deploy-muted);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.cp-deploy-card__cta {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(135deg, #1578ff, #0759df);
    box-shadow: 0 12px 24px rgba(13, 110, 253, .18);
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}

.cp-deploy-card--own .cp-deploy-card__cta {
    background: linear-gradient(135deg, #24334a, #142034);
    box-shadow: 0 12px 24px rgba(20, 32, 52, .17);
}

.cp-deploy-card--custom .cp-deploy-card__cta {
    background: linear-gradient(135deg, #2bc269, #14934b);
    box-shadow: 0 12px 24px rgba(25, 166, 83, .17);
}

.cp-deploy-card__cta:hover {
    transform: translateY(-2px);
}

.cp-deploy-card__cta svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Servicios */

.cp-deploy-services {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    margin-top: 22px;
    padding: 16px 10px;
    border: 1px solid rgba(40, 94, 160, .12);
    border-radius: 20px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 18px 42px rgba(27, 66, 112, .09);
}

.cp-deploy-services article {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 0 18px;
    border-right: 1px solid rgba(40, 94, 160, .10);
}

.cp-deploy-services article:last-child {
    border-right: 0;
}

.cp-deploy-services__icon {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border-radius: 14px;
    color: var(--deploy-blue);
    background: #eef5ff;
}

.cp-deploy-services__icon svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cp-deploy-services strong,
.cp-deploy-services small {
    display: block;
}

.cp-deploy-services strong {
    color: var(--deploy-navy);
    font-size: 11px;
    line-height: 1.25;
}

.cp-deploy-services small {
    margin-top: 3px;
    color: var(--deploy-muted);
    font-size: 9px;
}

/* CTA */

.cp-deploy-contact {
    position: relative;
    display: grid;
    grid-template-columns: auto 1.2fr .9fr;
    gap: 24px;
    align-items: center;
    min-height: 178px;
    margin-top: 24px;
    padding: 26px 30px;
    overflow: hidden;
    border: 1px solid rgba(40, 94, 160, .12);
    border-radius: 24px;
    background:
        radial-gradient(circle at 86% 50%, rgba(13, 110, 253, .11), transparent 24%),
        linear-gradient(135deg, #f8fbff, #eef5ff);
    box-shadow: 0 18px 42px rgba(27, 66, 112, .09);
}

.cp-deploy-contact::after {
    content: "";
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 49%;
    width: 1px;
    background: rgba(40, 94, 160, .12);
}

.cp-deploy-contact__icon {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border-radius: 50%;
    color: var(--deploy-blue);
    background: #fff;
    box-shadow: 0 14px 30px rgba(13, 110, 253, .13);
}

.cp-deploy-contact__icon svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cp-deploy-contact__copy {
    position: relative;
    z-index: 2;
}

.cp-deploy-contact__copy h3 {
    margin: 0;
    color: var(--deploy-navy);
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.cp-deploy-contact__copy p {
    max-width: 520px;
    margin: 8px 0 0;
    color: var(--deploy-muted);
    font-size: 13px;
    line-height: 1.6;
}

.cp-deploy-contact__action {
    position: relative;
    z-index: 2;
}

.cp-deploy-contact__action a {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 20px;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(135deg, #1578ff, #0759df);
    box-shadow: 0 14px 30px rgba(13, 110, 253, .20);
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.cp-deploy-contact__action a svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cp-deploy-contact__action small {
    display: block;
    margin-top: 11px;
    color: var(--deploy-muted);
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}

/* Interacciones */

.cp-deploy-card:hover .cp-deploy-card__visual {
    transform: translateY(-4px) scale(1.03);
}

.cp-deploy-card__visual {
    transition: transform .3s ease;
}

.cp-deploy-services article:hover .cp-deploy-services__icon {
    transform: translateY(-3px) scale(1.05);
}

.cp-deploy-services__icon {
    transition: transform .25s ease;
}

@media (max-width: 1180px) {
    .cp-deploy__cards {
        grid-template-columns: 1fr;
    }

    .cp-deploy-card {
        min-height: auto;
    }

    .cp-deploy-services {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px 0;
    }

    .cp-deploy-services article:nth-child(3n) {
        border-right: 0;
    }

    .cp-deploy-contact {
        grid-template-columns: auto 1fr 1fr;
    }

    .cp-deploy-contact__advisor {
        display: none;
    }
}

@media (max-width: 780px) {
    .cp-deploy {
        padding: 80px 18px 72px;
    }

    .cp-deploy__header h2 {
        font-size: 42px;
    }

    .cp-deploy-card__top {
        grid-template-columns: 92px 1fr;
    }

    .cp-deploy-card__visual {
        width: 88px;
        height: 88px;
    }

    .cp-deploy-card__visual svg {
        width: 78px;
        height: 78px;
    }

    .cp-deploy-services {
        grid-template-columns: 1fr 1fr;
    }

    .cp-deploy-services article {
        border-right: 0;
    }

    .cp-deploy-contact {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cp-deploy-contact__icon {
        margin: 0 auto;
    }

    .cp-deploy-contact__action a {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .cp-deploy-card {
        padding: 30px 20px 22px;
    }

    .cp-deploy-card__top {
        grid-template-columns: 1fr;
    }

    .cp-deploy-services {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cp-deploy-card,
    .cp-deploy-card__visual,
    .cp-deploy-services__icon {
        transition: none !important;
    }
}

/* =========================================================
   CONSULTORA CANOPUS
========================================================= */

.cp-deploy-contact__consultant {
    position: absolute;
    z-index: 3;

    right: 0;
    bottom: 0;

    width: 300px;
    height: 178px;

    overflow: visible;
    pointer-events: none;
}

.cp-deploy-contact__consultant::before {
    content: "";

    position: absolute;
    right: 18px;
    bottom: 0;

    width: 230px;
    height: 125px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(37, 126, 230, 0.17),
            rgba(37, 126, 230, 0) 70%
        );

    filter: blur(8px);
}

.cp-deploy-contact__consultant img {
    position: absolute;
    z-index: 2;

    right: 4px;
    bottom: 0;

    display: block;

    width: auto;
    height: 195px;
    max-width: 300px;

    object-fit: contain;
    object-position: right bottom;

    filter:
        drop-shadow(0 16px 24px rgba(19, 55, 98, 0.18));

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.cp-deploy-contact:hover
.cp-deploy-contact__consultant img {
    transform: translateY(-4px);

    filter:
        drop-shadow(0 20px 30px rgba(19, 55, 98, 0.23));
}

/* Reservar espacio para que la imagen no cubra el botón */

.cp-deploy-contact {
    padding-right: 320px;
}

@media (max-width: 1180px) {
    .cp-deploy-contact {
        padding-right: 40px;
    }

    .cp-deploy-contact__consultant {
        display: none;
    }
}

/* ELIMINAR CUALQUIER RAYA VERTICAL DEL BLOQUE FINAL */
.cp-deploy-contact::before,
.cp-deploy-contact::after,
.cp-deploy-contact__copy::before,
.cp-deploy-contact__copy::after,
.cp-deploy-contact__action::before,
.cp-deploy-contact__action::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

/* QUITAR BORDES LATERALES INTERNOS */
.cp-deploy-contact > * {
    border-left: 0 !important;
    border-right: 0 !important;
}

/* =========================================================
   CTA TEMPORAL LIMPIO — SIN IMAGEN
========================================================= */

.cp-deploy-contact--temporary {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 38px !important;
    align-items: center !important;

    min-height: auto !important;
    padding: 30px 34px !important;

    background:
        radial-gradient(
            circle at 90% 50%,
            rgba(13, 110, 253, 0.10),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #f8fbff,
            #eef5ff
        ) !important;
}

/* Eliminar definitivamente líneas y residuos */

.cp-deploy-contact--temporary::before,
.cp-deploy-contact--temporary::after {
    content: none !important;
    display: none !important;
}

.cp-deploy-contact--temporary
.cp-deploy-contact__copy {
    max-width: 650px;
    text-align: left;
}

.cp-deploy-contact--temporary
.cp-deploy-contact__copy h3 {
    margin: 0 0 8px;
    font-size: 23px;
}

.cp-deploy-contact--temporary
.cp-deploy-contact__copy p {
    margin: 0;
    max-width: 620px;
}

.cp-deploy-contact--temporary
.cp-deploy-contact__action {
    width: 390px;
}

.cp-deploy-contact--temporary
.cp-deploy-contact__action a {
    width: 100%;
}

.cp-deploy-contact--temporary
.cp-deploy-contact__action small {
    max-width: 360px;
    margin: 12px auto 0;
}

/* Ocultar cualquier imagen o residuo anterior */

.cp-deploy-contact__consultant,
.cp-deploy-contact__advisor,
.cp-deploy-contact > img {
    display: none !important;
}

@media (max-width: 820px) {
    .cp-deploy-contact--temporary {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
        text-align: center;
    }

    .cp-deploy-contact--temporary
    .cp-deploy-contact__copy {
        text-align: center;
    }

    .cp-deploy-contact--temporary
    .cp-deploy-contact__action {
        width: 100%;
    }
}

.cp-link-faq{
    display:inline-flex;
    align-items:center;
    gap:8px;

    margin-top:22px;

    color:#2563eb;

    font-size:14px;
    font-weight:700;

    text-decoration:none;

    transition:.30s;
}

.cp-link-faq:hover{
    gap:14px;
    color:#0d47c7;
}

/*=========================================================
TRANSICIÓN HACIA FAQ
=========================================================*/

.cp-next-section{

    margin-top:55px;

    text-align:center;

}

.cp-next-section__line{

    display:block;

    width:90px;
    height:4px;

    margin:0 auto 26px;

    border-radius:30px;

    background:linear-gradient(
        90deg,
        #0d6efd,
        #56a8ff
    );

}

.cp-next-section p{

    margin:0;

    color:#5f6f83;

    font-size:19px;

    line-height:1.6;

}

.cp-next-section strong{

    color:#0a1f42;

    font-weight:800;

}

.cp-next-section__link{

    display:inline-flex;

    align-items:center;

    gap:10px;

    margin-top:22px;

    color:#0d6efd;

    font-size:15px;

    font-weight:800;

    text-decoration:none;

    transition:.35s;

}

.cp-next-section__link svg{

    width:18px;
    height:18px;

    fill:none;

    stroke:currentColor;

    stroke-width:2;

    stroke-linecap:round;

    stroke-linejoin:round;

    transition:.35s;

}

.cp-next-section__link:hover{

    gap:18px;

    color:#0753cf;

}

.cp-next-section__link:hover svg{

    transform:translateX(6px);

}

/*=========================================================
TARJETA FAQ
=========================================================*/

.cp-faq-card{

    margin-top:22px;

    padding:24px;

    border:1px solid #dfe9fb;

    border-radius:18px;

    background:#ffffff;

    transition:.35s;

}

.cp-faq-card:hover{

    transform:translateY(-4px);

    border-color:#b8d2ff;

    box-shadow:0 15px 35px rgba(37,99,235,.10);

}

.cp-faq-card__icon{

    width:52px;

    height:52px;

    margin:0 auto 16px;

    border-radius:16px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#eef5ff;

}

.cp-faq-card__icon svg{

    width:28px;

    height:28px;

    fill:none;

    stroke:#2563eb;

    stroke-width:2;

    stroke-linecap:round;

    stroke-linejoin:round;

}

.cp-faq-card h4{

    margin:0;

    text-align:center;

    color:#0a1f42;

    font-size:17px;

    line-height:1.4;

    font-weight:800;

}

.cp-faq-card p{

    margin:12px 0 18px;

    text-align:center;

    color:#6c7b90;

    line-height:1.7;

    font-size:14px;

}

.cp-faq-card a{

    display:inline-flex;

    align-items:center;

    gap:8px;

    justify-content:center;

    width:100%;

    color:#2563eb;

    font-weight:800;

    text-decoration:none;

}

.cp-faq-card a:hover{

    gap:14px;

}


/* =========================================================
   ENLACE SECUNDARIO A PREGUNTAS FRECUENTES
========================================================= */

.cp-deploy-contact__action .cp-link-faq {
    display: inline-flex !important;
    width: auto !important;
    min-height: auto !important;

    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;

    margin: 18px auto 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    color: #0d6efd !important;
    background: transparent !important;

    box-shadow: none !important;

    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;

    text-decoration: none !important;

    transition:
        color 0.25s ease,
        gap 0.25s ease !important;
}

.cp-deploy-contact__action .cp-link-faq svg {
    width: 19px !important;
    height: 19px !important;

    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.cp-deploy-contact__action .cp-link-faq:hover {
    gap: 14px !important;
    color: #074fc2 !important;

    background: transparent !important;
    transform: none !important;
}

.cp-deploy-contact__action .cp-link-faq span {
    transition: transform 0.25s ease;
}

.cp-deploy-contact__action .cp-link-faq:hover span {
    transform: translateX(4px);
}


