:root {
  --ncom-font-family: Inter, Arial, sans-serif;
  --ncom-overlay-bg: rgba(45, 45, 45, 0.72);
  --ncom-modal-bg: #ffffff;
  --ncom-modal-text: #2d2d2d;
  --ncom-modal-muted: rgba(45, 45, 45, 0.72);
  --ncom-primary: #00829b;
  --ncom-primary-hover: #00a5b5;
  --ncom-secondary: #2d2d2d;
  --ncom-border: #e5e7eb;
  --ncom-close-bg: #f3f4f6;
  --ncom-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  --ncom-radius: 24px;
  --ncom-option-bg: #ffffff;
  --ncom-option-hover-bg: rgba(0, 130, 155, 0.05);
  --ncom-input-bg: #ffffff;
  --ncom-error: #dc2626;
  --ncom-success-bg: rgba(0, 165, 181, 0.08);
}

#nexweb-continuidad-modal-root {
  position: relative;
  z-index: 99999;
}

.ncom-overlay,
.ncom-overlay * {
  box-sizing: border-box;
}

.ncom-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--ncom-overlay-bg);
  backdrop-filter: blur(4px);
  font-family: var(--ncom-font-family);
}

.ncom-overlay.is-open {
  display: flex;
}

.ncom-modal {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: min(90vh, 960px);
  overflow-y: auto;
  background: var(--ncom-modal-bg);
  border-radius: var(--ncom-radius);
  padding: 32px;
  box-shadow: var(--ncom-shadow);
  color: var(--ncom-modal-text);
}

.ncom-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--ncom-close-bg);
  color: var(--ncom-secondary);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.ncom-close:hover,
.ncom-submit:hover {
  background: var(--ncom-primary);
  color: #ffffff;
}

.ncom-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--ncom-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.ncom-header {
  margin-bottom: 28px;
}

.ncom-header h2,
.ncom-step h3 {
  color: var(--ncom-modal-text);
}

.ncom-header h2 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.15;
}

.ncom-header p {
  margin: 0;
  color: var(--ncom-modal-muted);
  font-size: 18px;
  line-height: 1.5;
}

.ncom-progress-wrap {
  margin-bottom: 28px;
}

.ncom-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 14px;
  color: rgba(45, 45, 45, .65);
}

.ncom-progress-bar {
  width: 100%;
  height: 8px;
  background: var(--ncom-border);
  border-radius: 999px;
  overflow: hidden;
}

.ncom-progress-value {
  height: 100%;
  background: var(--ncom-primary-hover);
  transition: width .25s ease;
}

.ncom-step h3 {
  margin: 0 0 24px;
  font-size: 28px;
  line-height: 1.2;
}

.ncom-options {
  display: grid;
  gap: 14px;
}

.ncom-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border: 2px solid var(--ncom-border);
  border-radius: 16px;
  background: var(--ncom-option-bg);
  color: var(--ncom-modal-text);
  font-size: 18px;
  text-align: left;
  cursor: pointer;
  transition: all .2s ease;
}

.ncom-option:hover {
  border-color: var(--ncom-primary);
  background: var(--ncom-option-hover-bg);
}

.ncom-option-arrow {
  color: var(--ncom-primary);
  font-size: 24px;
  line-height: 1;
}

.ncom-fields {
  display: grid;
  gap: 18px;
}

.ncom-field {
  display: grid;
  gap: 8px;
}

.ncom-field span {
  font-size: 15px;
  font-weight: 600;
}

.ncom-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 2px solid var(--ncom-border);
  border-radius: 14px;
  font-size: 16px;
  color: var(--ncom-modal-text);
  background: var(--ncom-input-bg);
}

.ncom-field input:focus {
  outline: none;
  border-color: var(--ncom-primary);
}

.ncom-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 20px;
}

.ncom-back {
  border: 0;
  background: transparent;
  color: var(--ncom-primary);
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
}

.ncom-submit {
  flex: 1;
  padding: 16px 20px;
  border: 0;
  border-radius: 14px;
  background: var(--ncom-primary-hover);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease;
}

.ncom-submit[disabled] {
  opacity: .7;
  cursor: not-allowed;
}

.ncom-error {
  margin-top: 12px;
  color: var(--ncom-error);
  font-size: 14px;
}

.ncom-success {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 18px;
  background: var(--ncom-success-bg);
}

.ncom-success h3 {
  margin: 0;
  font-size: 28px;
}

.ncom-success p {
  margin: 0;
  color: var(--ncom-modal-muted);
  line-height: 1.6;
}


.ncom-actions-success {
  margin-top: 8px;
}

.ncom-success-note {
  margin: 0;
  font-size: 14px;
  color: var(--ncom-modal-muted);
}

body.ncom-modal-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .ncom-modal {
    padding: 22px;
    border-radius: 20px;
  }

  .ncom-header h2 {
    font-size: 28px;
  }

  .ncom-header p {
    font-size: 16px;
  }

  .ncom-step h3,
  .ncom-success h3 {
    font-size: 24px;
  }

  .ncom-option {
    font-size: 16px;
    padding: 18px;
  }

  .ncom-actions {
    flex-direction: column;
    align-items: stretch;
  }
}


.calendly-overlay,
.calendly-popup,
.calendly-popup-close,
.calendly-badge-widget {
  z-index: 2147483000 !important;
}
