
.ch-calc, .ch-factores, .ch-rango { --ch-y: clamp(72px, 9.72vw, 140px); }
.ch-factores { --edge: max(var(--gutter), calc((100% - var(--content)) / 2)); }

.ch-hero { padding: 194px var(--edge) 100px; }
.ch-hero .pg-hero__media::after { background: rgba(16, 87, 65, .85); }
.ch-hero__main { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; max-width: 900px; }

.ch-calc { padding-block: var(--ch-y); }
.ch-calc__inner { display: flex; flex-direction: column; gap: 80px; }
.ch-calc__card {
  display: flex; flex-direction: column; gap: 32px;
  padding: 40px; border-radius: var(--radius);
  background: var(--gris-25);
}
.ch-calc__card [hidden] { display: none !important; }

.ch-calc__head { display: flex; align-items: center; gap: 40px; }
.ch-progress { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.ch-progress strong { font-weight: 700; }
.ch-progress__bar { position: relative; height: 6px; border-radius: 3px; background: var(--gris-100); overflow: hidden; }
.ch-progress__fill {
  position: absolute; inset: 0 auto 0 0; width: 10.01%;
  border-radius: 3px; background: var(--verde-oscuro);
  transition: width .6s var(--ease-out);
}
[data-step="2"] .ch-progress__fill { width: 33.33%; }
[data-step="3"] .ch-progress__fill { width: 50%; }
[data-step="4"] .ch-progress__fill { width: 66.67%; }
[data-step="5"] .ch-progress__fill { width: 83.33%; }
[data-step="6"] .ch-progress__fill { width: 100%; }

.ch-mini {
  flex: none; display: flex; align-items: center; gap: 10px;
  padding: 10px 22px; border-radius: 100px; background: var(--blanco);
  white-space: nowrap;
}
.ch-mini__num { font-family: var(--f-display); font-size: 36px; line-height: 36px; letter-spacing: -.02em; }

.ch-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.ch-step {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 12px 14px; border-radius: 12px;
  color: var(--gris-200); text-align: left;
  transition: background .3s, color .3s;
}
@media (hover: hover) { .ch-step:hover { background: rgba(255, 255, 255, .6); } }
.ch-step__n {
  flex: none; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 100px;
  border: 1px solid var(--gris-100);
  font-size: 12px; line-height: 19px;
  transition: background .3s, border-color .3s, color .3s;
}
.ch-step__t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-step[aria-current="step"] { background: var(--blanco); color: var(--negro); }
.ch-step[aria-current="step"] .ch-step__t { font-weight: 700; }
.ch-step[aria-current="step"] .ch-step__n { border-color: var(--verde-oscuro); background: var(--verde-oscuro); color: var(--blanco); font-weight: 700; }
.ch-step.is-done { color: var(--negro); }
.ch-step.is-done .ch-step__n { border-color: var(--verde-light); background: var(--verde-light); }

.ch-calc__body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
[data-step="6"] .ch-calc__body { grid-template-columns: minmax(0, 1fr); }
[data-step="6"] .ch-sum { display: none; }
.ch-pane { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.ch-pane h3:focus { outline: none; }
.ch-eyebrow { color: var(--verde-musgo); }

.ch-q { margin: 0; padding: 0; border: 0; min-width: 0; }
.ch-q__t { padding: 0; margin-bottom: 12px; font-weight: 700; }
.ch-q__help { margin-top: 12px; }
.ch-calc .pg-pill { flex: none; }

.ch-note { padding: 16px 20px; border-radius: 12px; background: var(--blanco); }
.ch-sub strong { font-weight: 700; }

.ch-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ch-input {
  position: relative;
  display: flex; align-items: center; gap: 8px; min-width: 0;
  padding: 12px 16px; border: 1px solid var(--gris-100); border-radius: var(--radius-sm);
  background: var(--blanco); color: var(--gris-200);
  transition: border-color .2s;
}
.ch-input--gris { background: var(--gris-25); }
.ch-input:focus-within { border-color: var(--verde-oscuro); }
.ch-input input, .ch-input select {
  flex: 1; min-width: 0; height: 26px; padding: 0; border: 0; background: none; outline: none;
  font: inherit; color: var(--negro); appearance: none; -webkit-appearance: none;
}
.ch-input select { cursor: pointer; color: var(--gris-175); }
.ch-input:has(:focus-visible) { outline: 2px solid var(--naranja); outline-offset: 1px; }
.ch-input .i { pointer-events: none; color: var(--negro); }

.ch-unit { display: flex; align-items: center; gap: 16px; }
.ch-unit .ch-input { flex: 1; }
.ch-unit .pg-pills__row { flex-wrap: nowrap; }

.ch-group { display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: 16px; background: var(--blanco); }
.ch-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }

.ch-calc div:has(> .btn:only-child) { display: flex; }

.ch-nav { display: flex; align-items: center; gap: 16px; padding-top: 8px; }
.ch-nav--plain { padding-top: 0; }
.ch-nav__space { flex: 1; }
.ch-btn-na { --bg: var(--blanco); --fg: var(--negro); --hover: var(--verde-oscuro); --fg-hover: var(--blanco); }
.ch-btn-na[aria-pressed="true"] { --bg: var(--verde-light); }

.ch-sum {
  display: flex; flex-direction: column; gap: 16px;
  padding: 28px; border-radius: var(--radius); background: var(--blanco);
}
.ch-sum__fig { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }

.ch-lines { margin: 0; }
.ch-lines > div { display: flex; gap: 12px; padding-block: 10px; }
.ch-lines dt { flex: 1; min-width: 0; }
.ch-lines dd { margin: 0; white-space: nowrap; }
.ch-lines--alc, .ch-lines--ruled { font-weight: 700; }
.ch-lines--alc > div + div { border-top: 1px solid var(--gris-100); }
.ch-lines--src { padding-top: 4px; }
.ch-lines--src::before { content: ""; display: block; height: 1px; background: var(--gris-100); }
.ch-lines--ruled { border-bottom: 1px solid var(--gris-100); }
.ch-lines--ruled > div { border-top: 1px solid var(--gris-100); }

.ch-pane--6 { display: grid; grid-template-columns: minmax(0, 700fr) minmax(0, 520fr); gap: 40px; align-items: start; }
.ch-res { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.ch-total { display: flex; align-items: baseline; gap: 14px; white-space: nowrap; }
.ch-total__num { font-family: var(--f-display); font-size: var(--h1); line-height: round(calc(var(--h1) * .92), 1px); letter-spacing: -.02em; }
.ch-nodata { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: 12px; background: var(--blanco); }

.ch-lock { display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: var(--radius); background: var(--blanco); }
.ch-lock__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ch-lock__tag { gap: 6px; padding: 5px 12px 5px 10px; }
.ch-lock__list { display: flex; flex-direction: column; gap: 16px; }
.ch-lock__list li { display: flex; align-items: center; gap: 12px; }
.ch-lock__list img { flex: none; }
.ch-lock__blur { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }
.ch-lock__blur span { height: 10px; max-width: 100%; border-radius: 5px; background: var(--gris-100); }
.ch-lock__blur span:nth-child(1) { width: 400px; }
.ch-lock__blur span:nth-child(2) { width: 320px; }
.ch-lock__blur span:nth-child(3) { width: 240px; }

.ch-form { min-width: 0; }

.ch-report { display: flex; flex-direction: column; gap: 32px; }
.ch-report__head { display: flex; align-items: flex-end; gap: 24px; }
.ch-report__title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.ch-report__row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ch-report__row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.ch-box { display: flex; flex-direction: column; gap: 18px; min-width: 0; padding: 28px; border-radius: var(--radius); background: var(--blanco); }
.ch-box > .ch-lines--alc > div + div { border-top: 1px solid var(--gris-100); }
.ch-box--verde { background: var(--verde-oscuro); color: var(--blanco); }

.ch-bar { display: flex; flex-direction: column; gap: 6px; }
.ch-bar p { display: flex; justify-content: space-between; gap: 12px; }
.ch-bar__track { height: 8px; border-radius: 4px; background: var(--gris-50); }

.ch-box--proj { gap: 0; }
.ch-proj { padding-top: 12px; }
.ch-proj li { display: flex; align-items: center; gap: 16px; padding-block: 16px; border-top: 1px solid var(--gris-100); }
.ch-proj li:last-child { border-bottom: 1px solid var(--gris-100); }
.ch-proj__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ch-proj__name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.ch-proj__name strong { font-weight: 700; }
.ch-proj .btn-arrow { flex: none; }
@media (hover: hover) { .ch-proj .btn-arrow:hover { transform: translateX(4px); background: var(--verde-cta); } }
.ch-proj__action { padding-top: 20px; }

.ch-sello { display: flex; flex-direction: column; gap: 18px; }
.ch-sello li { display: flex; flex-direction: column; gap: 8px; }
.ch-sello strong { font-weight: 700; }

.ch-out { text-decoration: none; color: inherit; transition: box-shadow .35s var(--ease-out); }
.ch-out__title { display: flex; align-items: flex-start; gap: 16px; }
.ch-out__title .h6 { flex: 1; min-width: 0; }
.ch-out__title--tel img { flex: none; }
@media (hover: hover) { .ch-out:hover { box-shadow: 0 16px 40px -24px rgba(16, 87, 65, .45); } }
@media (hover: hover) { .ch-out:hover .btn-arrow { transform: translateX(4px); background: var(--verde-cta); } }

.ch-factores {
  display: flex; flex-direction: column; gap: 80px;
  padding: var(--ch-y) var(--edge);
  border-radius: var(--radius); background: var(--gris-50);
}
.ch-factores__head .pg-head__title { max-width: 885px; }
.ch-factores__lead { display: flex; flex-direction: column; gap: 16px; max-width: 658px; }
.ch-factores__grid { display: grid; grid-template-columns: minmax(0, 855fr) minmax(0, 460fr); gap: var(--gap); align-items: start; }
.ch-factores__side { display: flex; flex-direction: column; gap: var(--gap); min-width: 0; }
.ch-tabla { padding: 36px; border-radius: var(--radius); background: var(--blanco); min-width: 0; }
.ch-ftable { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.ch-ftable caption { caption-side: top; text-align: left; padding-bottom: 20px; }
.ch-ftable__c1 { width: 483px; }
.ch-ftable--gases .ch-ftable__c1 { width: 298px; }
.ch-ftable thead th {
  padding: 0 24px 12px 0;
  font-size: 12px; line-height: 19px; font-weight: 700; color: var(--gris-200);
}
.ch-ftable thead th:last-child { padding-right: 0; }
.ch-ftable tbody th, .ch-ftable tbody td { padding: 12px 24px 12px 0; vertical-align: top; border-top: 1px solid var(--gris-100); }
.ch-ftable tbody th { font-weight: 400; }
.ch-ftable tbody td { padding-right: 0; font-weight: 700; }
.ch-ftable .ch-ftable__grp th { padding: 20px 0 8px; border-top: 0; color: var(--verde-musgo); }
.ch-ftable .ch-ftable__grp .eyebrow { display: block; }
.ch-fuentes { display: flex; flex-direction: column; gap: 12px; padding-left: 4px; }

.ch-rango { padding-block: var(--ch-y); }
.ch-rango__cols { display: grid; grid-template-columns: minmax(0, 670fr) minmax(0, 671fr); }
.ch-rango__col { display: flex; flex-direction: column; gap: 20px; padding: 8px 60px 8px 0; min-width: 0; }
.ch-rango__col strong { font-weight: 700; }
.ch-rango__col--no { padding: 8px 0 8px 60px; border-left: 1px solid var(--gris-100); }
.ch-rango__rule { display: block; height: 1px; background: var(--gris-100); }
.ch-margenes { margin: 0; border-bottom: 1px solid var(--gris-100); }
.ch-margenes > div { display: flex; align-items: flex-start; gap: 20px; padding-block: 14px; border-top: 1px solid var(--gris-100); }
.ch-margenes dt { flex: none; width: 80px; color: var(--verde-oscuro); white-space: nowrap; }
.ch-margenes dd { flex: 1; min-width: 0; margin: 0; }

.ch-respiro { padding: 0; }

.ch-faq .faq__left { gap: 0; }

@media (max-width: 1100px) {
  .ch-hero { padding-top: 150px; }
  .ch-calc__inner { gap: 56px; }
  .ch-calc__body { grid-template-columns: minmax(0, 1fr); }
  .ch-sum { max-width: 560px; }
  .ch-steps {
    display: flex; overflow-x: auto; scrollbar-width: none;
    margin-inline: -40px; padding-inline: 40px;
  }
  .ch-steps::-webkit-scrollbar { display: none; }
  .ch-steps li { flex: none; }
  .ch-pane--6 { grid-template-columns: minmax(0, 1fr); }
  .ch-form { max-width: 640px; }
  .ch-report__row3 { grid-template-columns: minmax(0, 1fr); }
  .ch-report__row2 { grid-template-columns: minmax(0, 1fr); }

  .ch-factores { gap: 56px; }
  .ch-factores__grid { grid-template-columns: minmax(0, 1fr); }
  .ch-factores__side { max-width: 640px; }
}
@media (max-width: 900px) {
  .ch-rango__cols { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .ch-rango__col { padding: 0; }
  .ch-rango__col--no { padding: 48px 0 0; border-left: 0; border-top: 1px solid var(--gris-100); }
}
@media (max-width: 768px) {
  .ch-hero { padding-top: 120px; padding-bottom: 56px; }
  .ch-calc__card { padding: 24px 20px; gap: 24px; }
  .ch-steps { margin-inline: -20px; padding-inline: 20px; }
  .ch-calc__head { flex-direction: column; align-items: stretch; gap: 16px; }
  .ch-mini { align-self: flex-start; }
  .ch-nav { flex-wrap: wrap; }
  .ch-nav__space { display: none; }
  .ch-nav [data-prev] { order: 3; }
  .ch-sum, .ch-lock, .ch-box { padding: 24px 20px; }
  .ch-group { padding: 20px 16px; }
  .ch-pair { grid-template-columns: minmax(0, 1fr); }
  .ch-unit { flex-direction: column; align-items: stretch; gap: 12px; }
  .ch-unit .pg-pills__row { flex-wrap: wrap; }
  .ch-report__head { flex-direction: column; align-items: flex-start; }
  .ch-tabla { padding: 24px 20px; }
  .ch-ftable__c1 { width: 55%; }
  .ch-ftable--gases .ch-ftable__c1 { width: 65%; }
  .ch-ftable tbody th, .ch-ftable tbody td { padding-right: 12px; }
  .ch-ftable tbody td { padding-right: 0; }
}
@media (max-width: 600px) {
  .ch-margenes > div { gap: 12px; }
  .ch-margenes dt { width: 72px; }
  .ch-lock__blur span { width: auto !important; }
  .ch-lock__blur span:nth-child(1) { margin-right: 0; }
  .ch-lock__blur span:nth-child(2) { margin-right: 20%; }
  .ch-lock__blur span:nth-child(3) { margin-right: 40%; }
}

[data-grupo] { display: contents; }
.ch-error { color: var(--negro); font-weight: 700; }
.ch-error[hidden] { display: none; }
.ch-input:has(input[aria-invalid="true"]) { outline: 2px solid var(--negro); outline-offset: 2px; }
.ch-avisos { padding-left: 1.2em; list-style: disc; }
.ch-avisos[hidden] { display: none; }
.ch-bar__track { overflow: hidden; }
.ch-bar__fill { display: block; height: 100%; border-radius: 4px; background: var(--verde-oscuro); transition: width .45s cubic-bezier(.23, 1, .32, 1); }
@media (prefers-reduced-motion: reduce) { .ch-bar__fill { transition: none; } }
