/* Estilos de piezas añadidas (formulario, WhatsApp, 404/aviso).
   Tokens copiados del HTML entregado — no alterar valores de diseño. */

.netme-wa {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.48));
  backdrop-filter: blur(26px) saturate(1.8);
  -webkit-backdrop-filter: blur(26px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 34px 64px -34px rgba(22, 34, 64, 0.45);
  color: #14161A;
  transition: bottom 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.netme-wa:hover,
.netme-wa:focus-visible {
  color: #14161A;
  transform: translateY(-2px);
}
.netme-wa.is-raised {
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}
@media (max-width: 679px) {
  .netme-wa.is-raised {
    bottom: calc(120px + env(safe-area-inset-bottom, 0px));
  }
}

.netme-form {
  margin-top: 36px;
  max-width: 640px;
}
.netme-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.netme-form-grid .netme-field-full {
  grid-column: 1 / -1;
}
@media (max-width: 679px) {
  .netme-form-grid {
    grid-template-columns: 1fr;
  }
}
.netme-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.netme-field label,
.netme-check {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5B626C;
  font-weight: 500;
}
.netme-field input,
.netme-field select,
.netme-field textarea {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(22, 34, 64, 0.22);
  background: rgba(255, 255, 255, 0.92);
  font-family: Archivo, Helvetica, Arial, sans-serif;
  font-size: 15px;
  color: #14161A;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1);
}
.netme-field textarea {
  min-height: 110px;
  resize: vertical;
}
.netme-field input:focus,
.netme-field select:focus,
.netme-field textarea:focus {
  outline: 2px solid #1F5FBF;
  outline-offset: 3px;
}
.netme-check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  text-transform: none;
  letter-spacing: 0;
  font-family: Archivo, Helvetica, Arial, sans-serif;
  font-size: 14.5px;
  color: #3A4048;
  line-height: 1.45;
}
.netme-check-row input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  accent-color: #1F5FBF;
}
.netme-form-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.netme-form-actions button {
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 16px 30px;
  border-radius: 999px;
  background: linear-gradient(160deg, #2B76E8, #1F5FBF);
  color: #fff;
  font-family: Archivo, Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 18px 34px -18px rgba(31, 95, 191, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.netme-form-actions button:hover {
  transform: translateY(-2px);
}
.netme-form-actions button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.netme-form-status {
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.5;
  min-height: 1.5em;
}
.netme-form-status.is-ok {
  color: #0B7D6F;
}
.netme-form-status.is-err {
  color: #9A5A16;
}

.netme-read {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.65;
  color: #3A4048;
}
.netme-read h1 {
  margin: 0 0 8px;
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: #14161A;
}
.netme-read h2 {
  margin: 36px 0 10px;
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #14161A;
}
.netme-read p,
.netme-read ul {
  margin: 0 0 14px;
}
.netme-read ul {
  padding-left: 1.2em;
}
.netme-read li {
  margin: 0 0 6px;
}
.netme-placeholder {
  background: rgba(224, 138, 52, 0.14);
  border-radius: 4px;
  padding: 0 3px;
}

#contacto,
#casos,
#simulador,
#diagnostico,
#sesion,
#demo,
#calculadora,
#top {
  scroll-margin-top: 100px;
}

.netme-nav-toggle {
  display: none;
  appearance: none;
  border: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  cursor: pointer;
  color: #14161A;
  position: fixed;
  top: 21px;
  right: 32px;
  z-index: 60;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: transparent;
}
.netme-nav-toggle:focus-visible {
  outline: 2px solid #1F5FBF;
  outline-offset: 3px;
}
.netme-nav-toggle svg {
  display: block;
}
.netme-drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: 16px;
  right: 16px;
  z-index: 60;
  flex-direction: column;
  gap: 4px;
  max-height: calc(100dvh - 88px - env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 12px 14px 16px;
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.48));
  backdrop-filter: blur(26px) saturate(1.8);
  -webkit-backdrop-filter: blur(26px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 34px 64px -34px rgba(22, 34, 64, 0.45);
}
.netme-drawer > div {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.netme-drawer a {
  display: block;
  padding: 10px 10px;
  border-radius: 12px;
  color: #3A4048;
  font-size: 15.5px;
  font-weight: 500;
}
.netme-drawer > a[href="#contacto"],
.netme-drawer > a[href="/#contacto"] {
  margin-top: 8px;
  text-align: center;
}

html.netme-mobile .netme-nav-toggle {
  display: flex !important;
}
html.netme-mobile header {
  padding-right: 16px;
}
html.netme-mobile header nav {
  width: 100%;
  padding-right: 48px !important;
}
html.netme-nav-open,
html.netme-nav-open body {
  overflow: hidden;
}
html.netme-mobile.netme-nav-open .netme-drawer {
  display: flex;
}
html.netme-mobile header nav > div,
html.netme-mobile header nav > a[href="#contacto"],
html.netme-mobile header nav > a[href="/#contacto"] {
  display: none !important;
}

@media (max-width: 1023px) {
  .netme-nav-toggle {
    display: flex;
  }
  header nav > div,
  header nav > a[href="#contacto"],
  header nav > a[href="/#contacto"] {
    display: none !important;
  }
}
