/*
 * Herramientas gratis (centr.ar/herramientas/ y una página por herramienta). Se cargan después de
 * site.css y funcionalidades.css: el encabezado, las preguntas frecuentes, las tarjetas y el cierre
 * son los de las páginas de funcionalidad. Acá va la caja de cada herramienta y el puente al
 * producto. Sin sombras en los botones.
 */
.tl [hidden] {
  display: none !important;
}
.tl-hero .lead {
  margin-bottom: 0;
}
.tl-hero .eyebrow a {
  color: inherit;
  text-decoration: none;
}
.tl-hero .eyebrow a:hover {
  text-decoration: underline;
}

/* La caja de la herramienta: un formulario de una columna. */
.tl-box {
  width: min(560px, 100%);
  margin: 40px auto 0;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  text-align: left;
}
.tl-box label,
.tl-label,
.tl-colors legend {
  display: block;
  margin: 0 0 7px;
  font-size: 14px;
  font-weight: 600;
}
.tl-box input:not([type='radio']),
.tl-box textarea {
  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #c9d3c3;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.tl-box textarea {
  resize: vertical;
}
.tl-box input:focus-visible,
.tl-box textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}
#tl-cuit-n {
  margin-bottom: 0;
  font-size: 22px;
  letter-spacing: 0.02em;
}
.tl-label {
  margin-top: 6px;
}
.tl-note {
  margin: 10px 0 16px;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.5;
}
.tl-box > .tl-note:last-child {
  margin-bottom: 0;
}
.tl-out {
  margin: 14px 0 0;
  font-size: 14.5px;
  line-height: 1.45;
}
.tl-out:empty {
  display: none;
}
.tl-out b,
.tl-out span {
  display: block;
}
.tl-out.is-ok,
.tl-out.is-bad,
.tl-out.is-wait {
  padding: 12px 14px;
  border-radius: 12px;
}
.tl-out.is-ok {
  background: #e3f1e8;
  color: #0f5c36;
}
.tl-out.is-bad {
  background: #fde7e1;
  color: #9a3620;
}
.tl-out.is-wait {
  background: #eef3ea;
  color: var(--ink-2);
}
.tl-btn.cta {
  min-height: 46px;
  margin-top: 4px;
  padding: 11px 22px;
  border: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.tl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Firma */
.tl-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}
.tl-fields label {
  font-weight: 600;
}
.tl-fields input {
  margin-top: 7px !important;
  font-weight: 400;
}
.tl-wide {
  grid-column: 1 / -1;
}
@media (max-width: 560px) {
  .tl-fields {
    grid-template-columns: 1fr;
  }
}
.tl-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}
.tl-colors legend {
  width: 100%;
  padding: 0;
}
.tl-swatch {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  margin: 0 !important;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-weight: 500 !important;
  font-size: 13.5px !important;
  cursor: pointer;
}
.tl-swatch input {
  position: absolute;
  opacity: 0;
}
.tl-swatch::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c);
}
.tl-swatch:has(input:checked) {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.tl-swatch:has(input:focus-visible) {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.c-verde {
  --c: #16804c;
}
.c-coral {
  --c: #e2553a;
}
.c-azul {
  --c: #1a56c4;
}
.c-violeta {
  --c: #6b4fbb;
}
.c-grafito {
  --c: #3c4043;
}
.tl-sig-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 16px;
  border: 1px dashed #c9d3c3;
  border-radius: 14px;
  font: 13px/1.4 Arial, Helvetica, sans-serif;
  color: #202124;
}
.tl-sig-mark {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--c);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 44px;
  text-align: center;
}
.tl-sig-text {
  min-width: 0;
  padding-left: 12px;
  border-left: 2px solid var(--c);
}
.tl-sig-text > * {
  display: block;
  overflow-wrap: anywhere;
}
.tl-sig-text b {
  font-size: 14px;
}
#tl-firma-cargo {
  color: #5f6368;
}
#tl-firma-contacto {
  color: var(--c);
}
.tl-steps {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
}

/* Link de WhatsApp */
.tl-link {
  margin: 0 0 14px;
  padding: 11px 13px;
  border-radius: 12px;
  background: #eef3ea;
  font: 500 14px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow-wrap: anywhere;
}
.tl-link.is-empty {
  color: var(--ink-3);
  font-family: inherit;
}
.tl-qr {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.tl-qr svg {
  flex: none;
  width: 148px;
  height: 148px;
  border-radius: 10px;
  shape-rendering: crispEdges;
}
.tl-qr svg:empty {
  background: #eef3ea;
}
.tl-qr a {
  color: #205d42;
  font-size: 15px;
  font-weight: 600;
}

/* Probar el asunto: más ancha, para que la fila de computadora se parezca a la de Gmail. */
.tl-subject {
  width: min(760px, 100%);
}
.tl-count {
  margin: -6px 0 18px;
  color: var(--ink-3);
  font-size: 13px;
}
.tl-inbox {
  margin: 0 0 16px;
  border: 1px solid #e3e6e8;
  border-radius: 12px;
  background: #fff;
  font: 14px/1.4 Arial, Helvetica, sans-serif;
  color: #202124;
}
.tl-desk {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  height: 42px;
  padding: 0 14px;
}
.tl-desk > b,
.tl-desk > span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.tl-desk i,
.tl-ph i {
  color: #5f6368;
  font-style: normal;
}
.tl-desk time,
.tl-ph time {
  color: #5f6368;
  font-size: 12px;
  font-weight: 400;
}
.tl-phone {
  display: flex;
  gap: 12px;
  width: min(360px, 100%);
  padding: 12px 14px;
}
.tl-av {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #16804c;
  color: #fff;
  font-weight: 700;
  line-height: 38px;
  text-align: center;
}
.tl-ph {
  min-width: 0;
  flex: 1;
}
.tl-ph > * {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.tl-ph b {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.tl-ph strong {
  font-weight: 400;
}

/* Puente a la funcionalidad que sigue. */
.tl-bridge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  width: min(1040px, calc(100% - 48px));
  margin: clamp(80px, 10vw, 128px) auto 0;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 28px;
  background: var(--ink);
  color: #fff;
  text-align: left;
}
.tl-bridge .kicker {
  color: #a9c3bb;
}
.tl-bridge h2 {
  margin: 0;
  max-width: 18em;
  color: #fff;
  font-size: clamp(24px, 2.6vw, 34px);
}
.tl-bridge p:not(.kicker) {
  margin: 12px 0 0;
  color: #cfe0da;
  font-size: 16px;
  line-height: 1.55;
}
.tl-bridge .cta {
  flex: none;
  margin: 0;
  background: #fff;
  color: var(--ink);
}
.tl-bridge .cta:hover {
  background: #e8efe6;
}
@media (max-width: 760px) {
  .tl-bridge {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Índice: las cuatro herramientas en dos columnas. */
.tl-all {
  padding-top: 0;
}
.tl-all .fp-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(760px, 100%);
}
@media (max-width: 640px) {
  .tl-all .fp-cards {
    grid-template-columns: 1fr;
  }
}
