/* COLABORAWEB |  CSS prémium responsive */
.cw-page {
    --cw-page-blue: #087cf0;
    --cw-page-blue-dark: #075fc0;
    --cw-page-green: #10d982;
    --cw-page-ink: #142238;
    --cw-page-text: #536176;
    --cw-page-muted: #78869a;
    --cw-page-border: #e4eaf2;
    --cw-page-section-space: clamp(6px, 4vw, 15px);
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 100vh;
    padding-block: var(--cw-page-section-space);
    overflow: hidden;
    color: var(--cw-page-ink);
    background:
        radial-gradient(ellipse at 88% 2%, rgba(8,124,240,.075), transparent 31%),
        radial-gradient(ellipse at 4% 38%, rgba(16,217,130,.045), transparent 25%),
        #f8fafd;
    font-family: inherit;
}
.cw-page *, .cw-page *::before, .cw-page *::after { box-sizing: border-box; }
.cw-page-container { position:relative; z-index:1; width:min(100% - 40px,1180px); margin-inline:auto; }
.cw-page::before {
    content:""; position:absolute; z-index:-1; top:0; right:0; width:min(38vw,440px); height:min(38vw,440px);
    background-image:linear-gradient(rgba(8,124,240,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(8,124,240,.055) 1px,transparent 1px);
    background-size:26px 26px; pointer-events:none;
}
.cw-page-hero {
    position:relative; display:grid; grid-template-columns:minmax(0,1fr) minmax(220px,285px);
    align-items:center; gap:clamp(28px,4.5vw,58px); padding:clamp(28px,4.5vw,52px);
    overflow:hidden; border:1px solid rgba(222,231,242,.95); border-radius:24px;
    background:radial-gradient(ellipse at 100% 0%,rgba(8,124,240,.055),transparent 42%),linear-gradient(135deg,#fff 0%,#fff 58%,#f4f9ff 100%);
    box-shadow:0 18px 52px rgba(26,54,93,.065);
}
.cw-page-hero::before { content:""; position:absolute; top:0; left:0; width:100%; height:3px; background:linear-gradient(90deg,var(--cw-page-blue),#5c6df4 56%,var(--cw-page-green)); }
.cw-page-hero-content { min-width:0; }
.cw-page-badge {
    display:inline-flex; align-items:center; gap:9px; max-width:100%; margin-bottom:18px; padding:8px 13px;
    border:1px solid rgba(8,124,240,.15); border-radius:999px; color:var(--cw-page-blue-dark); background:#f1f7ff;
    font-size:.74rem; font-weight:750; letter-spacing:.045em; line-height:1.4; text-transform:uppercase; overflow-wrap:anywhere;
}
.cw-page-badge span { display:block; flex:0 0 7px; width:7px; height:7px; border-radius:50%; background:var(--cw-page-green); box-shadow:0 0 0 4px rgba(16,217,130,.12); }
.cw-page-title { max-width:820px; margin:0; color:var(--cw-page-ink); font-size:clamp(2.15rem,4.4vw,3.55rem); font-weight:780; letter-spacing:-.055em; line-height:1.08; overflow-wrap:anywhere; text-wrap:balance; }
.cw-page-title::after { content:""; display:block; width:62px; height:4px; margin-top:21px; border-radius:99px; background:linear-gradient(90deg,var(--cw-page-blue),var(--cw-page-green)); }
.cw-page-description { max-width:730px; margin:20px 0 0; color:var(--cw-page-text); font-size:clamp(.98rem,1.4vw,1.08rem); line-height:1.8; text-wrap:pretty; }
.cw-page-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:27px; }
.cw-page-btn {
    display:inline-flex; align-items:center; justify-content:center; gap:13px; min-height:48px; max-width:100%; padding:12px 18px;
    border:1px solid transparent; border-radius:12px; font-family:inherit; font-size:.9rem; font-weight:700; line-height:1.35;
    text-align:center; text-decoration:none; overflow-wrap:anywhere;
    transition:transform 200ms ease,background-color 200ms ease,border-color 200ms ease,box-shadow 200ms ease,color 200ms ease;
}
.cw-page-btn strong { flex:0 0 auto; font-size:1.15rem; font-weight:600; line-height:1; }
.cw-page-btn-primary { color:#fff; background:var(--cw-page-blue); box-shadow:0 8px 20px rgba(8,124,240,.17); }
.cw-page-btn-secondary { flex:0 0 auto; color:var(--cw-page-blue-dark); border-color:#d7e5f8; background:#fff; }
.cw-page-visual { display:flex; min-width:0; justify-content:flex-end; align-items:center; }
.cw-page-image-frame { position:relative; width:100%; max-width:285px; padding:9px; border:1px solid #dce6f3; border-radius:17px; background:linear-gradient(145deg,#eaf1fa,#fff 58%,#f0fbf6); box-shadow:0 18px 38px rgba(24,49,82,.12); }
.cw-page-image-top { display:flex; align-items:center; gap:5px; height:22px; padding:0 5px 7px; }
.cw-page-image-top span { display:block; width:6px; height:6px; border-radius:50%; background:#c0ccdb; }
.cw-page-image-top span:first-child { background:#f4a5a5; }
.cw-page-image-top span:nth-child(2) { background:#f4cf83; }
.cw-page-image-top span:nth-child(3) { background:#8edcb8; }
.cw-page-image-frame img { display:block; width:100%; height:190px; border-radius:9px; object-fit:cover; object-position:center; }
.cw-page-main { width:100%; margin-top:clamp(24px,3vw,36px); padding:clamp(25px,4vw,48px); border:1px solid var(--cw-page-border); border-radius:24px; background:#fff; box-shadow:0 12px 34px rgba(26,54,93,.045); }
.cw-page-content { width:100%; max-width:1000px; margin-inline:auto; color:#3d4a5d; font-size:1rem; line-height:1.85; overflow-wrap:anywhere; }
.cw-page-content > :first-child { margin-top:0; }
.cw-page-content > :last-child { margin-bottom:0; }
.cw-page-content h2 { position:relative; margin:42px 0 17px; padding-left:17px; color:var(--cw-page-ink); font-size:clamp(1.55rem,2.6vw,2rem); font-weight:750; letter-spacing:-.035em; line-height:1.25; text-wrap:balance; scroll-margin-top:100px; }
.cw-page-content h2::before { content:""; position:absolute; top:4px; bottom:4px; left:0; width:4px; border-radius:99px; background:linear-gradient(180deg,var(--cw-page-blue),var(--cw-page-green)); }
.cw-page-content h3 { margin:30px 0 13px; color:#20334c; font-size:clamp(1.22rem,2vw,1.48rem); font-weight:720; letter-spacing:-.02em; line-height:1.35; scroll-margin-top:100px; }
.cw-page-content h4 { margin:25px 0 11px; color:#30445e; font-size:1.15rem; font-weight:700; line-height:1.4; }
.cw-page-content h5 { margin:21px 0 9px; color:#40516a; font-size:1.04rem; font-weight:700; line-height:1.45; }
.cw-page-content h6 { margin:18px 0 8px; color:#526176; font-size:.96rem; font-weight:700; line-height:1.5; }
.cw-page-content p { margin:0 0 19px; }
.cw-page-content strong, .cw-page-content b { color:#24364e; font-weight:720; }
.cw-page-content ul, .cw-page-content ol { margin:0 0 24px; padding-left:1.5rem; }
.cw-page-content li { margin-bottom:8px; padding-left:3px; }
.cw-page-content li::marker { color:var(--cw-page-blue); }
.cw-page-content a { color:var(--cw-page-blue-dark); font-weight:650; text-decoration:underline; text-decoration-color:rgba(8,124,240,.35); text-underline-offset:3px; text-decoration-thickness:1px; overflow-wrap:anywhere; transition:color 180ms ease,text-decoration-color 180ms ease; }
.cw-page-content img, .cw-page-content video, .cw-page-content iframe { max-width:100%; }
.cw-page-content img { display:block; height:auto; margin:28px auto; border:1px solid rgba(222,231,242,.9); border-radius:13px; }
.cw-page-content figure { max-width:100%; margin:28px 0; }
.cw-page-content figure img { margin:0 auto; }
.cw-page-content figcaption { margin-top:9px; color:var(--cw-page-muted); font-size:.88rem; line-height:1.6; text-align:center; }
.cw-page-content hr { height:1px; margin:35px 0; border:0; background:var(--cw-page-border); }
.cw-page-content blockquote { margin:26px 0; padding:19px 22px; border:1px solid #e0eafb; border-left:4px solid var(--cw-page-blue); border-radius:0 13px 13px 0; color:#526176; background:#f4f8ff; }
.cw-page-content blockquote > :last-child { margin-bottom:0; }
.cw-page-content table { display:block; width:100%; max-width:100%; margin:26px 0; overflow-x:auto; border:1px solid var(--cw-page-border); border-radius:12px; border-spacing:0; background:#fff; -webkit-overflow-scrolling:touch; }
.cw-page-content th, .cw-page-content td { min-width:110px; padding:12px 14px; border-right:1px solid var(--cw-page-border); border-bottom:1px solid var(--cw-page-border); text-align:left; vertical-align:top; }
.cw-page-content th:last-child, .cw-page-content td:last-child { border-right:0; }
.cw-page-content tr:last-child td { border-bottom:0; }
.cw-page-content th { color:var(--cw-page-ink); background:#f3f7fc; font-weight:720; }
.cw-page-content code { padding:.15em .4em; border-radius:5px; color:#174a83; background:#eff6ff; font-size:.9em; overflow-wrap:anywhere; }
.cw-page-content pre { max-width:100%; padding:18px; overflow-x:auto; border:1px solid var(--cw-page-border); border-radius:12px; background:#f6f8fb; line-height:1.65; }
.cw-page-content pre code { padding:0; color:inherit; background:transparent; }
.cw-page-navigation { display:flex; align-items:center; justify-content:space-between; gap:22px; margin-top:24px; padding:20px 24px; border:1px solid #d9e7f8; border-radius:18px; background:radial-gradient(ellipse at 100% 0%,rgba(16,217,130,.08),transparent 45%),linear-gradient(105deg,#eef5ff,#fff); }
.cw-page-navigation > span { color:var(--cw-page-ink); font-size:1rem; font-weight:700; line-height:1.5; }
@media (hover:hover) {
    .cw-page-btn-primary:hover { background:var(--cw-page-blue-dark); box-shadow:0 11px 25px rgba(8,124,240,.24); transform:translateY(-2px); }
    .cw-page-btn-secondary:hover { color:#fff; border-color:var(--cw-page-blue); background:var(--cw-page-blue); transform:translateY(-2px); }
    .cw-page-content a:hover { color:var(--cw-page-blue); text-decoration-color:currentColor; }
}
.cw-page a:focus-visible { outline:3px solid rgba(8,124,240,.48); outline-offset:4px; }


/* ==========================================
   BOTÓN PRINCIPAL | HOVER CON BUEN CONTRASTE
========================================== */

.cw-page-btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #087CF0, #0666CC);
    transition: background 0.3s ease,
                color 0.3s ease,
                box-shadow 0.3s ease,
                transform 0.3s ease;
}

.cw-page-btn-primary span,
.cw-page-btn-primary strong {
    color: #ffffff;
}

.cw-page-btn-primary:hover,
.cw-page-btn-primary:focus-visible {
    color: #ffffff;
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 10px 24px rgba(5, 150, 105, 0.24);
    transform: translateY(-2px);
}

.cw-page-btn-primary:hover span,
.cw-page-btn-primary:hover strong,
.cw-page-btn-primary:focus-visible span,
.cw-page-btn-primary:focus-visible strong {
    color: #ffffff;
}


@media (max-width:850px) {
    .cw-page-hero { grid-template-columns:minmax(0,1fr) minmax(180px,230px); gap:28px; padding:32px; }
    .cw-page-image-frame img { height:165px; }
    .cw-page-main { padding:30px; }
}
@media (max-width:650px) {
    .cw-page-container { width:min(100% - 30px,560px); }
    .cw-page-hero { grid-template-columns:minmax(0,1fr); gap:24px; padding:27px 24px; border-radius:20px; }
    .cw-page-title { font-size:clamp(2rem,8vw,2.8rem); letter-spacing:-.045em; }
    .cw-page-title::after { margin-top:17px; }
    .cw-page-description { margin-top:16px; font-size:.96rem; line-height:1.75; }
    .cw-page-actions { margin-top:22px; }
    .cw-page-visual { justify-content:flex-start; }
    .cw-page-image-frame { max-width:260px; }
    .cw-page-image-frame img { height:165px; }
    .cw-page-main { margin-top:22px; padding:26px 23px; border-radius:20px; }
    .cw-page-content { font-size:.96rem; line-height:1.8; }
    .cw-page-content h2 { margin-top:34px; font-size:1.55rem; }
    .cw-page-content h3 { margin-top:25px; font-size:1.25rem; }
    .cw-page-navigation { align-items:stretch; flex-direction:column; gap:15px; padding:19px; border-radius:15px; }
    .cw-page-navigation .cw-page-btn { width:100%; }
}
@media (max-width:380px) {
    .cw-page-container { width:calc(100% - 24px); }
    .cw-page-hero { padding:23px 19px; }
    .cw-page-badge { font-size:.68rem; letter-spacing:.025em; }
    .cw-page-title { font-size:1.9rem; }
    .cw-page-main { padding:23px 18px; }
    .cw-page-btn { width:100%; }
}
@media (prefers-reduced-motion:reduce) {
    .cw-page *, .cw-page *::before, .cw-page *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}
