:root {
  --nt-green: #00a758;
  --nt-green-dark: #111111;
  --nt-gold: #00a758;
  --nt-gold-ink: #ffffff;
  --nt-ink: #12211a;
  --nt-muted: #5b6b62;
  --nt-paper: #f6f3ec;
  --nt-white: #fff;
  --nt-line: #d9e2db;
  --nt-whatsapp: #25d366;
  --nt-radius: 16px;
  --nt-shadow: 0 16px 40px rgba(8, 61, 41, 0.16);
}

.nt-hp {
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
}

.nt-form {
  background: var(--nt-white);
  color: var(--nt-ink);
  border-radius: var(--nt-radius);
  padding: 20px;
  box-shadow: var(--nt-shadow);
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.nt-hero .nt-form,
.nt-hero .nt-form h3,
.nt-hero .nt-form p,
.nt-hero .nt-form label,
.nt-hero .nt-form legend,
.nt-hero .nt-form span {
  color: var(--nt-ink);
}

.nt-hero .nt-form__eyebrow {
  color: var(--nt-green);
}

.nt-hero .nt-form__hint {
  color: var(--nt-muted);
}

.nt-form__eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nt-green);
  font-weight: 700;
}

.nt-form__title {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
}

.nt-form__hint,
.nt-form__status {
  margin: 0;
  color: var(--nt-muted);
  font-size: 0.92rem;
}

.nt-form__status.is-ok { color: var(--nt-green); }
.nt-form__status.is-err { color: #9b2c2c; }

.nt-field {
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  min-width: 0;
}

.nt-field input:not([type="radio"]),
.nt-field select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid var(--nt-line);
  border-radius: 10px;
  padding: 12px 12px;
  font: inherit;
  font-weight: 500;
  color: var(--nt-ink);
  background: #fbfaf7;
}

.nt-field input:focus,
.nt-field select:focus {
  outline: 2px solid var(--nt-gold);
  border-color: var(--nt-gold);
}

.nt-field--units {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.nt-field--units legend {
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.nt-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--nt-line);
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 600;
  background: #fbfaf7;
  cursor: pointer;
}

.nt-form .nt-radio input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  max-width: 18px;
  margin: 0;
  padding: 0;
  border: 2px solid #111;
  border-radius: 50%;
  background: #fff;
  box-shadow: none;
  flex: 0 0 18px;
}

.nt-form .nt-radio input[type="radio"]:checked {
  border-color: var(--nt-green);
  background: var(--nt-green);
  box-shadow: inset 0 0 0 3px #fff;
}

.nt-btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.nt-btn--gold {
  background: var(--nt-gold);
  color: var(--nt-gold-ink);
}

.nt-btn--green {
  background: var(--nt-green);
  color: var(--nt-white);
  display: inline-block;
  margin-top: 8px;
}

.wa__btn_popup,
.wa__popup_chat_box,
.wa__btn_popup_txt,
.nta-whatsapp-popup,
#nta-whatsapp {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.nt-wa {
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 9998;
}

body.post-type-archive-cursos .nt-wa {
  display: none;
}

.nt-wa__fab {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 0;
  background: var(--nt-whatsapp);
  color: #fff;
  font-size: 0;
  cursor: pointer;
  box-shadow: var(--nt-shadow);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2C6.5 2 2 6.3 2 11.7c0 2 .6 3.9 1.7 5.5L2 22l4.9-1.6c1.5.8 3.2 1.3 5.1 1.3 5.5 0 10-4.3 10-9.7S17.5 2 12 2zm5.8 13.7c-.2.7-1.3 1.2-1.8 1.3-.5.1-1 .2-3.2-.7-2.6-1-4.3-3.6-4.4-3.8-.1-.2-1-1.3-1-2.5s.6-1.8.9-2c.2-.2.5-.3.7-.3h.5c.2 0 .4 0 .6.5.2.6.8 2 .8 2.1.1.1.1.3 0 .5-.1.2-.2.3-.3.5l-.4.5c-.1.1-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.2 1.4 2.5 1.5.3.1.5.1.7-.1.2-.2.7-.8.9-1.1.2-.3.4-.2.6-.1.2.1 1.6.8 1.9.9.3.1.5.2.5.3.1.2.1.7-.1 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30px;
}

.nt-wa__panel {
  position: absolute;
  right: 0;
  bottom: 70px;
  width: min(260px, 80vw);
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--nt-shadow);
}

.nt-wa__panel p {
  margin: 0 0 10px;
  font-weight: 700;
}

.nt-wa__link {
  display: block;
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 10px;
  background: #f1faf4;
  color: var(--nt-green-dark);
  text-decoration: none;
  font-weight: 700;
}

.nt-sticky {
  display: none;
}

.nt-sheet {
  position: fixed;
  inset: 0;
  background: rgba(8, 61, 41, 0.45);
  z-index: 10000;
  padding: 16px;
  display: flex;
  align-items: flex-end;
}

.nt-sheet[hidden] {
  display: none !important;
}

.nt-sheet__card {
  width: min(520px, 100%);
  margin: 0 auto;
  position: relative;
}

.nt-sheet__close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nt-form {
    width: 100%;
    max-width: 100%;
  }

  .nt-form .nt-btn {
    width: 100%;
    box-sizing: border-box;
  }

  .nt-field--units {
    grid-template-columns: 1fr;
  }

  .nt-sticky {
    display: block;
    position: fixed;
    left: 0;
    right: 72px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 9997;
    padding: 0 12px;
  }
  .nt-sticky__open {
    width: 100%;
    box-shadow: var(--nt-shadow);
  }
  body.nt-sheet-open {
    overflow: hidden;
  }
}
