/* =========================================================
   COLABORAWEB | APPS Y DEMOS POR SECTOR
   Un único control para el espacio exterior de toda la sección.
========================================================= */
.cw-apps {
    --cw-apps-blue: #087CF0;
    --cw-apps-blue-dark: #0758B7;
    --cw-apps-green: #10D982;
    --cw-apps-ink: #10243A;
    --cw-apps-muted: #637286;
    --cw-apps-border: #E3EAF2;
    --cw-apps-section-padding: 14px;
    width: 100%;
    padding: var(--cw-apps-section-padding) 0;
    overflow: hidden;
    background: #fff;
    color: var(--cw-apps-ink);
    font-family: inherit;
}
.cw-apps *, .cw-apps *::before, .cw-apps *::after { box-sizing: border-box; }
.cw-apps h1, .cw-apps h2, .cw-apps h3, .cw-apps p { margin-top: 0; }
.cw-apps a { text-decoration: none; }
.cw-apps__container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.cw-apps__intro { max-width: 760px; margin: 0 auto 24px; text-align: center; }
.cw-apps__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--cw-apps-blue); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.cw-apps__eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: var(--cw-apps-green); box-shadow: 0 0 0 4px rgba(16,217,130,.12); }
.cw-apps__intro h1,.cw-apps__intro h2 { margin-bottom: 8px; font-size: clamp(29px, 3.4vw, 43px); line-height: 1.12; letter-spacing: -.045em; font-weight: 820; }
.cw-apps__intro h1 span ,.cw-apps__intro h2 span { color: var(--cw-apps-blue); }
.cw-apps__intro p { max-width: 650px; margin: 0 auto; color: var(--cw-apps-muted); font-size: 15px; line-height: 1.6; }
.cw-apps__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.cw-app-card { min-width: 0; overflow: hidden; border: 1px solid var(--cw-apps-border); border-radius: 17px; background: #fff; box-shadow: 0 8px 28px rgba(20,48,80,.055); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.cw-app-card:hover { transform: translateY(-3px); border-color: #C9DDF3; box-shadow: 0 14px 32px rgba(20,48,80,.10); }
.cw-app-card__visual { position: relative; display: flex; min-height: 224px; align-items: center; justify-content: center; padding: 18px 14px 20px; overflow: hidden; background: radial-gradient(ellipse at 50% 5%, #E2F0FF 0, #F2F8FF 52%, #F8FBFF 100%); }
.cw-app-card--inmo .cw-app-card__visual { background: radial-gradient(ellipse at 50% 5%, #E0F7EF 0, #F0FBF7 52%, #F8FCFA 100%); }
.cw-app-card--studio .cw-app-card__visual { background: radial-gradient(ellipse at 50% 5%, #E8E8FF 0, #F5F4FF 52%, #FAFAFF 100%); }
.cw-app-card__window { position: relative; z-index: 1; width: 100%; max-width: 355px; overflow: hidden; border: 1px solid rgba(209,223,238,.95); border-radius: 11px; background: #fff; box-shadow: 0 13px 30px rgba(26,62,99,.13); transform: rotate(-1deg); }
.cw-app-card--inmo .cw-app-card__window { transform: rotate(1deg); }
.cw-app-card__window--dark { border-color: #2E3850; background: #151D2D; box-shadow: 0 13px 30px rgba(26,26,64,.22); }
.cw-app-card__top { display: flex; height: 27px; align-items: center; gap: 8px; padding: 0 9px; border-bottom: 1px solid #EAF0F6; color: #7A8A9E; font-size: 8px; }
.cw-app-card__window--dark .cw-app-card__top { border-color: #2A3549; color: #AAB6CC; }
.cw-app-card__dots { display: flex; gap: 3px; }
.cw-app-card__dots i { width: 5px; height: 5px; border-radius: 50%; background: #C8D3E0; }
.cw-app-card__dots i:first-child { background: #FF9D9D; }
.cw-app-card__dots i:nth-child(2) { background: #FFD17E; }
.cw-app-card__dots i:nth-child(3) { background: #72DDAA; }
.cw-app-card__live { margin-left: auto; padding: 3px 5px; border-radius: 4px; color: #08764E; background: #DFF9EC; font-size: 7px; font-weight: 850; letter-spacing: .06em; }
.cw-app-card__body { display: grid; grid-template-columns: 30px minmax(0, 1fr); min-height: 158px; }
.cw-app-card__sidebar { display: flex; flex-direction: column; align-items: center; gap: 11px; padding: 10px 0; border-right: 1px solid #EAF0F6; background: #FAFCFF; }
.cw-app-card__sidebar b { display: grid; width: 19px; height: 19px; place-items: center; border-radius: 6px; color: #fff; background: var(--cw-apps-blue); font-size: 10px; }
.cw-app-card--inmo .cw-app-card__sidebar b { background: #159B73; }
.cw-app-card--studio .cw-app-card__sidebar b { background: #7774E8; }
.cw-app-card__sidebar i { width: 12px; height: 12px; border: 1px solid #C4D1E0; border-radius: 4px; }
.cw-app-card__sidebar i.is-active { border-color: #7CB9F6; background: #E2F1FF; box-shadow: inset 0 0 0 2px #E2F1FF; }
.cw-app-card__screen { min-width: 0; padding: 11px 10px 9px; }
.cw-app-card__screen > small { display: block; margin-bottom: 3px; color: #8797AA; font-size: 7px; font-weight: 800; letter-spacing: .07em; }
.cw-app-card__screen > strong { display: block; margin-bottom: 8px; color: #192F48; font-size: 12px; line-height: 1.2; }
.cw-app-card__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 7px; }
.cw-app-card__stats > div { padding: 6px 7px; border: 1px solid #E8EEF5; border-radius: 6px; background: #FBFDFF; }
.cw-app-card__stats span, .cw-app-card__stats b { display: block; }
.cw-app-card__stats span { color: #8291A4; font-size: 8px; }
.cw-app-card__stats b { margin-top: 2px; color: #173A5E; font-size: 14px; }
.cw-app-card__appointment { display: flex; align-items: center; gap: 6px; margin-top: 5px; padding: 5px 6px; border: 1px solid #EDF1F6; border-radius: 6px; }
.cw-app-card__pet { display: grid; width: 23px; height: 23px; flex: 0 0 23px; place-items: center; border-radius: 6px; background: #E9F4FF; font-size: 12px; }
.cw-app-card__appointment > span:nth-child(2) { min-width: 0; }
.cw-app-card__appointment b, .cw-app-card__appointment small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cw-app-card__appointment b { color: #30445A; font-size: 8px; }
.cw-app-card__appointment small { margin-top: 2px; color: #8492A3; font-size: 7px; }
.cw-app-card__appointment em { margin-left: auto; color: #12875E; font-size: 7px; font-style: normal; white-space: nowrap; }
.cw-app-card__property { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 7px; margin-top: 6px; padding: 5px; border: 1px solid #E7F0EC; border-radius: 6px; }
.cw-app-card__house { position: relative; height: 36px; overflow: hidden; border-radius: 4px; background: linear-gradient(145deg,#B6E5D4,#E4F4ED); }
.cw-app-card__house::before { position: absolute; right: 7px; bottom: -3px; left: 7px; height: 23px; background: #fff; content: ""; clip-path: polygon(0 30%,50% 0,100% 30%,100% 100%,0 100%); }
.cw-app-card__house::after { position: absolute; bottom: 0; left: 22px; width: 7px; height: 13px; background: #8DBAA9; content: ""; }
.cw-app-card__house--two { background: linear-gradient(145deg,#D8E6F9,#EEF3FC); }
.cw-app-card__house--two::before { background: #FDFEFF; }
.cw-app-card__property b, .cw-app-card__property small, .cw-app-card__property strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cw-app-card__property b { color: #28483D; font-size: 8px; }
.cw-app-card__property small { margin-top: 2px; color: #84978F; font-size: 7px; }
.cw-app-card__property strong { margin-top: 3px; color: #14845F; font-size: 8px; }
.cw-app-card__property > i { color: #159B73; font-size: 12px; font-style: normal; }
.cw-app-card__lead { display: flex; align-items: center; gap: 5px; margin-top: 7px; padding: 6px; border-radius: 5px; color: #59786D; background: #EFF9F4; font-size: 7px; }
.cw-app-card__lead > span { color: #159B73; }
.cw-app-card__lead b { margin-left: auto; color: #14845F; font-size: 7px; white-space: nowrap; }
.cw-app-card__window--dark .cw-app-card__sidebar { border-color: #2A3549; background: #192235; }
.cw-app-card__window--dark .cw-app-card__sidebar i { border-color: #49556D; }
.cw-app-card__window--dark .cw-app-card__sidebar i.is-active { border-color: #8C89FF; background: #39385D; }
.cw-app-card__window--dark .cw-app-card__screen > strong { color: #F1F4FF; }
.cw-app-card__studio-stat { position: relative; margin-top: 7px; padding: 7px 8px; border: 1px solid #303A50; border-radius: 6px; background: #1C2639; }
.cw-app-card__studio-stat span { color: #A4B0C5; font-size: 8px; }
.cw-app-card__studio-stat b { float: right; color: #F4F5FF; font-size: 12px; }
.cw-app-card__studio-stat > div { height: 3px; margin-top: 6px; overflow: hidden; border-radius: 9px; background: #303B50; }
.cw-app-card__studio-stat > div i { display: block; width: 72%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#7774E8,#10D982); }
.cw-app-card__studio-stat:nth-of-type(3) > div i { width: 56%; }
.cw-app-card__studio-row { display: flex; justify-content: space-between; gap: 5px; margin-top: 8px; color: #D5DDF0; font-size: 7px; }
.cw-app-card__studio-row span { display: flex; align-items: center; gap: 4px; }
.cw-app-card__studio-row i { width: 5px; height: 5px; border-radius: 50%; background: #10D982; }
.cw-app-card__studio-row small { color: #8E9BB2; font-size: 7px; }
.cw-app-card__float { position: absolute; z-index: 2; display: inline-flex; align-items: center; max-width: 70%; padding: 7px 9px; border: 1px solid rgba(220,231,243,.95); border-radius: 7px; color: #38516D; background: rgba(255,255,255,.96); box-shadow: 0 6px 17px rgba(28,59,91,.10); font-size: 8px; font-weight: 750; white-space: nowrap; }
.cw-app-card__float--one { top: 16px; right: 8px; }
.cw-app-card__float--two { bottom: 12px; left: 8px; }
.cw-app-card__content { padding: 16px 17px 17px; }
.cw-app-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-bottom: 7px; color: #74869A; font-size: 8px; font-weight: 800; letter-spacing: .06em; }
.cw-app-card__tag { padding: 4px 6px; border-radius: 5px; color: #087CF0; background: #EEF6FF; font-size: 8px; letter-spacing: 0; white-space: nowrap; }
.cw-app-card__content h3 { margin-bottom: 6px; font-size: 23px; line-height: 1.1; letter-spacing: -.035em; }
.cw-app-card__content p { min-height: 68px; margin-bottom: 10px; color: var(--cw-apps-muted); font-size: 12px; line-height: 1.55; }
.cw-app-card__content ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 13px; padding: 0; list-style: none; }
.cw-app-card__content li { padding: 5px 7px; border: 1px solid #E7EDF4; border-radius: 5px; color: #53677D; background: #FBFCFE; font-size: 9px; line-height: 1.2; }
.cw-app-card__link { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 11px; border-top: 1px solid #EDF1F5; color: var(--cw-apps-blue); font-size: 11px; font-weight: 800; }
.cw-app-card__link span { display: grid; width: 25px; height: 25px; flex: 0 0 25px; place-items: center; border-radius: 7px; color: #fff; background: var(--cw-apps-blue); font-size: 14px; transition: transform .2s ease; }
.cw-app-card__link:hover span { transform: translate(2px,-2px); }
.cw-apps__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 15px 18px; border: 1px solid #DCEAF8; border-radius: 12px; background: linear-gradient(100deg,#F3F9FF,#F8FCFF); }
.cw-apps__bottom > div { display: flex; align-items: center; gap: 11px; }
.cw-apps__bottom-icon { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border-radius: 10px; color: #fff; background: var(--cw-apps-blue); font-size: 20px; }
.cw-apps__bottom p { display: grid; gap: 3px; margin: 0; }
.cw-apps__bottom p strong { color: var(--cw-apps-ink); font-size: 13px; }
.cw-apps__bottom p span { color: var(--cw-apps-muted); font-size: 11px; line-height: 1.4; }
.cw-apps__cta { display: inline-flex; min-height: 39px; flex: 0 0 auto; align-items: center; justify-content: center; gap: 12px; padding: 9px 13px; border-radius: 8px; color: #fff; background: var(--cw-apps-blue); font-size: 11px; font-weight: 800; transition: background .2s ease; }
.cw-apps__cta:hover { background: var(--cw-apps-blue-dark); }
.cw-apps__note { margin: 9px 0 0; color: #8794A4; font-size: 10px; line-height: 1.4; text-align: center; }
.cw-apps a:focus-visible { outline: 3px solid rgba(8,124,240,.35); outline-offset: 3px; }

/* Evitar que el botón cambie a azul al pasar el cursor */
.cw-apps .cw-apps__cta:hover,
.cw-apps .cw-apps__cta:focus-visible {
    background-color: var(--cw-green, #10D982);
    color: #ffffff;
    border-color: var(--cw-green, #10D982);
    text-decoration: none;
}

@media (max-width: 980px) {
    .cw-apps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .cw-app-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
    .cw-app-card:last-child .cw-app-card__visual { min-height: 100%; }
    .cw-app-card__content p { min-height: 0; }
}
@media (max-width: 620px) {
    .cw-apps__container { width: min(100% - 28px, 460px); }
    .cw-apps__intro { margin-bottom: 18px; }
    .cw-apps__intro h2 { font-size: clamp(27px, 8vw, 35px); }
    .cw-apps__intro p { font-size: 13px; }
    .cw-apps__grid { grid-template-columns: 1fr; gap: 12px; }
    .cw-app-card:last-child { display: block; grid-column: auto; }
    .cw-app-card__visual { min-height: 210px; }
    .cw-app-card__content { padding: 14px; }
    .cw-app-card__content p { min-height: 0; }
    .cw-apps__bottom { align-items: stretch; flex-direction: column; gap: 11px; margin-top: 12px; padding: 13px; }
    .cw-apps__cta { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .cw-app-card, .cw-app-card__link span, .cw-apps__cta { transition: none; }
}
