/* SEQUITECSA · Herramientas (calculadoras instalables). Usa las variables de site.css. */
.h-hero { background: var(--abismo); padding: calc(var(--hdr) + 36px) 0 40px; border-bottom: 1px solid var(--linea-osc); }
.h-hero h1 { font-size: clamp(38px, 5.4vw, 76px); line-height: .95; text-transform: uppercase; max-width: 18ch; }
.h-hero .hero-bajada { margin-top: 18px; max-width: 640px; color: rgba(255,255,255,.82); font-size: clamp(16px, 1.3vw, 19px); font-weight: 300; }
.h-hero .h1-clave { display: block; font-family: var(--f-dato); font-size: clamp(12px, 1.05vw, 15px); font-weight: 400; letter-spacing: .12em; color: var(--ion); margin-bottom: 14px; line-height: 1.45; }
.h-instalar { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; }
.h-instalar[hidden] { display: none; }

.h-zona { background: var(--mineral); color: var(--pizarra); padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 88px); }
.h-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3px; align-items: start; }
.h-panel { background: #fff; padding: clamp(20px, 3vw, 36px); min-width: 0; }
.h-panel + .h-panel { margin-top: 0; }
.h-panel h2 { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(24px, 2.4vw, 32px); line-height: 1; margin-bottom: 18px; }
.h-sub { font-family: var(--f-display); text-transform: uppercase; font-size: 22px; margin: 26px 0 12px; }
.h-campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.h-campos .ancho { grid-column: 1 / -1; }
.h-campo { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.h-campo label, .h-campo > span { font-size: 14px; font-weight: 600; color: var(--pizarra); }
.h-campo small { font-size: 12.5px; color: var(--roca); font-weight: 400; }
.h-campo input, .h-campo select, .h-campo textarea {
  font: inherit; font-size: 17px; color: var(--pizarra); background: var(--mineral); border: 0; border-bottom: 2px solid #c9d4dd;
  padding: 11px 12px; min-height: 46px; width: 100%; border-radius: 0; }
.h-campo input:focus, .h-campo select:focus, .h-campo textarea:focus { outline: 2px solid var(--agua); outline-offset: 0; background: #fff; }
.h-campo input[type="checkbox"] { width: 22px; min-height: 22px; height: 22px; padding: 0; accent-color: var(--agua); }
.h-check { flex-direction: row; align-items: center; gap: 10px; }
.h-unidad { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; }
.h-unidad em { font-style: normal; font-size: 14px; color: var(--roca); background: var(--mineral); border-bottom: 2px solid #c9d4dd; padding: 0 10px; display: flex; align-items: center; }
.h-radios { display: flex; flex-wrap: wrap; gap: 8px; }
.h-radios label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--mineral); font-weight: 500; cursor: pointer; min-height: 44px; }
.h-radios input { accent-color: var(--agua); width: 18px; height: 18px; }
.h-botones { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.h-boton { font: inherit; font-size: 14px; font-weight: 600; padding: 10px 14px; min-height: 44px; border: 1px solid #c9d4dd; background: #fff; color: var(--pizarra); cursor: pointer; }
.h-boton:hover { border-color: var(--agua); color: var(--agua); }
.h-mini { font: inherit; font-size: 13px; padding: 6px 10px; min-height: 34px; border: 1px solid #c9d4dd; background: #fff; cursor: pointer; }
.h-mini:hover { border-color: var(--agua); }
.h-volumen { margin-top: 12px; font-family: var(--f-dato); font-size: 15px; }
.h-volumen b { color: var(--agua); }

.h-aviso { padding: 14px 16px; background: var(--mineral); border-left: 4px solid var(--roca); margin: 0 0 12px; font-size: 15.5px; }
.h-aviso.h-mal { border-left-color: #d14b3a; background: #fdf0ee; }
.h-aviso.h-bien { border-left-color: var(--ok); background: #e9f8f2; }
.h-nota { font-size: 14px; color: var(--roca); margin-top: 16px; line-height: 1.55; }
.h-grande { font-size: 22px; }
.h-paso { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--linea-clara); }
.h-paso p { margin-top: 6px; color: #2a3b4c; }
.h-paso small { display: block; margin-top: 6px; color: var(--roca); font-size: 13.5px; }
.h-n { width: 34px; height: 34px; background: var(--pizarra); color: #fff; font-family: var(--f-dato); display: grid; place-items: center; font-size: 15px; }
.h-dosis { font-family: var(--f-dato); font-weight: 700; color: var(--agua); font-size: 18px; white-space: nowrap; }

.h-semaforo { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 3px; margin-bottom: 14px; }
.h-sem { background: var(--mineral); padding: 12px 14px; border-top: 4px solid #b9c5cf; min-width: 0; }
.h-sem span { display: block; font-size: 13px; color: var(--roca); }
.h-sem b { display: block; font-family: var(--f-dato); font-size: 20px; margin: 4px 0 2px; overflow-wrap: anywhere; }
.h-sem small { font-size: 12px; color: var(--roca); }
.h-sem.h-ok { border-top-color: var(--ok); }
.h-sem.h-bajo, .h-sem.h-alto { border-top-color: #d14b3a; }
.h-sem.h-sd { opacity: .6; }
.h-lsi { padding: 12px 16px; font-weight: 500; margin-bottom: 8px; }
.h-lsi.h-ok { background: #e9f8f2; } .h-lsi.h-bajo, .h-lsi.h-alto { background: #fdf0ee; }

.h-tabla-env { overflow-x: auto; margin-top: 8px; -webkit-overflow-scrolling: touch; }
.h-tabla { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 420px; }
.h-tabla th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--roca); font-weight: 600; padding: 8px 10px; border-bottom: 2px solid var(--linea-clara); }
.h-tabla td { padding: 10px; border-bottom: 1px solid var(--linea-clara); vertical-align: top; }
.h-tabla td b { font-family: var(--f-dato); color: var(--agua); }
.h-fila-mal td { background: #fdf0ee; }
.h-chip { display: inline-block; font-size: 11.5px; padding: 2px 8px; background: #fdf0ee; color: #a8362a; font-weight: 600; }

.h-acciones { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.h-acciones .btn { min-height: 48px; }
.h-acciones .btn-linea { color: var(--pizarra); border-color: #c9d4dd; }
.h-acciones .btn-linea:hover { color: var(--agua); border-color: var(--agua); background: transparent; }
.h-legal { font-size: 13px; color: var(--roca); margin-top: 22px; line-height: 1.55; }

.h-graf { width: 100%; height: auto; background: var(--mineral); margin-top: 8px; }
.h-g-cero { stroke: #9fb0bf; stroke-width: 1; }
.h-g-lim { stroke: #d14b3a; stroke-width: 1; stroke-dasharray: 4 4; }
.h-g-lim2 { stroke: #e0a020; stroke-width: 1; stroke-dasharray: 4 4; }
.h-g-a, .h-g-b, .h-g-c { fill: none; stroke-width: 2.5; }
.h-g-a { stroke: var(--agua); } .h-g-b { stroke: #d14b3a; } .h-g-c { stroke: #e0a020; }
.h-g-txt { font-size: 12px; fill: var(--roca); font-family: var(--f-dato); }
.h-leyenda { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; margin-top: 8px; color: var(--roca); }
.h-leyenda i { display: inline-block; width: 18px; height: 3px; vertical-align: middle; margin-right: 6px; }

/* índice de herramientas */
.h-tarjetas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; }
.h-tarjeta { background: #fff; padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--pizarra); border-top: 4px solid var(--agua); }
.h-tarjeta:hover { background: #f7fafc; }
.h-tarjeta .h-para { font-family: var(--f-dato); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--agua); }
.h-tarjeta h2 { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(26px, 2.6vw, 36px); line-height: 1; }
.h-tarjeta p { color: #2a3b4c; }
.h-tarjeta ul { padding-left: 18px; color: #2a3b4c; font-size: 15px; display: grid; gap: 4px; }
.h-tarjeta .h-ir { margin-top: auto; font-weight: 600; color: var(--agua); }
.h-pasos-inst { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; margin-top: 3px; }
.h-pasos-inst > div { background: #fff; padding: 22px 26px; }
.h-pasos-inst h3 { font-family: var(--f-display); text-transform: uppercase; font-size: 22px; margin-bottom: 8px; }
.h-pasos-inst ol { padding-left: 20px; display: grid; gap: 4px; color: #2a3b4c; }

@media (max-width: 960px) {
  .h-grid, .h-tarjetas, .h-pasos-inst { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .h-campos { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .h-campo input, .h-campo select { font-size: 16px; }
  .h-semaforo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media print {
  .cabecera, .pie, .argos-pet, .h-acciones, .h-hero .h-instalar, .h-noimp { display: none !important; }
  .h-hero { padding: 0 0 12px; background: #fff; color: #000; }
  .h-zona { background: #fff; }
  .h-grid { grid-template-columns: 1fr; }
}
