/* daezpro.com — 10-service-deliver-comparator.css
   Plantilla de servicio: 'que entregamos' (.deliver-*) y el comparador interactivo (.cmp-*). */

/* ---------------------------------------------------- QUÉ ENTREGAMOS */
.deliver-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:clamp(18px,2vw,24px);
  margin-top:clamp(36px,4vw,52px);
}
.deliver-card{ padding:clamp(22px,2.2vw,28px); }
.deliver-card__ico{
  width:38px; height:38px;
  display:inline-flex; align-items:center; justify-content:center;
  margin-bottom:18px;
  border-radius:var(--r-md);
  background:var(--bg-canvas);
  color:var(--accent-strong);
  font-family:var(--font-mono);
  font-size:var(--fs-body); font-weight:600;
}
.deliver-card__title{
  font-family:var(--font-display);
  font-weight:600;
  font-size:var(--fs-h3);
  letter-spacing:-0.01em;
  color:var(--text-strong);
  margin-bottom:8px;
}
.deliver-card__desc{ font-size:var(--fs-body); line-height:1.55; color:var(--text-body); }

/* -------------------------------------------------------- CMP · COMPARADOR */
.cmp{ margin-top:clamp(36px,4vw,52px); overflow:hidden; }
.cmp__grid{ display:grid; grid-template-columns:1fr 1fr; }
.cmp__inputs{
  padding:clamp(26px,3vw,36px);
  border-right:1px solid var(--border);
  display:grid;
  gap:22px;
  align-content:start;
}
.cmp-field{ display:grid; gap:8px; }
.cmp-field__head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
}
.cmp-field label{ font-size:var(--fs-sm); font-weight:600; color:var(--text-strong); }
.cmp-field output{
  font-family:var(--font-mono);
  font-size:var(--fs-sm);
  font-weight:500;
  color:var(--accent-strong);
  white-space:nowrap;
}
.cmp-field input[type="range"]{
  -webkit-appearance:none; appearance:none;
  width:100%; height:4px;
  border-radius:var(--r-pill);
  background:var(--border);
  outline:none;
  cursor:pointer;
}
.cmp-field input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance:none;
  width:17px; height:17px;
  border-radius:50%;
  background:var(--surface);
  border:2px solid var(--text-strong);
  box-shadow:var(--sh-xs);
  cursor:pointer;
  margin-top:-1px;
}
.cmp-field input[type="range"]::-moz-range-thumb{
  width:15px; height:15px; border-radius:50%;
  background:var(--surface); border:2px solid var(--text-strong); cursor:pointer;
}
.cmp-field__note{ font-size:var(--fs-xs); color:var(--text-body); line-height:1.4; }

.cmp__results{ padding:clamp(26px,3vw,36px); display:grid; gap:24px; align-content:start; }
.cmp-headline{
  padding-bottom:22px;
  border-bottom:1px solid var(--border);
}
.cmp-headline__k{
  font-family:var(--font-mono);
  font-size:var(--fs-xs);
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--text-body);
  margin-bottom:10px;
}
.cmp-headline__num{
  font-family:var(--font-display);
  font-weight:700;
  font-size:clamp(30px,3vw,38px);
  letter-spacing:-0.03em;
  color:var(--text-strong);
  line-height:1.05;
}
.cmp-headline__num.is-neg{ color:var(--accent-strong); }
.cmp-headline__sub{ margin-top:8px; font-size:var(--fs-sm); color:var(--text-body); line-height:1.5; }

.cmp-chart{ display:flex; align-items:flex-end; gap:8px; height:150px; }
.cmp-bar{
  flex:1 1 0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  height:100%;
}
.cmp-bar__stack{
  width:100%;
  max-width:34px;
  display:flex;
  flex-direction:row;
  align-items:flex-end;
  justify-content:center;
  gap:3px;
  height:100px;
}
.cmp-bar__seg{
  width:13px;
  flex:0 0 auto;
  border-radius:var(--r-xs) var(--r-xs) 0 0;
  transition:height .25s ease;
}
.cmp-bar__seg--saas{ background:var(--text-strong); }
.cmp-bar__seg--own{ background:var(--accent); }
.cmp-bar__yr{ font-family:var(--font-mono); font-size:var(--fs-2xs); color:var(--text-body); }

.cmp-legend{ display:flex; gap:20px; flex-wrap:wrap; }
.cmp-legend__item{ display:flex; align-items:center; gap:7px; font-size:var(--fs-xs); color:var(--text-body); }
.cmp-legend__sw{ width:10px; height:10px; border-radius:var(--r-xs); }
.cmp-legend__sw--saas{ background:var(--text-strong); }
.cmp-legend__sw--own{ background:var(--accent); }

.cmp-foot{
  padding:16px clamp(26px,3vw,36px) 22px;
  border-top:1px solid var(--border);
  font-size:var(--fs-xs);
  line-height:1.55;
  color:var(--text-body);
}
